mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
how to make batch request with python client? #130
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rxy1212 on GitHub (Aug 14, 2024).
I notice that ollama supports to handle multiple requests simultaneously for a single model. But how to make multiple requests with ollama-python?
@mxyng commented on GitHub (Nov 5, 2024):
There is an async client you can use for concurrent requests as long as the server is configured for parallel requests