Commit graph

1,123 commits

Author SHA1 Message Date
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
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
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
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
Gabriel Luiz Freitas Almeida
fe032f3830 refactor: Update error message in FrontendNode class to include overlapping output and input names 2024-06-20 21:58:12 -03:00
italojohnny
228d4e8574 fix union-attr error reported by mypy 2024-06-20 21:57:25 -03:00
Gabriel Luiz Freitas Almeida
d2eb36bef2 refactor: Update RedisVectorStoreComponent to use Retriever type hinting in return value 2024-06-20 21:52:20 -03:00
Gabriel Luiz Freitas Almeida
5561b4ec52 refactor: Update stop method in CustomComponent to allow for optional output_name parameter 2024-06-20 21:51:45 -03:00
Gabriel Luiz Freitas Almeida
4c1599f531 refactor: Update RecursiveCharacterTextSplitterComponent separators assignment 2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
fe5d430006 refactor: Update Input class to remove field_type validation and post-processing 2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
5e6857ec8b refactor: Update RedisCache instantiation to use type hinting for variable declaration 2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
2517dda72a refactor: Update instantiate_class function to support CustomComponent and Component inheritance 2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
7df49db6dd refactor: Update TextInput class to include additional value types 2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
e96e6f9a16 refactor: Update edges_source_names property return type to set[str] 2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
5852204d08 refactor: Update SourceHandle class to use default_factory for output_types 2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
cd4bb71997 refactor: Update Component class to use empty lists for inputs and outputs 2024-06-20 21:50:43 -03:00