mirror of
https://github.com/ollama/ollama-python.git
synced 2026-08-01 02:57:47 +00:00
5 lines
114 B
Python
5 lines
114 B
Python
from ollama import embed
|
|
|
|
response = embed(model='llama3.1', input='Hello, world!')
|
|
print(response['embeddings'])
|