-
Notifications
You must be signed in to change notification settings - Fork 178
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
can use function call ? #105
Comments
You will have to be a bit clearer, sorry |
There are some issues where I want the model to call a third-party http interface to get the results. |
Ollama doesn't have a specific feature which calls APIs for you, but you can set {"request":"location?ship=414096000"} or (if it doesn't need to make a request) {"message":"I don't need to use a third-party for that"} Then, when you receive a response, you can check if it has a For example, here's how a conversation could go.
|
@812781385 |
Install your example,but : |
This should work now for models that support tools, you may need to update to the most recent version of Ollama. Here is an example: And here are some models you can use: |
can use function call ?
The text was updated successfully, but these errors were encountered: