14 Commits

Author SHA1 Message Date
Manuel de la Peña 8d4c17fc73 ci: migrate linting golangci-lint to v2.0.2 (#1217)
* chore: use slices and maps packages

* chore: skip embedded type

* chore: use fmt.Fprint instead

* chore: use switch

* chore: reorder imports

* chore: add white lines

* chore: use t.Setenv

* chore: excplicitly omit non used param

* chore: use t.TempDir

* chore: use maps package

* chore: migrate golangci-lint config file

Run: "golangci-lint migrate -c .golangci.yaml --skip-validation"

* chore: bump golangci-lint action to v7
2025-04-12 01:54:50 -07:00
Eli Bendersky 556a263188 schema: move Chat* types to llms (#757)
* schema: move Chat* types to llms

This prevents a circular dependency or code duplication when using Tools
2024-04-16 23:35:51 -07:00
Eli Bendersky cbab2c9b77 Deprecate the LLM interface
It's just an alias for Model now
2024-01-17 14:09:45 -08:00
Eli Bendersky b5c16493c2 Clear out GetNumTokens (#483)
It's not used and not implemented correctly for almost any model.

If this is deemed useful, it will be more correct to expose a model name
from the LLM (or cliena?) and then invoke a standalone function familiar
with non-openai models.

Re #482
2024-01-03 12:35:26 -08:00
Eli Bendersky ab14227446 Remove mentions of the LanguageModel interface 2023-12-29 09:44:57 -08:00
zivkovicn c1cd7f2426 chat-history-clear-method | adding context to match all other methods 2023-08-18 15:57:04 +02:00
edocevol 36bfa3c156 memory: add context support 2023-08-14 12:45:54 +08:00
zivkovicn 0fe23628a1 feature-conversational-retrieval-interface-fix | updating chat schema 2023-07-25 18:52:57 +02:00
zivkovicn 223321b9e9 feature-conversational-retrieval-interface-fix | refactor 2023-07-25 16:56:48 +02:00
zivkovicn b0fd480206 feature-conversational-retrieval-interface-fix | refactor 2023-07-25 16:35:59 +02:00
zivkovicn e8eb07492c feature-adding-max-token-size-memory | cp 2023-07-24 20:02:02 +02:00
zivkovicn c9480116aa feature-adding-max-token-size-memory | logic update 2023-07-24 18:49:38 +02:00
zivkovicn bf100cedd5 feature-adding-max-token-size-memory | lint 2023-07-24 17:52:47 +02:00
zivkovicn bc1ac3e00a feature-adding-max-token-size-memory | cp 2023-07-24 17:25:57 +02:00