main.py 100 B

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