We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, please notice that ollama api docs says it provides capabilities via /show endpoint.
https://github.com/ollama/ollama/blob/main/docs/api.md#response-26
But this python sdk does not support that. Without it, it's hard to determine which models have what kind of capabilities.
The text was updated successfully, but these errors were encountered:
Same. My workaround is to do something like this:
model_name = "codestral" model_info = ollama_client._request_raw("POST", "/api/show",json={"name":model_name}).json() print(model_info["capabilities"])
Sorry, something went wrong.
No branches or pull requests
Hi, please notice that ollama api docs says it provides capabilities via /show endpoint.
https://github.com/ollama/ollama/blob/main/docs/api.md#response-26
But this python sdk does not support that. Without it, it's hard to determine which models have what kind of capabilities.
The text was updated successfully, but these errors were encountered: