refactor: reorganize memory components and enhance model inputs with improved documentation (#4529)
* new components improvements * ✨ (create_data.py): introduce a new 'legacy' attribute to mark the component as legacy code * [autofix.ci] apply automated fixes * chaing langchain hub name * 📝 (run_flow.py): remove beta flag from RunFlowComponent to indicate it is no longer in beta 📝 (extract_key.py): remove beta flag from ExtractDataKeyComponent to indicate it is no longer in beta * Updated generic icon component to load icons if already not lazy imported * [autofix.ci] apply automated fixes * merge fix * 📝 (store_message.py): add 'advanced' parameter to the 'Session ID' field to indicate it is an advanced setting * [autofix.ci] apply automated fixes * new components sweep * [autofix.ci] apply automated fixes * fix tests * [autofix.ci] apply automated fixes * ✨ (filterSidebar.spec.ts): Update test descriptions to reflect the correct component names for better clarity and maintainability ♻️ (freeze.spec.ts): Refactor test to use the correct component name for consistency and readability ♻️ (stop-building.spec.ts): Refactor test to use the correct component name for consistency and readability ♻️ (generalBugs-shard-9.spec.ts): Refactor test to use the correct component name for consistency and readability ♻️ (filterEdge-shard-1.spec.ts): Refactor test to use the correct component name for consistency and readability * style: Improve YahooFinanceToolComponent description and code readability Enhance clarity in the component's purpose and refine inline formatting to boost maintainability. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
f978223744
commit
8d89bf4ff4
48 changed files with 63 additions and 58 deletions
|
|
@ -3,8 +3,8 @@ from collections import deque
|
|||
from typing import TYPE_CHECKING
|
||||
|
||||
import pytest
|
||||
from langflow.components.helpers.memory import MemoryComponent
|
||||
from langflow.components.inputs import ChatInput
|
||||
from langflow.components.memories import MemoryComponent
|
||||
from langflow.components.models import OpenAIModelComponent
|
||||
from langflow.components.outputs import ChatOutput
|
||||
from langflow.components.prompts import PromptComponent
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ from textwrap import dedent
|
|||
import pytest
|
||||
from langflow.components.data import FileComponent
|
||||
from langflow.components.embeddings import OpenAIEmbeddingsComponent
|
||||
from langflow.components.helpers import SplitTextComponent
|
||||
from langflow.components.inputs import ChatInput
|
||||
from langflow.components.models import OpenAIModelComponent
|
||||
from langflow.components.outputs import ChatOutput
|
||||
from langflow.components.processing import ParseDataComponent
|
||||
from langflow.components.processing.split_text import SplitTextComponent
|
||||
from langflow.components.prompts import PromptComponent
|
||||
from langflow.components.vectorstores import AstraVectorStoreComponent
|
||||
from langflow.graph import Graph
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue