One-line replacement API for OpenAI, using OSS models
Top 47.2% on sourcepulse
GenossGPT provides a unified API to interact with various public and private Large Language Models (LLMs), including OpenAI, Anthropic, Llama V2, and HuggingFace models. It aims to simplify LLM integration by offering a one-line replacement for the OpenAI API, allowing developers to switch between different models with minimal code changes.
How It Works
GenossGPT acts as a proxy server, abstracting the complexities of interacting with diverse LLM APIs. It translates incoming requests into the format expected by the target LLM and returns the LLM's response in a standardized format, mimicking the OpenAI API structure. This approach facilitates easy model swapping and experimentation without altering application logic.
Quick Start & Requirements
pip install genoss
http://localhost:4321/docs
.poetry install
is recommended.Highlighted Details
Maintenance & Community
The project is actively developed with contributions from multiple individuals. Community engagement is encouraged via issues and pull requests.
Licensing & Compatibility
Licensed under the Apache2 License, permitting commercial use and integration with closed-source applications.
Limitations & Caveats
Currently, only GPT4ALL models are officially supported. The project is in a prepublish state, and additional models are planned for future releases. The installation process for GPT4ALL models involves compiling from source, which may require additional development tools.
1 year ago
Inactive