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