35 Commits

Author SHA1 Message Date
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
Ismail 80f9027554 fix: golangci-lint v1.55 errors 2023-12-04 22:38:28 -08:00
zivkovicn a2d46375a2 chat-history-clear-method | lint 2023-08-18 15:57:37 +02:00
zivkovicn c1cd7f2426 chat-history-clear-method | adding context to match all other methods 2023-08-18 15:57:04 +02:00
edocevol cb3a6d5ac9 add context support for memory 2023-08-14 12:55:00 +08: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 5f6a88149e feature-adding-max-token-size-memory | lint 2023-07-24 19:57:52 +02:00
zivkovicn a39c1511df Merge branch 'main' into feature-adding-max-token-size-memory 2023-07-24 19:57:24 +02:00
zivkovicn f3c02d8226 feature-adding-max-token-size-memory | cp 2023-07-24 18:59:59 +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 0b144d4f90 Merge branch 'main' into feature-adding-max-token-size-memory 2023-07-24 17:26:20 +02:00
zivkovicn bc1ac3e00a feature-adding-max-token-size-memory | cp 2023-07-24 17:25:57 +02:00
Travis Cline cdc57b5af6 langchaingo: Refactor and support function calling 2023-07-23 15:27:29 -07:00
Travis Cline 311c3ee65e memory: Re-export ChatHistory 2023-07-23 14:16:47 -07:00
zivkovicn f6048c373a feat-adding-memory-buffer-options | lint 2023-07-21 18:04:47 +02:00
zivkovicn 9d48143d52 feat-adding-memory-buffer-options | private prop 2023-07-21 18:04:26 +02:00
zivkovicn 6710273eac feat-adding-memory-buffer-options | updating memory buffer options 2023-07-21 17:58:17 +02:00
Taiwo Hassan Yusuf 4d7a8e246e Added package level comments to codebase 2023-06-19 09:35:48 +01:00
FluffyKebab 454460a438 memory: rename files 2023-04-28 10:09:51 +02:00
FluffyKebab 21d00ddf5c exp: remove output_parsers and text_splitters 2023-04-28 09:37:54 +02:00
FluffyKebab f6a8bad299 memory: remove exp version 2023-04-26 22:23:23 +02:00
FluffyKebab 1c1c35c25d memory: rename empty and add comments 2023-04-25 22:18:33 +02:00
FluffyKebab 56da596a38 memory: fix memory variables in buffer 2023-04-25 13:05:58 +02:00
FluffyKebab f196e50502 memory: add clear in chat message history 2023-04-25 12:58:56 +02:00
FluffyKebab be9532d0e2 memory: add static error 2023-04-25 12:45:12 +02:00
FluffyKebab 2295b738c9 memory: split lines add static error 2023-04-25 12:33:13 +02:00
FluffyKebab 64045d5d7a memory: add version out of exp 2023-04-25 11:39:41 +02:00
Travis Cline 0c64c65896 exp: Move recent contributions into exp subdir for now 2023-04-17 21:13:29 -07:00
FluffyKebab 149fc5e869 Add chat template, template interface and test
Introduce ‘Prompts.ChatTemplate’ as a version of ‘ChatPromptTemplate’
Add struct ‘prompts.Message’ comparable to ‘BaseMessageStringPromptTemplate’ and all subclasses in the typeScript version
Add interface for prompt templates with the name ‘prompts.Template’
move chat message structs and interface to schema to remove dependence on the memory package
Add empty memory as default value for memory in the LLMChain
Add test for ‘prompts.ChatTemplate’
2023-04-06 12:39:53 +02:00
FluffyKebab 5978624eb8 Add output parsers, prompt templates, memory, llmChain and example
- Add an interface for output parsers
- Implement a structured parser that implements this interface
- Add prompt templates with f-strings
- Add a memory interface analogous to the abstract class BaseMemory in the JavaScript implementation
- Implement a chain interface and a function for calling chains
- Add the LLM chain as a chain
- Add tests for the changes made
2023-04-04 22:56:52 +02:00