Commit Graph

27 Commits

Author SHA1 Message Date
Henry Heng 940c8fd3b0 Chore/LC v0.3 (#3517)
* bump langchain version to 0.3, upgrades on all chat models

* update all docs loader to have documents and text output options

* fix pnpm lock file
2024-11-28 11:06:12 +00:00
Vincelwt 4a9ffe7b99 Lunary: feedback tracking (#3332)
* Lunary: feedback tracking

* fix incorrect param order
2024-10-21 11:32:51 +01:00
Vincelwt 18f916a7e1 LunaryAI automatic Thread and User tracking (#3233)
* Lunary Thread/User tracking

* Clean console logs

* Clean

* Remove commented lines

* Remove commented line
2024-09-26 12:01:33 +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
Meltcap eb595d2a66 Bugfix/langwatch missing returnids (#3077)
* Update handler.ts

Add missing langWatch: {} to onLLMStart and onLLMStart

* Update handler.ts

Revert changes so I can make bugfix branch

* Update handler.ts - missing langWatch

Add missing langWatch object to returnIds for missing 'span' bug.
2024-08-25 13:39:19 +01:00
Henry Heng 363d1bfc44 Chore/update deprecating nodes (#2540)
* update deprecating nodes

* add filters use cases to marketplace

* update log level
2024-07-12 18:37:57 +01:00
Rogério Chaves 0fc5e3d0c5 Add LangWatch integration (#2677)
Add langwatch integration
2024-06-21 16:26:55 +01:00
patrickreinan 2878af69e4 Added LOG_JSON_SPACES to control json beautify (#2483)
* Added: environment var LOG_JSON_SPACES with default value 2. Used to no beautify JSON on handler.ts
Fix: logger.verbose was not working because default log level was info

* Update handler.ts

---------

Co-authored-by: patrick <patrick.alves@br.experian.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-05-29 18:25:32 +01:00
Henry Heng 8ebc4dcfd5 Feature/lang graph (#2319)
* add langgraph

* datasource: initial commit

* datasource: datasource details and chunks

* datasource: Document Store Node

* more changes

* Document Store - Base functionality

* Document Store Loader Component

* Document Store Loader Component

* before merging the modularity PR

* after merging the modularity PR

* preview mode

* initial draft PR

* fixes

* minor updates and  fixes

* preview with loader and splitter

* preview with credential

* show stored chunks

* preview update...

* edit config

* save, preview and other changes

* save, preview and other changes

* save, process and other changes

* save, process and other changes

* alpha1 - for internal testing

* rerouting urls

* bug fix on new leader create

* pagination support for chunks

* delete document store

* Update pnpm-lock.yaml

* doc store card view

* Update store files to use updated storage functions, Document Store Table View and other changes

* ui changes

* add expanded chunk dialog, improve ui

* change throw Error to InternalError

* Bug Fixes and removal of subFolder, adding of view chunks for store

* lint fixes

* merge changes

* DocumentStoreStatus component

* ui changes for doc store

* add remove metadata key field, add custom document loader

* add chatflows used doc store chips

* add types/interfaces to DocumentStore Services

* document loader list dialog title bar color change

* update interfaces

* Whereused Chatflow Name and Added chunkNo to retain order of created chunks.

* use typeorm order chunkNo, ui changes

* update tabler icons react

* cleanup agents

* add pysandbox tool

* add abort functionality, loading next agent

* add empty view svg

* update chatflow tool with chatId

* rename to agentflows

* update worker for prompt input values

* update dashboard to agentflows, agentcanvas

* fix marketplace use template

* add agentflow templates

* resolve merge conflict

* update baseURL

---------

Co-authored-by: vinodkiran <vinodkiran@usa.net>
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
2024-05-21 16:36:42 +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
Marc Klingen 214e7c8dc7 upgrade langfuse and add sdkIntegration tag 2024-03-07 02:25:30 +01:00
Henry 0606d2c6dd upgrade langchain version 0.1.0 2024-01-26 23:41:55 +00:00
Henry b3ab8527f5 add ts-ignore 2024-01-15 18:36:31 +00:00
Henry 4ef9c1f511 add sessionId tracking 2024-01-15 18:28:46 +00:00
vinodkiran da76a151ff minor typo fixes... 2023-12-31 12:56:35 +05:30
vinodkiran 9e7f3587f1 Upgrading of analytic dependencies - langfuse and langsmith. 2023-12-30 18:22:21 +05:30
Henry Heng da2fe78e44 Update handler.ts 2023-12-08 12:09:29 +00:00
Henry 7578183ac2 add custom analytics 2023-12-07 18:46:03 +00:00
Henry 3bddc95087 add user id 2023-11-17 16:41:49 +00:00
Henry 40b233b8a7 update langfuse initialization types 2023-10-14 01:04:00 +01:00
Marc Klingen 3137905995 Remove unnecessary Langfuse inputs 2023-10-12 15:25:04 +02:00
Henry Heng 719c8c4e55 only emit token when parentId is undefined 2023-10-09 18:25:36 +01:00
Henry Heng 303e5653dd update cacheValue to capture other outputs object 2023-10-09 16:44:04 +01:00
vinodkiran d588ac0480 Adding support for LLM Caching. 2023-09-29 07:54:16 +05:30
vinodkiran f85c935983 Adding support for LLMonitor 2023-09-20 14:31:52 +05:30
Henry d19f72db6f add analytic 2023-09-11 23:44:20 +01:00
Henry eb19c206cf add logs to component chains/agents 2023-07-11 01:53:22 +01:00