langchain-openai is not compatible with parameter Settings in ollama, such as num_ctx. Therefore, you need to create model instances using langchain-ollama (cherry picked from commit 42ae7b443d7320ace464e9a12abcbb48d7fabc9c) |
||
|---|---|---|
| .. | ||
| embedding.py | ||
| image.py | ||
| llm.py | ||
| reranker.py | ||