Commit Graph

79 Commits

Author SHA1 Message Date
Charles Packer
f4168d6887 feat: create an abstract agent type + cleanup typing errors in memory.py (#1720) 2024-09-05 12:47:21 -07:00
Charles Packer
282e7b5289 refactor: use jinja2 templates for Memory.compile instead of writing Python code (#1687) 2024-09-03 15:44:52 -07:00
Charles Packer
ad3fa85985 fix: patch streaming API code (#1693) 2024-08-29 16:01:14 -07:00
Sarah Wooders
7f589eaf63 refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (#1579)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local>
Co-authored-by: Zack Field <field.zackery@gmail.com>
2024-08-16 19:53:21 -07:00
Charles Packer
e8813e5937 revert: #1659 (#1660) 2024-08-16 19:52:47 -07:00
Sarah Wooders
9601b53010 refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (cleaned up git history) (#1659)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local>
Co-authored-by: Zack Field <field.zackery@gmail.com>
Co-authored-by: robingotz <tug29225@temple.edu>
Co-authored-by: Vandracon <vandracon@yahoo.com>
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com>
Co-authored-by: Scott <scott@vysona.com>
Co-authored-by: Jonathan Ward <jonathan.ward7892@gmail.com>
Co-authored-by: madgrizzle <john@thehogans.name>
Co-authored-by: Carlo <284474102@qq.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Robin Goetz <35136007+goetzrobin@users.noreply.github.com>
2024-08-16 19:33:47 -07:00
Charles Packer
8b13d195ce chore: .gitattributes (#1511) 2024-07-04 14:45:35 -07:00
Sarah Wooders
9b15cbef39 feat: refactor CoreMemory to support generalized memory fields and memory editing functions (#1479)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com>
2024-07-01 11:50:57 -07:00
madgrizzle
e9c9513f84 fix: various breaking bugs with local LLM implementation and postgres docker. (#1355) 2024-05-12 11:53:46 -07:00
Sarah Wooders
877dd89f3c fix: refactor create(..) call to LLMs to not require AgentState (#1307)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-04-28 15:21:20 -07:00
Charles Packer
c59af308fe ci: update workflows (add autoflake and isort) (#1300) 2024-04-27 11:54:34 -07:00
Charles Packer
b35de11d96 chore: run autoflake + isort (#1279) 2024-04-20 11:40:22 -07:00
Charles Packer
703ea47d72 feat: add Google AI Gemini Pro support (#1209) 2024-04-10 19:43:44 -07:00
Sarah Wooders
e58ca5baed feat: add remaining Python client support for REST API routes + tests (#1160) 2024-03-17 17:34:37 -07:00
Charles Packer
e93d41b57a feat: add archival memory GET, POST, DEL to REST API (#1119) 2024-03-09 14:23:36 -08:00
Charles Packer
637cb9c2b4 feat: one time pass of autoflake + add autoflake to dev extras (#1097)
Co-authored-by: tombedor <tombedor@gmail.com>
2024-03-05 16:35:12 -08:00
tombedor
1097eee7ab fix: configure black (#1072) 2024-02-29 15:19:08 -08:00
Sarah Wooders
4cdd9ee01f feat: refactor loading and attaching data sources, and upgrade to llama-index==0.10.6 (#1016) 2024-02-18 16:57:01 -08:00
Sarah Wooders
4039763de5 feat: Store embeddings padded to size 4096 to allow DB storage of varying size embeddings (#852)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-19 16:03:13 -08:00
Charles Packer
da5a8cdbfe refactor: remove User LLM/embed. defaults, add credentials file, add authentication option for custom LLM backends (#835) 2024-01-18 16:11:35 -08:00
Sarah Wooders
2f7ccb1807 feat: Get in-context Message.id values from server (#851) 2024-01-18 12:42:55 -08:00
Tom Bedor
4240012b7b fix: fix typo in memory.py 2024-01-15 13:54:13 -08:00
Sarah Wooders
e4a18c374e passing tests 2024-01-10 20:20:16 -08:00
Sarah Wooders
2f84caa817 fix archival reference 2024-01-10 19:47:39 -08:00
Sarah Wooders
841d47c462 Remove usage of agent_config from agent.py 2024-01-09 11:22:39 -08:00
Sarah Wooders
54fa07da7a refactor!: Migrate users + agent information into storage connectors (#785)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-08 15:59:49 -08:00
Sarah Wooders
5de2557738 Fix bug with supporting paginated search for recall memory 2024-01-03 18:32:13 -08:00
Sarah Wooders
17506b7e90 Change Message data type to use tool format and create tool_call_id field 2024-01-03 18:03:11 -08:00
Charles Packer
b487366f21 Merge branch 'main' into cherry-pick-storage-refactor 2023-12-30 21:38:58 -08:00
Charles Packer
02a8a42cb0 fix: patch TEI error in load (#725)
* patch TEI error in load (now get different error)

* more hiding of MOCKLLM

* fix embedding dim

* refactored bandaid patches into custom embedding class return object patch
2023-12-27 22:09:29 -08:00
Sarah Wooders
5b991988f6 Deprecate list_loaded_data for listing sources, and use metadata DB instead 2023-12-26 18:47:16 +04:00
Sarah Wooders
3f8b9063a1 Run black formatter 2023-12-26 17:53:57 +04:00
Sarah Wooders
0c2bf05406 Bugfixes for get_all function and code cleanup to match main 2023-12-26 17:50:49 +04:00
Sarah Wooders
11096b20a4 Set get_all limit to None by default and add postgres to archival memory tests 2023-12-26 17:07:54 +04:00
Sarah Wooders
b64f3aca4b Support metadata table via storage connectors for data sources 2023-12-26 17:06:58 +04:00
Sarah Wooders
223e196da8 Support recall and archival memory for postgres
working test
2023-12-26 17:05:24 +04:00
Sarah Wooders
408df89c9c Add in memory storage connector implementation for refactored storage 2023-12-26 17:05:24 +04:00
Sarah Wooders
d041455375 Add data_types.py file for standard data types 2023-12-26 17:05:12 +04:00
Sarah Wooders
234a444090 Define refactored storage table types (archival, recall, documents,
users, agents)
2023-12-26 17:04:11 +04:00
Charles Packer
3ec8bb1465 fix: misc fixes (#700)
* add folder generation

* disable default temp until more testing is done

* apply embedding payload patch to search, add input checking for better runtime error messages

* streamlined memory pressure warning now that heartbeats get forced
2023-12-25 01:29:13 -08:00
Charles Packer
34e36ad8ef moved configs for hosted to https, patched bug in embedding creation (#685) 2023-12-23 11:40:07 -08:00
Charles Packer
4f23934e04 feat: Add new wrapper defaults (#656) 2023-12-21 17:05:38 +04:00
Charles Packer
52d4befdba fix runtime error (#586) 2023-12-05 23:01:37 -08:00
Sarah Wooders
6a155dfc90 Chroma storage integration (#285) 2023-12-05 17:49:00 -08:00
Sarah Wooders
2d23370930 Removing dead code + legacy commands (#536) 2023-11-30 13:37:11 -08:00
Sarah Wooders
b05b09439f Add user field for vLLM endpoint (#531) 2023-11-29 12:30:42 -08:00
Charles Packer
f4a1455c24 Clean memory error messages (#523)
* Raise a custom keyerror instead of basic keyerror to clarify issue to LLM processor

* remove self value from error message passed to LLM processor

* simplify error message propogated to llm processor
2023-11-27 16:41:42 -08:00
Sarah Wooders
ed356dd82c Add support for HuggingFace Text Embedding Inference endpoint for embeddings (#524) 2023-11-27 16:28:49 -08:00
Charles Packer
04e6d548c3 extra arg being passed causing a runtime error (#517) 2023-11-27 11:36:26 -08:00
Charles Packer
9989fd9a52 Fix #487 (summarize call uses OpenAI even with local LLM config) (#488)
* use new chatcompletion function that takes agent config inside of summarize

* patch issue with model now missing
2023-11-19 14:54:12 -08:00