forked from phoenix/litellm-mirror
docs
This commit is contained in:
parent
42171ff122
commit
b718df5e8f
1 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@ response = completion(
|
||||||
model="ollama/llama2",
|
model="ollama/llama2",
|
||||||
messages=[{ "content": "respond in 20 words. who are you?","role": "user"}],
|
messages=[{ "content": "respond in 20 words. who are you?","role": "user"}],
|
||||||
api_base="http://localhost:11434",
|
api_base="http://localhost:11434",
|
||||||
custom_llm_provider="ollama",
|
|
||||||
stream=True
|
stream=True
|
||||||
)
|
)
|
||||||
print(response)
|
print(response)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue