Gabriel Luiz Freitas Almeida
44a23ebef4
refactor: Add error handling to TracingService methods
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
277baff204
📝 (starter_projects): Update trace_type attribute to "prompt" for consistency and clarity in starter projects JSON files.
...
✨ (VectorStore-RAG-Flows.json): Update class inheritance to LCEmbeddingsModel for OpenAIEmbeddingsComponent to align with changes in the codebase
📝 (VectorStore-RAG-Flows.json): Add trace_type attribute to PromptComponent class for better tracking and identification of components
📝 (VectorStore-RAG-Flows.json): update import path for LCEmbeddingsModel in OpenAIEmbeddingsComponent to match new file structure and improve code organization.
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
e1a0de8133
chore: Add trace_type attribute to FlowToolComponent
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
e124ac1a75
chore: Add trace_type attribute to PromptComponent
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
83795a8c7a
chore: Add trace_type attribute to LCVectorStoreComponent
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
25b4f94b33
chore: Add trace_type attribute to LCModelComponent
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
2f04ac3e44
chore: Add LCEmbeddingsModel class for handling embeddings in langflow
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
935aefcdea
chore: Refactor Component class to include tracing functionality
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
a6e9972f4b
✨ (utils.py): Add functionality to trace runs
...
🔧 (chat.py): Remove redundant setting of run_id in retrieve_vertices_order function
🔧 (chat.py): Remove setting of run_id in build_vertex function and add end_all_traces method call when no next_runnable_vertices
🔧 (base.py): Add logic to set run_name based on flow name and flow id, and end all traces with metadata in Graph class
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
1909acca52
Refactor input classes to include traceability and metadata support
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
9e4a414682
chore: Refactor loading.py to improve component instantiation and build process
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
65e2d682fc
feat: Refactor TracingService to support LangSmithTracer and initialize tracers
2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
9dc6def567
chore: Update TracingServiceFactory to include MonitorService in create method
2024-06-21 20:04:20 -07:00
ogabrielluiz
a4736fd0b9
feat: Add TracingService and TracingServiceFactory
...
This commit adds a new service called TracingService and a corresponding factory class called TracingServiceFactory. The TracingService is responsible for handling tracing functionality, while the TracingServiceFactory is used to create instances of the TracingService. This addition enables the application to support tracing capabilities.
Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-21 20:04:20 -07:00
Cristhian Zanforlin Lousa
74b8b98cb2
Two edges ( #2249 )
...
* fix error on port frontend variable .env
* ✨ (constants.ts, vite.config.mts): add support for configurable LANGFLOW_HOST environment variable to allow dynamic backend URL configuration
* 🔧 (constants.ts, vite.config.mts): consolidate backend URL configuration into a single environment variable
2024-06-21 17:26:58 -03:00
Gabriel Luiz Freitas Almeida
b70d08e5e7
refactor: Remove ClearMessageHistoryComponent
2024-06-21 17:00:58 -03:00
italojohnny
703ce9360f
update basic prompt example
2024-06-21 15:58:15 -03:00
Gabriel Luiz Freitas Almeida
25eed67f98
refactor: Improve handling of message content in HumanMessage object
2024-06-21 15:42:33 -03:00
Gabriel Luiz Freitas Almeida
ba343be992
🐛 (message.py): fix issue where message content was not being properly formatted and displayed in the HumanMessage object
...
📝 (message.py): improve the logic for handling message content and formatting to ensure correct display in the HumanMessage object
2024-06-21 15:10:05 -03:00
cristhianzl
324b76d2d1
🐛 (index.tsx): remove unused parameter folderId from handleFolderChange function to fix potential bug
2024-06-21 14:45:20 -03:00
Gabriel Luiz Freitas Almeida
b3903b0b03
update rag project
2024-06-21 14:10:19 -03:00
Gabriel Luiz Freitas Almeida
ee2d3e6c03
update vector store flow
2024-06-21 13:53:29 -03:00
Gabriel Luiz Freitas Almeida
137e82f5a4
refactor: Add conditional check before setting cache in Graph class
2024-06-21 13:16:34 -03:00
Gabriel Luiz Freitas Almeida
632fe985ac
refactor: Update convert_chat_history method in ToolCallingAgentComponent
2024-06-21 13:16:27 -03:00
Gabriel Luiz Freitas Almeida
f85d641bbc
refactor:cast agent to BaseSingleActionAgent
2024-06-21 13:07:32 -03:00
Gabriel Luiz Freitas Almeida
98ecdf3e3e
refactor: Serialize text data to JSON format in parse_text_file_to_data
2024-06-21 13:00:33 -03:00
Gabriel Luiz Freitas Almeida
cd011a96b9
format project
2024-06-21 12:57:51 -03:00
Gabriel Luiz Freitas Almeida
e4859479b0
update blog writer
2024-06-21 12:44:51 -03:00
Gabriel Luiz Freitas Almeida
40ad4b63bb
Update documentQA
2024-06-21 12:40:56 -03:00
Gabriel Luiz Freitas Almeida
e2ff9f04ee
refactor: Update memory chatbot project
2024-06-21 12:37:28 -03:00
Gabriel Luiz Freitas Almeida
08ab30e9ee
♻️ (types.py): remove unused artifacts variable to clean up the code and improve readability
2024-06-21 12:37:10 -03:00
Gabriel Luiz Freitas Almeida
4f800f0da4
refactor: Remove unused imports and update langflow components
2024-06-21 12:36:50 -03:00
Gabriel Luiz Freitas Almeida
0cf0bed97e
🐛 (ToolCallingAgent.py): fix syntax error in type hint for dictionary in convert_chat_history method
2024-06-21 12:36:12 -03:00
anovazzi1
d80df8e3c5
Apply Prettier formatting
2024-06-21 15:28:25 +00:00
anovazzi1
64eb2e0f99
refactor: Improve InputGlobalComponent behavior and data handling
2024-06-21 12:26:57 -03:00
Gabriel Luiz Freitas Almeida
111def3d4a
refactor: Update ComponentVertex to handle Message artifacts and extract messages from artifacts
2024-06-21 11:18:39 -03:00
Gabriel Luiz Freitas Almeida
984dc5fb67
refactor: Update build_vertex_stream function to use cache for retrieving graph and session data
2024-06-21 11:18:28 -03:00
Gabriel Luiz Freitas Almeida
b35d17b800
refactor: Remove unnecessary output method from LCVectorStoreComponent
2024-06-21 11:18:01 -03:00
Gabriel Luiz Freitas Almeida
5a288e9c51
refactor: Import langflow.custom.Component and CustomComponent in loading.py
2024-06-21 09:35:40 -03:00
Cezar Vasconcelos
33129c7466
refactor: adjust ToolCallingAgent to use new IO and ChatHistory, added helper functions
2024-06-21 01:54:04 +00:00
Gabriel Luiz Freitas Almeida
806cbf3842
refactor: Update BaiduQianfanChatModel.py to use BaseLLM type hinting for return value
2024-06-20 22:15:00 -03:00
Gabriel Luiz Freitas Almeida
85a7ae8993
fix formatting issue
2024-06-20 22:03:54 -03:00
Gabriel Luiz Freitas Almeida
95beb9fdc2
refactor: Update BaiduQianfanChatModel.py to use BaseLLM type hinting for return value
2024-06-20 22:03:27 -03:00
Gabriel Luiz Freitas Almeida
9145640ed1
refactor: Update DropdownInput options to use list[str] type hinting
2024-06-20 22:03:27 -03:00
Gabriel Luiz Freitas Almeida
924df4bdad
refactor: Update RedisVectorStoreComponent to use VectorStore type hinting in return value
2024-06-20 22:03:27 -03:00
Gabriel Luiz Freitas Almeida
ce031fcc35
refactor: Add description to 'name' field in Output class
2024-06-20 22:03:26 -03:00
italojohnny
080dc7b327
fix assignment error reported by mypy
2024-06-20 22:02:48 -03:00
Gabriel Luiz Freitas Almeida
069c27bda0
refactor: Update RedisVectorStoreComponent to use Retriever type hinting in return value
2024-06-20 21:58:12 -03:00
Gabriel Luiz Freitas Almeida
1391d5ef09
refactor: Update BaiduQianfanChatModel.py to use type hinting for return value
2024-06-20 21:58:12 -03:00
Gabriel Luiz Freitas Almeida
7eeb6ea78a
refactor: Update instantiate_class function to support CustomComponent and Component inheritance
2024-06-20 21:58:12 -03:00