Commit graph

12,210 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
bb08ade8e5 refactor: Update Component class to handle flow_id in Message objects 2024-06-20 18:48:45 -03:00
Gabriel Luiz Freitas Almeida
1b89ac2d73 refactor: Update RecursiveCharacterTextSplitterComponent to use type hinting for separators and chunk_size 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
a01b98e700 refactor: Remove unused import statement in model_specs/__init__.py 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
69146c682e refactor: Update CacheService to use generic types for locks 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
5be733e68c refactor: Update SelfQueryRetriever to handle non-string query types 2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
f72eda81b5 refactor: Update Weaviate.py import statement to use type hinting for weaviate module 2024-06-20 18:47:02 -03:00
italojohnny
19bd88b8f9 fix arg-type error reported by mypy 2024-06-20 18:35:18 -03:00
cristhianzl
cd49b2e55a Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-20 18:30:16 -03:00
cristhianzl
fac5c75fe6 (tests): update locators in end-to-end tests for chat, dropdown, and file upload components
 (tests): update locators and tooltips in end-to-end tests for filterEdge
 (tests): add random name generation in store.spec.ts for unique flow names
 (tests): update locators in textInputOutput.spec.ts for consistency

 (twoEdges.spec.ts): update test to click correct icon-Eye element and remove redundant checks
2024-06-20 18:30:11 -03:00
italojohnny
55cdff818e fix no-redef error reported by mypy 2024-06-20 18:28:48 -03:00
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