8000 OpenAI Compatible Endpoint using Genie SDK by hemangsrr · Pull Request #84 · quic/ai-hub-apps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OpenAI Compatible Endpoint using Genie SDK #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hemangsrr
Copy link

Using the ChatApp as a base, I have created a C++ based ChatServer application which includes httplib to create a server that has a post endpoint at /v1/chat/completions, and accepts the messages array which is openai compatible
This server would help people deploy a genie app and integrate it into other tools or frameworks that primarily expect an openai compatible endpoint, such as agentic frameworks

Server Run:
Server running

Curl Reqeust example:
Example Curl Request

Signed-off-by: Hemang Mohan <hemangshornur@gmail.com>
Signed-off-by: Hemang Mohan <hemangshornur@gmail.com>
Signed-off-by: Hemang Mohan <hemangshornur@gmail.com>
Signed-off-by: Hemang Mohan <hemangshornur@gmail.com>
Signed-off-by: Hemang Mohan <hemangshornur@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0