Gabriel Luiz Freitas Almeida
a9fc3ea5f7
refactor: Update PineconeVectorStoreComponent build_vector_store return type to Pinecone
2024-06-20 18:23:41 -03:00
Gabriel Luiz Freitas Almeida
1935029f66
refactor: Update EmbedComponent build method return type to Data
2024-06-20 18:23:36 -03:00
Gabriel Luiz Freitas Almeida
96f77878c1
refactor: Update CohereEmbeddingsComponent to use type hinting for CohereEmbeddings return value
2024-06-20 18:23:31 -03:00
Gabriel Luiz Freitas Almeida
c811e5f045
apply ruff
2024-06-20 18:21:56 -03:00
italojohnny
954c703cd8
fix arg-type error reported by mypy
2024-06-20 18:21:17 -03:00
Gabriel Luiz Freitas Almeida
6b3a8b69bc
refactor: Update AnthropicModelComponent to handle ImportError gracefully
2024-06-20 18:18:09 -03:00
Gabriel Luiz Freitas Almeida
ac627e831f
refactor: Update OpenAIModelComponent to include seed in model_kwargs
2024-06-20 18:18:04 -03:00
Gabriel Luiz Freitas Almeida
de0657acf3
refactor: Update langchain-mongodb package to version 0.1.6
2024-06-20 18:09:32 -03:00
Gabriel Luiz Freitas Almeida
75836a478c
refactor: Remove unused build_base_retriever method from vector store components
2024-06-20 18:09:18 -03:00
Gabriel Luiz Freitas Almeida
43058045eb
refactor: Update LCModelComponent to use BaseMessage instead of HumanMessage and SystemMessage
2024-06-20 18:09:10 -03:00
Gabriel Luiz Freitas Almeida
7e92f74f28
refactor: Update data.py to use a copy of the data dictionary in the to_lc_message method
2024-06-20 18:00:33 -03:00
italojohnny
7704c2e302
fix arg-type error reported by mypy
2024-06-20 17:56:54 -03:00
italojohnny
6903eca138
fix arg-type error reported by mypy
2024-06-20 17:22:36 -03:00
italojohnny
2212458bef
fix return value error reported by mypy
2024-06-20 17:12:53 -03:00
Gabriel Luiz Freitas Almeida
f8ce1331b9
refactor: Remove unused text_response method from model components
2024-06-20 16:35:00 -03:00
Gabriel Luiz Freitas Almeida
29ba8051e9
format
2024-06-20 16:33:20 -03:00
Gabriel Luiz Freitas Almeida
d1d4b6f42d
refactor: Implement _get_exception_message in LCModelComponent
2024-06-20 16:32:31 -03:00
cristhianzl
1297d3b892
💄 (sideBarFolderButtons): adjust spacing and icon button size for better UI consistency
2024-06-20 16:29:56 -03:00
Gabriel Luiz Freitas Almeida
f8ef220a6e
refactor: Improve error handling in ComponentBuildException
2024-06-20 16:29:27 -03:00
Gabriel Luiz Freitas Almeida
bbd3ab4960
refactor: Update OllamaModel.py to include new features and improve build configuration
2024-06-20 16:01:32 -03:00
Gabriel Luiz Freitas Almeida
a33a56bf26
refactor: Import operator module instead of ast in base_component.py
2024-06-20 15:51:51 -03:00
Gabriel Luiz Freitas Almeida
8d4b9fd470
refactor: Update LCModelComponent to include text_response method and outputs for text and language model
2024-06-20 15:51:18 -03:00
Gabriel Luiz Freitas Almeida
0575541d3b
refactor: Remove unused "str" input type from TextInput class
2024-06-20 15:51:06 -03:00
Gabriel Luiz Freitas Almeida
c25b104ec7
refactor: Import operator from ast module in base_component.py
2024-06-20 15:50:55 -03:00
Gabriel Luiz Freitas Almeida
ed391c010d
refactor: Update code_parser.py to improve class node processing and base class handling
2024-06-20 15:50:19 -03:00
Gabriel Luiz Freitas Almeida
8f0ca52e9c
refactor: Update auth utils to include token type in create_token function
2024-06-20 14:39:17 -03:00
ogabrielluiz
68e609fe34
Apply Prettier formatting
2024-06-20 16:42:14 +00:00
Gabriel Luiz Freitas Almeida
47c0522c7b
Merge remote-tracking branch 'origin/dev' into two_edges
2024-06-20 13:41:00 -03:00
Gabriel Luiz Freitas Almeida
8ef4b090f4
🔧 (constants.py): Replace TypeAlias with TypeVar for LanguageModel in field_typing module
...
📝 (model.py): Import LanguageModel from field_typing module to use in LCModelComponent class
🔧 (utils.py): Replace get_all_types_from_type function with format_type function in custom module
🔧 (custom.py): Remove unused import get_args in format_type function in helpers module
2024-06-20 13:36:38 -03:00
Gabriel Luiz Freitas Almeida
8b2ea1b175
refactor: Add search_documents method to LCVectorStoreComponent for searching documents in the Chroma vector store
2024-06-20 12:25:17 -03:00
anovazzi1
d090a18004
Merge branch 'two_edges' of personal:langflow-ai/langflow into two_edges
2024-06-20 12:22:34 -03:00
anovazzi1
000d44ffe0
refactor: Remove unused code and comments in OutputComponent/index.tsx
2024-06-20 12:22:28 -03:00
Gabriel Luiz Freitas Almeida
80cf34ac98
refactor: Update utils.py and custom.py to improve type handling and code readability
2024-06-20 12:03:08 -03:00
Gabriel Luiz Freitas Almeida
0497c8a192
refactor: Update vector store retriever types to use 'Retriever' alias
2024-06-20 11:47:44 -03:00
Gabriel Luiz Freitas Almeida
09861ce504
refactor: Add 'Retriever' type alias to field_typing/constants.py
2024-06-20 11:46:27 -03:00
Gabriel Luiz Freitas Almeida
381a136abe
refactor: remove type as this is a 3.12 feature
2024-06-20 11:27:37 -03:00
Gabriel Luiz Freitas Almeida
bf065bcca7
refactor: Add 'edited' attribute to FrontendNode class
2024-06-20 11:12:33 -03:00
Gabriel Luiz Freitas Almeida
e81b0378fe
refactor: Add 'edited' attribute to NODE_FORMAT_ATTRIBUTES in constants.py
2024-06-20 11:11:03 -03:00
Gabriel Luiz Freitas Almeida
e7043443ce
refactor: Migrate from BaseLanguageModel to field_typing.LanguageModel
2024-06-20 11:10:52 -03:00
Gabriel Luiz Freitas Almeida
0723ab0143
refactor: Update imports for SettingsService in endpoints.py, login.py, types.py, and monitor/service.py
2024-06-20 11:09:32 -03:00
Gabriel Luiz Freitas Almeida
ad89346cc0
refactor: Update Docker Build workflow to remove unnecessary steps and improve efficiency
2024-06-20 10:48:04 -03:00
Gabriel Luiz Freitas Almeida
058d00b4ca
📝 (main.py): Introduce asyncio tasks to asynchronously fetch and cache all types dictionary for improved performance and responsiveness
...
📝 (endpoints.py): Refactor code to use get_and_cache_all_types_dict function for better code organization and readability
📝 (setup.py): Refactor code to use get_all_components_coro parameter in create_or_update_starter_projects function for better flexibility and testability
📝 (types.py): Refactor code to introduce get_and_cache_all_types_dict function for improved separation of concerns and reusability
2024-06-20 10:46:00 -03:00
Gabriel Luiz Freitas Almeida
c0a8f24e1c
refactor: Update OllamaModel to use consistent variable names and improve code readability
2024-06-20 10:17:08 -03:00
Gabriel Luiz Freitas Almeida
8c90d68a03
refactor: Update Data class to simplify attribute retrieval
2024-06-20 09:20:51 -03:00
Rodrigo
ae3170101b
refactor: Update model variable names and improve code readability in AmazonBedrockModel, AnthropicModel, BaiduQianfanChatModel, and GroqModel
2024-06-19 21:37:04 -03:00
Gabriel Luiz Freitas Almeida
d8bd09661a
♻️ (flows.py): Add type ignore comments to suppress type checking errors for certain expressions.
2024-06-19 20:30:54 -03:00
Gabriel Luiz Freitas Almeida
951fb82c71
refactor: Update GroqModel to use consistent variable names and improve code readability
2024-06-19 20:30:35 -03:00
Gabriel Luiz Freitas Almeida
8defb43e1c
refactor: Update FlowToolComponent to use plural variable names for flow_datas and flow_data in get_flow_names and get_flow methods
2024-06-19 20:30:29 -03:00
Gabriel Luiz Freitas Almeida
c0bc3bce63
refactor: Update SubFlowComponent to use plural variable names for flow_datas and flow_data in get_flow_names and get_flow methods
2024-06-19 20:27:40 -03:00
Gabriel Luiz Freitas Almeida
4c6bcafa43
📝 (OpenAIModel.py): Specify type annotations for output_schema_dict, model_name variables to improve code readability and maintainability.
2024-06-19 20:27:33 -03:00