Skip to content

OpenAI Compatible Endpoint using Genie SDK#84

Open
hemangsrr wants to merge 5 commits into
qualcomm:mainfrom
hemangsrr:main
Open

OpenAI Compatible Endpoint using Genie SDK#84
hemangsrr wants to merge 5 commits into
qualcomm:mainfrom
hemangsrr:main

Conversation

@hemangsrr
Copy link
Copy Markdown

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>
@mestrona-3
Copy link
Copy Markdown

Hi @hemangsrr, thank you very much for the PR! This is super cool, we've been thinking about an app like this for a bit. We'll have to sort through some logistics about how we'd take this contribution and test out your PR. Give us a little bit to get back to you here!

@hemangsrr
Copy link
Copy Markdown
Author

Hi @mestrona-3 any updates on this?

@qaihm-bot qaihm-bot closed this Nov 7, 2025
@gustavla
Copy link
Copy Markdown

Hi @hemangsrr, really sorry this has taken us a long time to look at. We have been ramping up our engineering resources on the apps, so someone should be able to look at this soon. This is definitely an app we have been thinking about and would like to add, and we will evaluate if your contribution is something we can use and commit to supporting. Really appreciate the contribution!

So, give us a bit more time here 🙏. I will open the issue back up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants