Commit Graph

26 Commits

Author SHA1 Message Date
Henry Heng ebc4641a60
Bugfix/Openai assistant thread not found (#3426)
fix openai assistant thread not found by exponential backoff retries
2024-10-29 15:26:59 +00:00
Henry Heng b02f279e9d
Feature/Code Interpreter (#3183)
* Base changes for ServerSide Events (instead of socket.io)

* lint fixes

* adding of interface and separate methods for streaming events

* lint

* first draft, handles both internal and external prediction end points.

* lint fixes

* additional internal end point for streaming and associated changes

* return streamresponse as true to build agent flow

* 1) JSON formatting for internal events
2) other fixes

* 1) convert internal event to metadata to maintain consistency with external response

* fix action and metadata streaming

* fix for error when agent flow is aborted

* prevent subflows from streaming and other code cleanup

* prevent streaming from enclosed tools

* add fix for preventing chaintool streaming

* update lock file

* add open when hidden to sse

* Streaming errors

* Streaming errors

* add fix for showing error message

* add code interpreter

* add artifacts to view message dialog

* Update pnpm-lock.yaml

---------

Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
2024-09-17 08:44:56 +01:00
Vinod Kiran 26444ac3ae
Feature/sse (#3125)
* Base changes for ServerSide Events (instead of socket.io)

* lint fixes

* adding of interface and separate methods for streaming events

* lint

* first draft, handles both internal and external prediction end points.

* lint fixes

* additional internal end point for streaming and associated changes

* return streamresponse as true to build agent flow

* 1) JSON formatting for internal events
2) other fixes

* 1) convert internal event to metadata to maintain consistency with external response

* fix action and metadata streaming

* fix for error when agent flow is aborted

* prevent subflows from streaming and other code cleanup

* prevent streaming from enclosed tools

* add fix for preventing chaintool streaming

* update lock file

* add open when hidden to sse

* Streaming errors

* Streaming errors

* add fix for showing error message

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-09-17 08:01:25 +01:00
Henry Heng 72e5287343
Feature/Add tool choices to openai assistant (#2682)
add tool choices to openai
2024-06-19 22:41:53 +01:00
Henry Heng f2a0ffe542
Bugfix/Check for proper thread id and avoid throwing error (#2551)
check for proper thread id and avoid throwing error
2024-06-02 02:41:48 +01:00
Henry Heng b5e502f3b6
Feature/Multer to s3 (#2408)
* add ability to store files from multer to s3

* add check to bypass doc loader
2024-05-15 19:41:37 +01:00
Henry Heng a295573f82
Bugfix/Openai Assistant download path (#2272)
fix openai assistant download path
2024-04-26 18:49:33 +01:00
Henry Heng 7360d1d9a6
Feature/OpenAI Assistant V2 (#2258)
* add gpt4 turbo to assistant

* OpenAI Assistant V2

* update langfuse handler
2024-04-25 20:14:04 +01:00
Henry Heng 95beaba9d9
Chore/Update langchain version, openai, mistral, vertex, anthropic (#2180)
* update langchain version, openai, mistral, vertex, anthropic, introduced toolagent

* upgrade @google/generative-ai 0.7.0, replicate and faiss-node

* update cohere ver

* adding chatCohere to streaming

* update gemini to have image upload

* update google genai, remove aiplugin
2024-04-20 02:20:30 +01:00
Henry 02482f1b38 change agent/chain with memory to use runnable 2024-01-08 13:02:56 +00:00
Henry 8eabd8f0c2 wrap in a try catch block 2023-12-29 13:50:33 +00:00
Henry 5ab2d63de8 only submitting tool outputs when requiresaction 2023-12-29 13:29:24 +00:00
Henry ab556b71cf avoid submitting tool outputs when in_progress 2023-12-29 01:43:30 +00:00
Henry 85e6fad0aa added input moderation to assistant, prevent app from crashing by using try catch 2023-12-28 01:11:00 +00:00
Henry cc7debda0e update openai assistant tool 2023-12-21 01:52:03 +00:00
abhishekshankr 5917a9af51 Updated Agent Icons 2023-12-18 03:09:35 -05:00
Henry 7578183ac2 add custom analytics 2023-12-07 18:46:03 +00:00
Henry 4b5f7028e3 fix chat history 2023-11-30 16:01:16 +00:00
Henry 1cd465a08e update openai assistant version 2023-11-28 16:23:11 +00:00
Henry 7362dec5c1 add disable file download and regex to remove citation 2023-11-28 16:08:35 +00:00
Henry 75874f0dfa fix image fetching method 2023-11-22 03:01:57 +00:00
Henry c7add45647 add file annotations, sync and delete assistant 2023-11-20 00:55:58 +00:00
Henry b995796938 add openai assistant tools and documents fix 2023-11-10 15:41:59 +00:00
Henry b7cd38c83d fix when directory is not created 2023-11-09 16:12:26 +00:00
Henry b607c1228f add upload files and tool features 2023-11-09 11:55:30 +00:00
Henry 0f293e5a59 add openai assistant 2023-11-07 20:45:25 +00:00