120 Commits

Author SHA1 Message Date
h3l 284a853cc9 support callback handler to llm chain (#461)
* support callback handler to llm chain

* fix golint

---------

Co-authored-by: lvzhong <lvzhong@bytedance.com>
2023-12-28 15:17:37 -08:00
chyroc 99bb50d3c7 Feat: use chains callback as streaming func (#447) 2023-12-24 21:05:42 -08:00
chyroc 55f772c21a Docs: fix comment typo (#442)
* Docs: fix comment typo

* docs: a llm -> an LLM

---------

Co-authored-by: Travis Cline <travis.cline@gmail.com>
2023-12-20 19:57:37 +00:00
Bruce Bai eb17026117 test: fix api chain test error (#414) (#434) 2023-12-19 13:48:48 -08:00
Aksel 543f504f47 agents: add parser error handler (#345)
* agents: add ParserErrorHandler

* chains: return result when error in chain

* agents: fix lint
2023-12-04 22:38:29 -08:00
Ismail 80f9027554 fix: golangci-lint v1.55 errors 2023-12-04 22:38:28 -08:00
Amir Karimi 225316c84e chains: added constitutional chain. refactored few shot prompt (#316) 2023-12-04 22:38:28 -08:00
Edocevol 2d98503482 remove last separator (#286) 2023-09-22 10:17:08 -07:00
Edocevol fd158b5de8 add chain call option: WithTopP (#288) 2023-09-22 10:16:45 -07:00
Travis Cline c5b84faa54 callbacks: Include context 2023-08-25 19:14:02 -07:00
FluffyKebab b2dee18c4b callbacks: nolint forbidigo in logger 2023-08-25 19:00:43 -07:00
FluffyKebab 199046e5b7 callbacks: improve logging formating and docs 2023-08-25 19:00:21 -07:00
FluffyKebab 5e3175bf25 add option for callbacks when calling chain 2023-08-25 19:00:21 -07:00
Nikola Zivkovic 16e3fd2870 Merge branch 'main' into embeddings-azure-openai 2023-08-17 19:55:05 +02:00
zivkovicn fbf9de856c embeddings-azure-openai | lint 2023-08-17 19:50:43 +02:00
zivkovicn 508171f161 embeddings-azure-openai | fixing issues 2023-08-17 19:45:52 +02:00
edocevol 36bfa3c156 memory: add context support 2023-08-14 12:45:54 +08:00
Travis Cline 8f101609f6 Merge pull request #225 from nidzola/refactor-and-fix-openaichat
embeddings & llm: Creating the actual embeddings for the OpenAI chat, splitting llms for openai
2023-07-30 19:48:23 -07:00
Simun Strukan b143f95f73 Added GoDoc for methods 2023-07-30 01:29:39 +02:00
Simun Strukan 9d3c1fe708 Testing and small var rename 2023-07-30 00:59:47 +02:00
zivkovicn a72afd2b64 refactor-and-fix-openaichat | adding one more test 2023-07-28 23:28:29 +02:00
zivkovicn d204242b93 refactor-and-fix-openaichat | lint 2023-07-28 22:58:55 +02:00
Simun Strukan 4a1288675c Extended API chain to support full reange of CRUD http methods 2023-07-28 22:55:13 +02:00
zivkovicn 223321b9e9 feature-conversational-retrieval-interface-fix | refactor 2023-07-25 16:56:48 +02:00
zivkovicn 362348783b feature-conversational-retrieval-interface-fix | cp 2023-07-25 16:37:36 +02:00
zivkovicn b0fd480206 feature-conversational-retrieval-interface-fix | refactor 2023-07-25 16:35:59 +02:00
Tobi b2aa463a6c chains: add memory support for sequential chain 2023-07-24 23:30:28 +01:00
zivkovicn a39c1511df Merge branch 'main' into feature-adding-max-token-size-memory 2023-07-24 19:57:24 +02:00
zivkovicn b1428d6f7f feature-adding-max-token-size-memory | cp 2023-07-24 18:56:40 +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
Tobi a1c677d8fa chains: improve sequential chain init error messages 2023-07-23 23:25:22 +01:00
Travis Cline c5715c5263 Merge pull request #208 from nidzola/feat-conversational-retrieval-qa
feat: Feature request: Conversational Retrieval QA
2023-07-23 11:44:59 -07:00
Travis Cline 24b2a8926a Merge pull request #202 from Andyyesiyu/feat-azure_llm
llm: add azure api support
2023-07-23 11:35:34 -07:00
Tobi 8e30b11bdb chains: use appropriate testLanguageModel type 2023-07-21 14:33:34 +01:00
Tobi c096f01be6 chains: minor refactoring 2023-07-21 13:24:13 +01:00
Tobi 0eccd5992a chains: simplesequentialchain and sequential chain implementation 2023-07-21 13:24:13 +01:00
zivkovicn 5072871673 feat-conversational-retrieval-qa | cp 2023-07-20 20:19:54 +02:00
zivkovicn 011de4f877 feat-conversational-retrieval-qa | lint 2023-07-20 20:18:09 +02:00
zivkovicn 781738510a feat-conversational-retrieval-qa | tests 2023-07-20 20:14:53 +02:00
zivkovicn 7efa74ffe2 feat-conversational-retrieval-qa | tests 2023-07-20 19:47:10 +02:00
zivkovicn 8e86c22c67 feat-conversational-retrieval-qa | cp 2023-07-20 16:21:11 +02:00
Andy Ye dec4fa611c fix: Fix golang ci lints problems 2023-07-18 20:30:43 +08:00
Andy Ye e340b0ecf9 feat: Add azure api support 2023-07-18 11:40:37 +08:00
Travis Cline b593b11f6b Merge pull request #190 from leftfire/main
Reintroduce the ChainOption parameter
2023-07-13 13:16:09 -07:00
Travis Cline 319dfd8bc7 Merge pull request #182 from baoist/feat/map-rerank-chain
feature: map rerank chain
2023-07-13 13:09:00 -07:00
Brad Olson 74579658cd fix: use llm chain output key instead of loop 2023-07-13 07:41:37 -04:00
FluffyKebab edf821ab08 chains/transform: write comment 2023-07-12 12:30:16 +02:00
FluffyKebab 2d59734e59 chains: add transform chain 2023-07-12 12:25:08 +02:00
leftfire@hotmail.com d33fca14e7 Reintroduce the ChainOption parameter 2023-07-12 16:23:04 +08:00