main.py 102 B

1234
  1. from langchain.llms import Ollama
  2. llm = Ollama(model="llama2")
  3. res = llm.predict("hello")
  4. print (res)