10 Commits

Author SHA1 Message Date
Travis Cline 213b9dca74 examples: Update langchaingo to v0.1.1 (#445) 2023-12-20 21:40:03 +00:00
Travis Cline 1c8e491300 examples: Use v0.1.0 2023-12-12 20:42:59 -08:00
Travis Cline b0c827511c examples: Update langchaingo version in examples 2023-12-12 20:12:21 -08:00
Travis Cline aee820e3bb ollama: Add use of new chat endpoint (#406)
* ollama: Add use of new chat endpoint
2023-12-13 04:08:14 +00:00
Eli Bendersky 4bb28402cf embeddings: use NewEmbedder for Ernie embeddings (#392)
For #379

Updates examples go.mod because it's used in an example
2023-12-04 22:38:29 -08:00
Eli Bendersky 7dd3fd2a1c embeddings: new NewEmbedder for Ollama embeddings
The only use of Ollama embeddings is an example - update it too and
go.mod versions
2023-12-04 22:38:29 -08:00
Eli Bendersky fc033c3471 embeddings: use NewEmbedder for OpenAI embeddings (#385)
This is the first use of the refactoring made in #374 -- removing the
embeddings/openai directory entirely, since it can be now implemented
with NewEmbedder without duplicating code. The test was moved one
dir down and works with the new setup.

This is a model that can be used to similarly refactor the other
embeddings/* subdirs.

This is a large PR because it also updates example go.mods

For #379
2023-12-04 22:38:29 -08:00
Travis Cline cda53c9ed7 examples: fix milvus example to not ask to run ollama (#381) 2023-12-04 22:38:29 -08:00
Travis Cline fa74369a81 examples: update examples (#380) 2023-12-04 22:38:29 -08:00
sxk 1156076de1 LLM: Add support for Ernie chat_completions (#355)
* LLM: Add support for Ernie chat_completions

The current implementation lacks support for Ernie chat_completions, so I've added code for this. The committed changes include basic stream calls, function calls, and other capabilities.
2023-12-04 22:38:29 -08:00