mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-28 00:57:46 +00:00
* Examples and README updates --------- Co-authored-by: fujitatomoya <[email protected]> Co-authored-by: Michael Yang <[email protected]>
5 lines
114 B
Python
5 lines
114 B
Python
from ollama import embed
|
|
|
|
response = embed(model='llama3.2', input='Hello, world!')
|
|
print(response['embeddings'])
|