You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add OllamaLLM and OllamaEmbeddings classes using the ollama python client
* Try removing import
* :(
* Add tests + reformat import in ollama embeddings for consistency with all other imports
* Fix after merge
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
- Integrated json-repair package to handle and repair invalid JSON generated by LLMs.
7
7
- Introduced InvalidJSONError exception for handling cases where JSON repair fails.
8
8
- Ability to create a Pipeline or SimpleKGPipeline from a config file. See [the example](examples/build_graph/from_config_files/simple_kg_pipeline_from_config_file.py).
9
+
- Added `OllamaLLM` and `OllamaEmbeddings` classes to make Ollama support more explicit. Implementations using the `OpenAILLM` and `OpenAIEmbeddings` classes will still work.
9
10
10
11
## Changed
11
12
- Updated LLM prompts to include stricter instructions for generating valid JSON.
0 commit comments