mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-17 10:17:46 +00:00
update ollama test file
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
|
||||
# asyncio.run(test_ollama_aembeddings())
|
||||
|
||||
# def test_ollama_embeddings():
|
||||
# litellm.set_verbose = True
|
||||
# input = "The food was delicious and the waiter..."
|
||||
# response = litellm.embedding(model="ollama/mistral", input=input)
|
||||
# print(response)
|
||||
|
||||
# test_ollama_embeddings()
|
||||
|
||||
# def test_ollama_streaming():
|
||||
# try:
|
||||
# litellm.set_verbose = False
|
||||
|
||||
Reference in New Issue
Block a user