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

No API Documentation #265

Closed
josiahbryan opened this issue Oct 9, 2024 · 5 comments
Closed

No API Documentation #265

josiahbryan opened this issue Oct 9, 2024 · 5 comments

Comments

@josiahbryan
Copy link
Contributor

This was billed as "ollama compatible", but when I run ramallama serve -p 11434 llama3.2 - my client code that works with ollama does NOT work (posting to /api/chat returns 404, and I see the POST hit ramallama in the console as well)

Where's API documentation for the actual API served by ramallama? 🙏

@ericcurtin
Copy link
Collaborator

We are using upstream llama.cpp server by default:

https://github.com/ggerganov/llama.cpp/tree/master/examples/server

and it does say on that page:

looking for feedback and contributors

But there's also a "--runtime" flag, where the intent is switchable servers, vllm is one that we will support in future, but it is only implemented in --nocontainer mode right now so one must set up vllm themselves

@josiahbryan
Copy link
Contributor Author

josiahbryan commented Oct 9, 2024 via email

@rhatdan
Copy link
Member

rhatdan commented Oct 9, 2024

Care to open a PR to make this point in the README.md and potentially in the ramalama-serve.1.md file.

@josiahbryan
Copy link
Contributor Author

Finally had a free minute to fork and PR - sorry it took so long. PR is up at: #274

@josiahbryan
Copy link
Contributor Author

Thanks for merging the PR! I'll close this issue now. Cheers!

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