Commit graph

12,161 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
d3731edb69 🐛 (Langflow Blog Writer.json): change return type of fetch_content method from Data to list[Data] to match the actual return value and improve code consistency. 2024-06-19 20:23:35 -03:00
Gabriel Luiz Freitas Almeida
23763f8795 (field_typing): introduce BaseChatModel to field_typing module for better organization and structure
📝 (constants): add BaseChatModel to LANGCHAIN_BASE_TYPES dictionary for consistency and completeness
2024-06-19 20:23:15 -03:00
Gabriel Luiz Freitas Almeida
f26dd89dfa 🔧 (FAISS.py): Remove unused import and methods, refactor class name to improve consistency and clarity 2024-06-19 20:23:01 -03:00
Gabriel Luiz Freitas Almeida
528845ad98 📝 (OllamaModel.py): rename 'stop' variable to 'stop_tokens' for clarity and consistency throughout the codebase 2024-06-19 20:22:33 -03:00
Gabriel Luiz Freitas Almeida
b8d70315f8 📝 (GoogleGenerativeAIModel.py): Fix type hinting issue for ChatGoogleGenerativeAI class to ignore type checking for this line 2024-06-19 20:17:39 -03:00
Gabriel Luiz Freitas Almeida
4a7aee44e0 refactor: Update ConditionalRouterComponent to return Message object instead of empty string 2024-06-19 20:16:48 -03:00
Gabriel Luiz Freitas Almeida
ae12c7a2d0 refactor: Update fetch_content return type to list[Data] 2024-06-19 20:16:42 -03:00
anovazzi1
bcafa2e5eb remove freeze from group 2024-06-19 20:03:21 -03:00
Gabriel Luiz Freitas Almeida
afd01e8c93 refactor: Update Prompt import in __init__.py 2024-06-19 20:02:17 -03:00
Gabriel Luiz Freitas Almeida
7809fba2aa refactor: Update CohereModel to import BaseChatModel from langchain_core 2024-06-19 20:02:10 -03:00
Gabriel Luiz Freitas Almeida
045c8123c9 refactor: Update GoogleGenerativeAIComponent to handle missing 'langchain_google_genai' package 2024-06-19 20:02:03 -03:00
Gabriel Luiz Freitas Almeida
776ff92f57 refactor: Import BaseChatModel in OllamaModel.py 2024-06-19 20:01:56 -03:00
Gabriel Luiz Freitas Almeida
9825f93fd2 refactor: Update ChromaVectorStoreComponent search_query handling 2024-06-19 20:01:49 -03:00
Gabriel Luiz Freitas Almeida
9c2086bc02 refactor: Update typing import in base.py 2024-06-19 20:01:40 -03:00
Gabriel Luiz Freitas Almeida
400e504247 refactor: Remove unused field formatters 2024-06-19 20:01:30 -03:00
Gabriel Luiz Freitas Almeida
9c24229cf6 refactor: Update AmazonBedrockEmbeddingsComponent import in __init__.py 2024-06-19 20:01:22 -03:00
Gabriel Luiz Freitas Almeida
b8b14bb36a refactor: Update get_message_from_openai_exception to handle None return value 2024-06-19 20:01:14 -03:00
Gabriel Luiz Freitas Almeida
2b1d46e883 refactor: Update langchain-aws dependency to version 0.1.6 2024-06-19 20:01:04 -03:00
anovazzi1
c2382b97db add output preview for grouped components 2024-06-19 19:46:19 -03:00
Gabriel Luiz Freitas Almeida
b97ec2436c refactor: Update Vertex class to use type annotations for display_name, description, frozen, is_input, and is_output 2024-06-19 19:32:16 -03:00
Gabriel Luiz Freitas Almeida
0fb4683262 refactor: Update StrInput to validate the given value 2024-06-19 19:31:38 -03:00
Gabriel Luiz Freitas Almeida
799c08fd84 refactor: Update frontend_node method in utils.py to use set_base_classes_from_outputs 2024-06-19 19:31:32 -03:00
Gabriel Luiz Freitas Almeida
e07aabd761 refactor: Update VectaraVectorStoreComponent to use new parameter names 2024-06-19 19:31:20 -03:00
Gabriel Luiz Freitas Almeida
7c2298b714 refactor: Remove max_tokens parameter from CohereModel 2024-06-19 19:31:14 -03:00
Gabriel Luiz Freitas Almeida
a9f6142820 Update inputs now that extras are forbid 2024-06-19 18:53:02 -03:00
Cezar Vasconcelos
0543934eec Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-19 21:12:13 +00:00
Cezar Vasconcelos
f93bdf8cd8 refactor: Update HuggingFaceEmbeddingsComponent and HuggingFaceInferenceAPIEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:12:07 +00:00
Gabriel Luiz Freitas Almeida
8e54c87cf3 refactor: Update model_config in BaseInputMixin to forbid extra fields 2024-06-19 18:11:27 -03:00
Cezar Vasconcelos
a180589f79 refactor: Update AmazonBedrockEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:09:54 +00:00
Cezar Vasconcelos
7884dcff8a refactor: AzureOpenAIEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:09:42 +00:00
Cezar Vasconcelos
4a0f4af9a7 refactor: Update OllamaEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:06:07 +00:00
Cezar Vasconcelos
4a201d478c refactor: Update VertexAIEmbeddingsComponent to use new Inputs/Outputs format 2024-06-19 21:04:46 +00:00
Cezar Vasconcelos
5d21466525 refactor: Cohere and Mistral Embeddings, new Inputs/Outputs format 2024-06-19 20:59:12 +00:00