2023-08-09 11:49:22 -07:00
|
|
|
from langchain.llms import Ollama
|
2023-12-22 09:10:41 -08:00
|
|
|
|
2024-11-25 01:06:22 +01:00
|
|
|
input = input("What is your question?\n> ")
|
2024-09-25 11:11:22 -07:00
|
|
|
llm = Ollama(model="llama3.2")
|
2024-11-25 01:06:22 +01:00
|
|
|
res = llm.invoke(input)
|
2023-08-09 11:49:22 -07:00
|
|
|
print (res)
|