Commit Graph

  • 06ed2fba82 all: lint Eli Bendersky 2024-01-17 05:48:50 -08:00
  • 51af7083b1 ernie: implement GenerateContent Eli Bendersky 2024-01-17 05:42:57 -08:00
  • 2240607573 cohere: implement GenerateContent Eli Bendersky 2024-01-17 05:39:19 -08:00
  • dd74cc7d6d anthropic: implement GenerateContent and Model Eli Bendersky 2024-01-17 05:36:15 -08:00
  • e1a90e03f0 vertexai: remove chat implementation since we now have Model Eli Bendersky 2024-01-17 05:33:50 -08:00
  • 9fee6b6a19 vertexai: implement GenerateContent Eli Bendersky 2024-01-17 05:33:12 -08:00
  • b31c6f4690 localllm: implement Model with GenerateContent Eli Bendersky 2024-01-17 05:22:18 -08:00
  • ab1fc1e079 huggingface: add GenerateContent and implement Model Eli Bendersky 2024-01-17 05:18:53 -08:00
  • 537d9ea3cb googleai: add Call in terms of GenerateContent Eli Bendersky 2024-01-17 05:09:46 -08:00
  • da53f691bd ollama: merge chat into llm, implement Call with GenerateContent Eli Bendersky 2024-01-17 05:08:56 -08:00
  • c9a7d613c1 openai: use CallLLM to implement Call Eli Bendersky 2024-01-17 05:04:16 -08:00
  • 97397f1441 Move openai chat client functionality to its LLM, remove separate Chat Eli Bendersky 2024-01-17 04:51:53 -08:00
  • 4097eea2f4 chore: include postgres module dependency Manuel de la Peña 2024-01-16 23:48:39 -05:00
  • 6cc76ba0c0 Merge branch 'main' into patch-1 Carson Kahn 2024-01-16 18:21:42 -08:00
  • 405efead69 Add new callback for GenerateContent start and end Eli Bendersky 2024-01-16 05:52:39 -08:00
  • a77e095cd5 feat: add Postgres tests using testcontainers-go Manuel de la Peña 2024-01-16 17:22:54 -05:00
  • 766a89d055 feat: add MySQL tests using testcontainers-go Manuel de la Peña 2024-01-16 17:17:22 -05:00
  • 2335fa4877 googleai: fix streaming termination (#515) Eli Bendersky 2024-01-16 13:57:01 -08:00
  • 462a6dcac6 Merge pull request #512 from tmc/gcfunc Travis Cline 2024-01-16 11:33:35 -08:00
  • 219ac6ea25 docs: add example to embeddings Hao Chun Chang 2024-01-16 20:54:37 +08:00
  • ce80bbd5ee Fix lint Eli Bendersky 2024-01-15 19:06:07 -08:00
  • aaa57935b3 Add function invocation into GenerateContent responses Eli Bendersky 2024-01-15 17:37:00 -08:00
  • cc800a3d12 fix after merge lujingxuan 2024-01-11 11:23:56 +08:00
  • d369437c2b Merge remote-tracking branch 'origin/main' into feat_add_openai_function_agent lujingxuan 2024-01-11 11:14:13 +08:00
  • 6b54a27ad8 delete ErrInvalidLLMGenerationsMessageReturn lujingxuan 2024-01-11 11:04:09 +08:00
  • 3eea23a3c3 LangChain Python deserves credit Carson Kahn 2024-01-10 15:07:20 -08:00
  • 6bcb6356b1 ollama: added WithHttpClient option Ruslan Karimov 2024-01-10 00:22:34 +02:00
  • 070ff5dffe vectorstores: pgvector add option WithConn Abirdcfly 2024-01-08 13:58:20 +08:00
  • d81d972f9b googleai: implement streaming and some generation options (#504) Eli Bendersky 2024-01-09 06:39:02 -08:00
  • d098fea2b1 Test streaming support in GenerateContent in openai and ollama (#503) Eli Bendersky 2024-01-08 17:54:44 -08:00
  • 461e12bd5f ollama: implement Model interface with GenerateContent (#502) Eli Bendersky 2024-01-08 16:59:23 -08:00
  • 869463f064 Add multi-turn tests for new GenerateContent capabilities (#501) Eli Bendersky 2024-01-08 09:07:44 -08:00
  • bab173f0f2 Extend Model / GenerateContent interface to support multi-content chats (#500) Eli Bendersky 2024-01-08 07:29:22 -08:00
  • a6d1888f4f googleai: set up options and embeddings (#498) Eli Bendersky 2024-01-06 23:01:21 -08:00
  • 44f2436393 ollama: Clean up Ollama options (#496) Eli Bendersky 2024-01-06 22:44:31 -08:00
  • 3aaeaa3a7d Add Ollama test and remove custom prompt for chat (#495) Eli Bendersky 2024-01-06 22:32:52 -08:00
  • 794fee70de feature: add new gemini llm supporting new experimental interface (#497) mrothroc 2024-01-06 05:37:38 -08:00
  • a893441563 textsplitter: refactor splitInline in markdown_splitter Daniel Bos 2024-01-05 15:05:28 +08:00
  • 7f1633c519 textsplitter: enhance markdown splitter tests Daniel Bos 2024-01-05 14:21:54 +08:00
  • c133a0e463 textsplitter: add options for rendering code blocks and reference links Daniel Bos 2024-01-05 14:20:31 +08:00
  • 6cf86c22f4 textsplitter: support reference links in markdown_splitter Daniel Bos 2024-01-05 11:54:50 +08:00
  • 00d75d88b3 textsplitter: render code block, fence, and hr in markdown_splitter Daniel Bos 2024-01-05 11:34:13 +08:00
  • 8612e3a30c fix unmarshalling of chatmessage (#491) ctrlaltdel121 2024-01-04 15:19:40 -05:00
  • 05219dd263 Clean up GeneratePrompt -- unused code, and simplify caller (#489) Eli Bendersky 2024-01-04 06:58:39 -08:00
  • 4c256ad35d Add GenerationInfo to GenerateContent (#488) Eli Bendersky 2024-01-04 06:02:42 -08:00
  • a0ce29df15 merge chyroc 2024-01-04 15:57:27 +08:00
  • 1bea996677 examples: Update to v0.1.3 Travis Cline 2024-01-03 20:24:29 -08:00
  • c56c33df7e chore: bump chroma-go to latest version (#485) v0.1.3 bjwswang 2024-01-04 12:17:41 +08:00
  • 6250098712 Remove use of GetNumToken from example (followup on #483) (#484) Eli Bendersky 2024-01-03 12:35:46 -08:00
  • b5c16493c2 Clear out GetNumTokens (#483) Eli Bendersky 2024-01-03 12:35:26 -08:00
  • 8761cce5e5 support agent finish callback (#476) h3l 2024-01-03 15:40:28 +08:00
  • 1df94adc25 Fix: Add error handle for Chat Generate (#481) nilezhou 2024-01-03 15:39:38 +08:00
  • e498d12eb4 Docs: fix jinja typo (#478) chyroc 2024-01-03 03:51:14 +08:00
  • 434f8f4206 GenerateContent - initial experimental API with OpenAI implementation (#480) Eli Bendersky 2024-01-02 10:33:34 -08:00
  • b4dec9f168 Feat: add f-string chyroc 2024-01-02 19:43:24 +08:00
  • 1e8a245501 format lujingxuan 2024-01-02 15:11:47 +08:00
  • d4725acf30 format lujingxuan 2024-01-02 15:07:25 +08:00
  • 135207caa3 fix initialize lujingxuan 2024-01-02 15:02:31 +08:00
  • cda1c2f278 embeddings: Fix issue caused by new implementation of BatchTexts function (#475) Jay Lalakiya 2024-01-02 07:09:07 +05:30
  • d7ed9806ca Merge remote-tracking branch 'origin/main' into feat_add_openai_function_agent lujingxuan 2023-12-30 23:39:12 +08:00
  • 4287e72129 format agent_scratchpad and error lujingxuan 2023-12-30 23:38:11 +08:00
  • f89cec5ef9 Remove unused schema types (#473) Eli Bendersky 2023-12-30 04:27:44 -10:00
  • 791e680123 Remove duplicated and unused LLMResult type from schema (#472) Eli Bendersky 2023-12-30 04:22:35 -10:00
  • 536f16c12a textsplitter: handle singular markdown tokens in markdown_splitter (#467) Daniel Bos 2023-12-30 19:57:23 +08:00
  • eeadc49c70 agents: fixup comment Travis Cline 2023-12-29 13:28:17 -08:00
  • 2e81b2bdbd vectorstores: Add azureaisearch (#462) Thomas 2023-12-29 23:25:24 +02:00
  • 85e33db166 Run go.mod tidy to make IDE happy (#470) Eli Bendersky 2023-12-29 11:15:43 -10:00
  • fc11926d0c vectorstores: Add opensearch (#464) Thomas 2023-12-29 22:17:17 +02:00
  • 130eec9f4a Merge pull request #469 from tmc/fixup-jinja2 Travis Cline 2023-12-29 12:14:28 -08:00
  • 214f551be8 templates: Fix up gonja/jinja2 handling Travis Cline 2023-12-29 12:11:13 -08:00
  • 1c7cb8de41 Merge pull request #468 from tmc/langmodel Travis Cline 2023-12-29 11:16:30 -08:00
  • 435467ab33 Resolve lint complaints and gofumpt Eli Bendersky 2023-12-29 09:56:26 -08:00
  • 2ed43f054f Remove GeneratePrompt methods as they're no longer needed Eli Bendersky 2023-12-29 09:50:06 -08:00
  • ab14227446 Remove mentions of the LanguageModel interface Eli Bendersky 2023-12-29 09:44:57 -08:00
  • 93cea28bfe Refactor usage of LanguageModel out Eli Bendersky 2023-12-29 09:35:52 -08:00
  • eb58836512 Skip tests that are currently failing (#415) (#466) Eli Bendersky 2023-12-28 19:02:13 -10:00
  • 693bd1eb59 pgvector: return error directly Travis Cline 2023-12-28 17:28:00 -08:00
  • 5c345a14a7 vectorstores: Add ids to the return when adding documents in any vectorstore (#448) Jay Lalakiya 2023-12-29 06:41:54 +05:30
  • 310afd2c66 promps: move prompts to embedded text files (#451) chyroc 2023-12-29 08:55:43 +08:00
  • a39989164e examples: update to v0.1.2 Travis Cline 2023-12-28 16:24:36 -08:00
  • d8b25bd69e examples: Update to pre-release tag v0.1.2 Travis Cline 2023-12-28 16:20:04 -08:00
  • 59f2be62ed callbacks: Add other handlers to CombingHandler v0.1.2-alpha.1 Travis Cline 2023-12-28 16:18:21 -08:00
  • b0fbdd0023 chore: Update go.mod, go.sum v0.1.2-alpha.0 Travis Cline 2023-12-28 16:13:48 -08:00
  • 923373ff0c Feat: support combine multi callbacks (#446) chyroc 2023-12-29 07:26:42 +08:00
  • 9cca17b68f Merge branch 'main' into main v0.1.2-pre v0.1.2-alpha Travis Cline 2023-12-28 15:25:44 -08:00
  • affaa87bdd memory: add ConversationWindowBuffer (#411) Abirdcfly 2023-12-29 07:24:35 +08:00
  • 0f24bf1d9f Feat: support render prompt template with jinjia2 (#450) chyroc 2023-12-29 07:23:51 +08:00
  • 1ee33af9af vectorstores: fix weaviate not return score from SimilaritySearch (#454) Abirdcfly 2023-12-29 07:22:51 +08:00
  • 534f75725e Feat: callbacks.Handler support handle error (#457) chyroc 2023-12-29 07:22:05 +08:00
  • 74527d34b3 add StopReason field in Generation struct. (#458) rm me020523 2023-12-29 07:18:52 +08:00
  • 284a853cc9 support callback handler to llm chain (#461) h3l 2023-12-29 07:17:37 +08:00
  • 580395f9d4 fix: avoid panic when call openai.NewChat() and openai.New() (#460) h3l 2023-12-29 07:17:05 +08:00
  • 3b4068e2f1 Merge branch 'tmc:main' into main Jay Lalakiya 2023-12-27 11:58:03 +05:30
  • 377594f85a format lujingxuan 2023-12-26 18:04:57 +08:00
  • 768d4dcd25 format lujingxuan 2023-12-26 18:01:29 +08:00
  • 644afc41c8 format lujingxuan 2023-12-26 17:55:53 +08:00
  • fbc4ed6c9e format lujingxuan 2023-12-26 17:54:01 +08:00
  • 9dd6da65e6 add openai functions agent lujingxuan 2023-12-26 17:29:14 +08:00
  • 99bb50d3c7 Feat: use chains callback as streaming func (#447) chyroc 2023-12-25 13:05:42 +08:00
  • e98eb1703a vectorstores: fix chroma not return score from SimilaritySearch (#449) Abirdcfly 2023-12-25 10:17:23 +08:00