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

Support to local API model #106

Open
fcencio opened this issue Aug 24, 2023 · 1 comment
Open

Support to local API model #106

fcencio opened this issue Aug 24, 2023 · 1 comment

Comments

@fcencio
Copy link

fcencio commented Aug 24, 2023

Hi,

I've deployed a llamav2 locally, and it's exposed at localhost:5000/api/v1/generate
I cannot understand how to make this model availables on openpalyground. Is it possible to do this?

Thank you

@krrishdholakia
Copy link

Why not have it replace the openai.api_base?

You might need to change your query endpoint to being /chat/completions . Here's an openai proxy server template that might help - https://github.com/BerriAI/litellm/tree/main/proxy-server

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

2 participants