mirror of
https://github.com/kharonsec/ollama-python
synced 2026-04-25 15:14:55 +02:00
* Examples and README updates --------- Co-authored-by: fujitatomoya <tomoya.fujita825@gmail.com> Co-authored-by: Michael Yang <mxyng@pm.me>
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'])
|