Commit graph

11,401 commits

Author SHA1 Message Date
ogabrielluiz
c8ebcd1b03 update projects 2024-06-11 15:44:19 -03:00
ogabrielluiz
cda65c07de 🐛 (chat.py): Fix issue with logs assignment in build_vertex function
🐛 (schemas.py): Fix issue with logs field type in ResultDataResponse class
🐛 (Prompt.py): Fix issue with kwargs assignment in build_prompt method
🐛 (component.py): Fix issue with results and arguments assignment in Component class
🐛 (schema.py): Fix issue with logs field type in ResultData class

📝 (types.py): Add ResultData import and build_logs_from_artifacts function for better logging and message extraction
📝 (setup.py): Set DEFAULT_PROMPT_INTUT_TYPES for missing template keys to provide default input types
📝 (loading.py): Update build_component function to return artifacts along with build_results
📝 (schema.py): Add build_logs_from_artifacts function to generate logs from artifacts
📝 (utils.py): Update log_transaction function to use source instead of vertex and handle source result for outputs
📝 (prompt.py): Define DEFAULT_PROMPT_INTUT_TYPES constant and use it for missing template input types
2024-06-11 15:44:05 -03:00
ogabrielluiz
7fad3353e1 refactor: Update load_from_db flag to true for openai_api_key field 2024-06-11 13:49:47 -03:00
ogabrielluiz
1a03c0d0c7 refactor: Migrate base classes to outputs in FrontendNode model 2024-06-11 12:36:36 -03:00
ogabrielluiz
2dddfe4aea refactor: Update import statements in CassandraMessageReader and CassandraMessageWriter 2024-06-11 10:15:02 -03:00
ogabrielluiz
0014d8e50a Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-11 09:52:41 -03:00
YAMON.IO
11b5aad3bd
add PythonCodeStructuredTool (#1747)
* Create PythonStructuredTool

This draft involves receiving two 'Code' types as inputs and creating a structured tool.

* Delete src/backend/base/langflow/components/experimental/PythonStructuredTool

* Create PythonCodeStructuredTool.py
2024-06-11 05:42:49 -07:00
Gabriel Luiz Freitas Almeida
e28962cbc4
Update Couchbase component and package versions (#2138)
* feat: Update Couchbase component to handle import errors

* chore: Update package versions in pyproject.toml and poetry.lock

* refactor: Fix encoding issue in read_text_file function

* 🐛 (parse.py): fix issue where method was always set to "post" when data or data binary was provided in curl command

* refactor: Fix string formatting in MonitorService delete_messages method

* fix: Update Couchbase import instructions in CouchbaseComponent

* refactor: Fix encoding issue in read_text_file function
2024-06-11 05:33:23 -07:00
Jordan Frazier
a5752cdc14
fix: ensure tweaks object exists (#2134)
* ensure tweaks object exists

* Make similar change for python code
2024-06-11 05:05:31 -07:00
Nicolò Boschi
1110494615
feat: multi arch docker images (#2123) 2024-06-11 10:12:31 +02:00
ogabrielluiz
f6fabac477 update projects 2024-06-10 21:24:43 -03:00
ogabrielluiz
6d51386b83 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-10 21:07:02 -03:00
Edwin Jose
4f2e582cf7
Update get-python-api-code.tsx (#2130) 2024-06-10 15:06:06 -07:00
Jordan Frazier
11ef216c0a
feat: add cassandra components (#2056)
* Add cassandra store component

* Add cassandra search component

* revert poetry changes

* fix type

* Add cassandra icon

* Add Cassandra Message Writer

* Add cassandra message reader

* poetry

* Fix init of cass reader

* move cassio import to base project and inline imports in backend

* running make format

* remove file

* remove cassio import

* update lockfile

* Actually update lockfile:

* merge fixes
2024-06-10 15:04:24 -07:00
ogabrielluiz
b5ead60ac9 update projects 2024-06-10 19:00:44 -03:00
ogabrielluiz
d3cc15d15e refactor: Remove unused imports and update GenericNode component 2024-06-10 19:00:36 -03:00
ogabrielluiz
108514b734 refactor: Update langflow/custom/custom_component/component.py to cache output values for improved performance 2024-06-10 19:00:31 -03:00
ogabrielluiz
4d11c76476 refactor: Update ChatInput and ChatOutput to use Message instead of Record for input and output 2024-06-10 19:00:09 -03:00
ogabrielluiz
cf99a5ffa7 refactor: Update setup.py to handle new output types in source node 2024-06-10 18:59:07 -03:00
ogabrielluiz
af38ec4580 refactor: Add log method to CustomComponent for logging messages 2024-06-10 16:16:50 -03:00
ogabrielluiz
bde49ba286 refactor: Remove unused imports and update artifact type handling 2024-06-10 16:16:27 -03:00
ogabrielluiz
921250cbe1 Merge branch 'cz/mergeAll' into two_edges 2024-06-10 15:57:46 -03:00
ogabrielluiz
e6fefa680d Format tests and update prettier command 2024-06-10 15:23:52 -03:00
ogabrielluiz
1726561f39 format 2024-06-10 15:16:49 -03:00
ogabrielluiz
65773b424f refactor: Update .gitattributes to remove working-tree-encoding for .mdx and .json files 2024-06-10 14:30:27 -03:00
ogabrielluiz
f872a3e753 refactor: Update SelfQueryRetrieverComponent build method to handle different input types 2024-06-10 14:30:05 -03:00
ogabrielluiz
24e8da5086 refactor: Update ChromaComponent build method to allow duplicates in the Vector Store 2024-06-10 14:30:05 -03:00
ogabrielluiz
becdb49661 refactor: Rename 'document' variable to 'text' in chroma_collection_to_records function 2024-06-10 14:30:05 -03:00
cristhianzl
e719f1746f Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-10 14:15:00 -03:00
cristhianzl
2f4ebb290a ♻️ (TableOptions): reorder imports for better readability
💄 (TableOptions): adjust gap between buttons for better UI spacing
💄 (TableOptions): update icon styles for better visual feedback
 (editNodeModal): add dark mode support for badge component
♻️ (editNodeModal): refactor function parameters for consistency
💄 (headerComponent): update icon hover color for better UX consistency
2024-06-10 14:14:39 -03:00
ogabrielluiz
6c27964edd 🐛 (custom_component.py): fix resolving path logic to handle empty path input and check if path parts exist before accessing the first part 2024-06-10 14:12:50 -03:00
ogabrielluiz
0de6c2a88f feat: Update Prompt class to assign formatted prompt to self.text 2024-06-10 14:12:32 -03:00
ogabrielluiz
f8aa1274fc (record.py): add __eq__ method to compare Record instances based on their data attribute 2024-06-10 14:12:24 -03:00
ogabrielluiz
6eac507eb9 feat: Update RecordsOutput build method to set status 2024-06-10 14:11:43 -03:00
ogabrielluiz
65037a43a5 refactor: Update session_id parameter in build_and_cache_graph_from_db function 2024-06-10 14:11:04 -03:00
cristhianzl
cab1f40b55 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-10 13:37:44 -03:00
cristhianzl
246ea90b23 (tailwind.config.js): add custom focus-visible styles to improve accessibility and user experience 2024-06-10 13:21:10 -03:00
ogabrielluiz
ed20dd606f chore: Update keyboard shortcut for API to "mod+shift+r" 2024-06-10 13:07:00 -03:00
ogabrielluiz
23b2bf2358 feat: Add SelfQueryRetrieverComponent to langflow retrievers 2024-06-10 12:59:06 -03:00
ogabrielluiz
d0a03b1563 feat: Add LangChainIcon component and export it in index.tsx 2024-06-10 12:51:30 -03:00
igorrCarvalho
fe3f365885 Fix: use stopImmediatePropagation to prevent macOS bugs 2024-06-10 12:39:39 -03:00
cristhianzl
f60abfdb8a Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-10 12:06:04 -03:00
cristhianzl
119bd7397d (actionsMainPage.spec.ts): add steps to click 'more-options-modal' in end-to-end tests to ensure modal interactions are tested 2024-06-10 12:05:45 -03:00
ogabrielluiz
7557c7979c refactor: add utility function for converting chroma collection to records 2024-06-10 12:02:53 -03:00
ogabrielluiz
8848360845 refactor: Update output types in setup.py
The output types in the setup.py file have been updated to reflect the changes made in the source node's output types. This ensures consistency and accuracy in the data flow.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-10 11:39:49 -03:00
ogabrielluiz
2ab49133fa refactor: Remove unused BranchComponent and Decision classes
The BranchComponent and Decision classes in langchain_utilities/Branch.py and schema/decision.py respectively have been removed as they are no longer needed in the codebase.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-10 11:39:40 -03:00
ogabrielluiz
b255a0cae1 📝 (types.py): Update import statements to include log_transaction function for better code organization and readability 2024-06-10 11:38:42 -03:00
ogabrielluiz
802b624621 refactor: Update import statement for Record in component.py
The import statement for the Record class in component.py has been updated to reflect the correct module path after a recent refactoring.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-10 11:38:16 -03:00
igorrCarvalho
91e5aa1dc5 Merge branch 'cz/mergeAll' of github.com:langflow-ai/langflow into cz/mergeAll 2024-06-10 11:36:02 -03:00
igorrCarvalho
92b398d29b Refactor: block non supported file types 2024-06-10 11:35:40 -03:00