Questions tagged [ollama]
2 questions
2
votes
1 answer
LangChain and Ollama endpoint: why LLM is considered obsolete when it's the only one that connect to the `/generate` endpoint?
Ollama has two endpoints: /api/chat and /api/generate.
As stated in this Ollama gitHub issue:
The /api/chat endpoint takes a history of messages and provides the next message in the conversation. This is ideal for conversations with history.
Theā¦
robertspierre
- 216
- 2
- 11