Skip to content
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

Provide an Open AI API-compatible API component :-) #22

Open
ChristianWeyer opened this issue Sep 16, 2023 · 2 comments
Open

Provide an Open AI API-compatible API component :-) #22

ChristianWeyer opened this issue Sep 16, 2023 · 2 comments

Comments

@ChristianWeyer
Copy link

ChristianWeyer commented Sep 16, 2023

I love this sample here 👏🏼:
https://github.com/fermyon/ai-examples/tree/main/openapi-rs

Wouldn't it be even greater if we had an Open AI Chat completions API-compatible API component?
Then, we could use any tools out there that support Open AI.

.cc @jpflueger

@jpflueger
Copy link
Contributor

Yes! This is something I'm actively working on in a different repository jpflueger/spin-llm-prompts. Right now I'm still adjusting the API to be compatible. Once I get the completions component in there to be closer to parity I'll update the sample here as well and hopefully publish it as a re-usable component like the static fileserver.

@average-bit
Copy link

Would also be great to expand this to the mistral gguf models from TheBloke on hugginface

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

No branches or pull requests

3 participants