Lucas Oliveira
04bbf4eaf0
Made vertices be retrieved when opening chat or when changing anything. Added chat input in request.
2024-02-28 17:20:57 +01:00
Gabriel Luiz Freitas Almeida
11bf5ee460
Refactor build_vertex function to handle inputs dictionary correctly
2024-02-28 11:07:16 -03:00
Gabriel Luiz Freitas Almeida
f09ebeba34
Add support for input values in build_vertex API
2024-02-28 11:03:55 -03:00
Gabriel Luiz Freitas Almeida
8aaa0ee91a
Refactor directory_reader utils.py
2024-02-28 10:37:13 -03:00
Gabriel Luiz Freitas Almeida
5c210f609e
Refactor get_files to exclude folders inside the component path
2024-02-28 10:37:01 -03:00
Cristhian Zanforlin Lousa
c348b4204a
Change the color on str output, change X icon on Notification tab, change the icon on nodeToolbar (Code) ( #1473 )
...
* 🐛 fix(GenericNode): simplify return statement for build status classes to improve code readability
🔥 chore(GenericNode): remove console.log statement used for debugging
🔥 chore(alertDropDown): remove unused import
🔥 chore(nodeToolbarComponent): remove unused import
🔥 chore(styleUtils): remove unused color definition
* 🎨 style(styleUtils.ts): update color for 'str' key in nodeColors object to match the color used in other keys
* 🔥 refactor(GenericNode/index.tsx): remove unnecessary console.log statement for data.node?.template
2024-02-28 10:29:52 -03:00
Gabriel Luiz Freitas Almeida
914fa0699f
Merge remote-tracking branch 'origin/dev' into zustand/io/migration
2024-02-28 10:08:18 -03:00
Gabriel Luiz Freitas Almeida
109b5c8690
Remove unused chat and prompt classes ( #1474 )
2024-02-28 10:02:00 -03:00
Cristhian Zanforlin Lousa
43b3b082a5
Fix vectara resolution error ( #1475 )
...
* add new vectara icon
* remove console.log
2024-02-28 10:01:09 -03:00
Gabriel Luiz Freitas Almeida
609744332d
Add linting and testing workflows for backend code ( #1478 )
...
* Add paths to trigger workflow on specific file changes
* Add linting workflow for backend code
2024-02-28 09:57:41 -03:00
Gabriel Luiz Freitas Almeida
9d7f3dda5e
Refactor vector store components
2024-02-28 09:20:54 -03:00
Lucas Oliveira
acc43aebb9
Fix name of template field on message
2024-02-28 13:08:57 +01:00
Gabriel Luiz Freitas Almeida
436966c5d6
Add FAISSSearchComponent and PGVectorSearchComponent
2024-02-28 00:24:55 -03:00
Gabriel Luiz Freitas Almeida
da3382bbd3
Refactor FAISSComponent to save FAISS index locally
2024-02-28 00:24:29 -03:00
Gabriel Luiz Freitas Almeida
796c842815
Refactor ChromaSearchComponent to inherit from LCVectorStoreComponent
2024-02-28 00:24:24 -03:00
Gabriel Luiz Freitas Almeida
ca6baaa0c5
Add docstring to search_with_vector_store method
2024-02-28 00:24:18 -03:00
Gabriel Luiz Freitas Almeida
257721f864
Add LCVectorStoreComponent to langflow components
2024-02-28 00:12:04 -03:00
Gabriel Luiz Freitas Almeida
c6b837380b
Update model components
2024-02-27 23:48:53 -03:00
Gabriel Luiz Freitas Almeida
6dcad54a38
Add LCModelComponent class to base/model.py
2024-02-27 23:48:36 -03:00
Gabriel Luiz Freitas Almeida
2b556d5fb3
Add base chat component for chat input and output
2024-02-27 23:48:04 -03:00
Gabriel Luiz Freitas Almeida
639c54e3ee
Add stream parameter to run_flow_with_caching and Graph.run methods
2024-02-27 23:04:21 -03:00
Gabriel Luiz Freitas Almeida
6c2a35afb1
Refactor model components to support streaming
2024-02-27 22:44:50 -03:00
Gabriel Luiz Freitas Almeida
13317d61e2
Refactor build_vertex_stream function to handle session_id parameter
2024-02-27 22:37:55 -03:00
Gabriel Luiz Freitas Almeida
fb797a7eea
Fix run_graph function call in endpoints.py
2024-02-27 22:37:48 -03:00
Gabriel Luiz Freitas Almeida
8dd3cccfbe
Refactor run_graph function to generate session_id if not provided
2024-02-27 22:37:38 -03:00
Gabriel Luiz Freitas Almeida
0a77490f8c
Update input field names in model components
2024-02-27 22:03:40 -03:00
Gabriel Luiz Freitas Almeida
557282cea5
Refactor imports and remove console.log statements
2024-02-27 21:50:34 -03:00
Gabriel Luiz Freitas Almeida
cf35b42b8e
Refactor newChatView component
2024-02-27 21:50:27 -03:00
anovazzi1
5c5883f58f
Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration
2024-02-27 21:46:10 -03:00
anovazzi1
a2eaed1af3
Update sender value in updateFlowPool function
2024-02-27 21:46:06 -03:00
Gabriel Luiz Freitas Almeida
b55be2aba0
Refactor ChatVertex to include streaming capability
2024-02-27 21:26:18 -03:00
Gabriel Luiz Freitas Almeida
a9d183bab0
Refactor typing imports and add 'will_stream' attribute to Vertex class
2024-02-27 21:25:37 -03:00
Gabriel Luiz Freitas Almeida
116518202c
Refactor vertex streaming logic in build_vertex_stream function
2024-02-27 21:25:27 -03:00
igorrCarvalho
9af9647fb3
Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration
2024-02-27 21:05:15 -03:00
igorrCarvalho
e7c37fea4f
Feat: Add Ctrl D and Ctrl P keyboard shortcuts
2024-02-27 21:05:09 -03:00
anovazzi1
e79c5771ee
Add setLockChat prop to ChatMessage component
2024-02-27 20:58:03 -03:00
anovazzi1
0b1336988f
Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration
2024-02-27 20:50:24 -03:00
anovazzi1
42338a829b
Fix useRef typo and update chat message reference
2024-02-27 20:50:22 -03:00
Gabriel Luiz Freitas Almeida
b42caa27ad
Add LANGFLOW_LOG_LEVEL debug to launch.json
2024-02-27 20:40:58 -03:00
Gabriel Luiz Freitas Almeida
34d48992d5
Refactor chat.py to support vertex streaming
2024-02-27 20:40:57 -03:00
Gabriel Luiz Freitas Almeida
12fe2ffbe6
Update langflow.graph.schema import
2024-02-27 20:40:57 -03:00
Gabriel Luiz Freitas Almeida
8b7ee72252
Refactor ChatVertex class to update artifacts and params
2024-02-27 20:40:56 -03:00
Gabriel Luiz Freitas Almeida
b2549d92fc
Refactor custom component building functions
2024-02-27 20:40:55 -03:00
Gabriel Luiz Freitas Almeida
915de79cf2
Refactor logger configuration logic
2024-02-27 20:40:54 -03:00
anovazzi1
3c56b7a2b7
fix premature closing of websocket
2024-02-27 20:37:57 -03:00
anovazzi1
df07cf413b
fix(frontend): add useRef hook to manage eventSource in ChatMessage component
...
feat(frontend): add support for process.env.PORT environment variable in server.ts
feat(frontend): add updateFlowPool function to NewChatView component
feat(frontend): add buildId parameter to addDataToFlowPool function in flowStore
feat(frontend): add stream_url property to ChatOutputType in flow types
2024-02-27 18:29:57 -03:00
Gabriel Luiz Freitas Almeida
af9786bdef
Add import statement for INPUT_FIELD_NAME
2024-02-27 18:24:00 -03:00
Gabriel Luiz Freitas Almeida
e4dd94021d
Refactor buildInputs function and update code that calls it
2024-02-27 18:13:34 -03:00
Gabriel Luiz Freitas Almeida
feac452f1c
Refactor run_flow_with_caching function in endpoints.py
2024-02-27 18:13:29 -03:00
Gabriel Luiz Freitas Almeida
e40395197d
Add model serialization to RunResponse schema
2024-02-27 18:13:23 -03:00