from langchain_community.llms import ollama llm=ollama(base_url='http://localhost:11434',model="llama 2") I'm encountering a TypeError: 'module' object is not callable error while attempting to use the Ollama LLM in VS Code on my Windows machine. The Ollama server is running successfully on localhost:11434, as verified through my terminal. My ollma LLM is working properly in terminal but giving this error when being called Please help with this...
Originally asked by Jatin Chawla on Stack Exchange (stackoverflow) (CC BY-SA 4.0).