langflow/tests
Gabriel Luiz Freitas Almeida 58548cc242 🔧 chore(conftest.py): add new fixture for vector_store_grouped_json_flow to improve test coverage
🔧 chore(conftest.py): add new path for vector_store_grouped.json file to improve test coverage

🆕 feat(Vector Store): add Vector Store agent and Vector Store Info node

The Vector Store agent allows querying a Vector Store. It can be used to construct an agent from a Vector Store. The Vector Store Info node provides information about a Vector Store.

The Vector Store agent and Vector Store Info node are added to support the functionality of querying a Vector Store.

🔧 chore: update configuration options in the code
📝 docs: add information about the OpenAI API Base configuration option in the code comments

🔧 chore: update configuration for ChatOpenAI and Chroma nodes
📝 docs: update documentation for ChatOpenAI and Chroma nodes

🔧 chore(config): update OpenAIEmbeddings-YwSvx configuration options

The OpenAIEmbeddings-YwSvx configuration options have been updated to include new fields and values. This commit updates the configuration file to reflect these changes.

🔧 chore(config): update configuration options for OpenAIEmbeddings and Chroma

🔧 chore(config): update configuration options for OpenAIEmbeddings and Chroma to improve flexibility and customization

🔧 chore(config): update configuration options for RecursiveCharacterTextSplitter and WebBaseLoader
📝 docs(config): update configuration options for RecursiveCharacterTextSplitter and WebBaseLoader in documentation

🔧 chore(OpenAIEmbeddings): update OpenAIEmbeddings configuration options

The OpenAIEmbeddings node configuration options have been updated to include the following changes:
- `allowed_special` and `disallowed_special` now accept a list of values instead of a single value
- `chunk_size` now accepts an integer value
- `deployment` now accepts a string value
- `embedding_ctx_length` now accepts an integer value
- `headers` now supports multiline values
- `max_retries` now accepts an integer value
- `model` now accepts a string value
- `model_kwargs` now accepts code input
- `openai_api_base` now accepts a password input
- `openai_api_key` now accepts a password input
- `openai_api_type` now accepts a password input
- `openai_api_version` now accepts a password input
- `openai_organization` has been removed from the configuration options

🔧 chore: update OpenAIEmbeddings configuration options in the UI

The OpenAIEmbeddings configuration options in the UI have been updated to include the following changes:
- Added the `openai_organization` option to specify the OpenAI organization.
- Added the `openai_proxy` option to configure the OpenAI proxy.
- Added the `request_timeout` option to set the request timeout.
- Added the `show_progress_bar` option to control the display of progress bars.
- Added the `tiktoken_model_name` option to specify the Tiktoken model name.

These changes improve the flexibility and customization of the OpenAI embedding models.

🔧 chore: clean up unused code and remove unnecessary fields in the configuration file
📝 docs: update documentation link for the Chroma vectorstore module

🔧 fix: fix formatting issue in chunk_size field in RecursiveCharacterTextSplitter node configuration
🔧 fix: fix formatting issue in separator_type field in RecursiveCharacterTextSplitter node configuration
🔧 fix: fix formatting issue in separators field in RecursiveCharacterTextSplitter node configuration

📝 chore(vector_store_grouped.json): add vector_store_grouped.json test data file

🔀 chore(vector_store_grouped.json): add vector_store_grouped.json test data file

 test(graph.py): add test case for processing flow with grouped nodes and vector store
🔍 test(graph.py): add assertions to verify the correctness of the processed flow with grouped nodes and vector store
🔧 test(graph.py): update test case for updating template to make a deep copy of sample_nodes to keep it unchanged
2023-10-05 12:29:29 -03:00
..
data 🔧 chore(conftest.py): add new fixture for vector_store_grouped_json_flow to improve test coverage 2023-10-05 12:29:29 -03:00
conftest.py 🔧 chore(conftest.py): add new fixture for vector_store_grouped_json_flow to improve test coverage 2023-10-05 12:29:29 -03:00
test_agents_template.py 🔧 fix(test_agents_template.py): update test functions to include logged_in_headers parameter to test authenticated requests 2023-08-25 16:30:01 -03:00
test_api_key.py 🔥 refactor(user/utils.py): remove unused code and imports from user/utils.py module 2023-08-25 12:05:54 -03:00
test_cache.py fix the imports of orjson_dumps 2023-08-24 14:57:18 +00:00
test_cache_manager.py 🔧 fix(custom_component.py): fix import paths for session_getter and Flow models in custom_component.py file 2023-08-05 22:18:20 -03:00
test_chains_template.py 🔧 fix(test_agents_template.py): update test functions to include logged_in_headers parameter to test authenticated requests 2023-08-25 16:30:01 -03:00
test_cli.py 🐛 fix(__main__.py): rename serve command to run command for better semantics and clarity 2023-08-28 15:47:57 -03:00
test_creators.py 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_custom_component.py 🔥 refactor(models): remove Token model and references to it to simplify the codebase and remove unused code 2023-08-25 15:26:20 -03:00
test_custom_types.py 🚀 feat(customs.py): add PythonFunction to CUSTOM_NODES 2023-06-06 11:40:39 -03:00
test_database.py 🔧 fix(test_database.py): fix test_create_flow function signature to include active_user and logged_in_headers parameters 2023-08-25 12:49:57 -03:00
test_embeddings_template.py 🔨 refactor(embeddings.py): move openai fields formatting to a separate method 2023-05-28 16:18:33 -03:00
test_endpoints.py 🔧 fix(test_endpoints.py): fix typo in function name 'created_api_key' to 'create_api_key' for consistency 2023-08-27 19:16:39 -03:00
test_frontend_nodes.py 🔥 refactor(base.py): remove unused import statement 2023-05-30 23:48:49 -03:00
test_graph.py 🔧 chore(conftest.py): add new fixture for vector_store_grouped_json_flow to improve test coverage 2023-10-05 12:29:29 -03:00
test_llms_template.py 🐛 fix(test_cli.py): update CLI command in test_components_path to use 'serve' subcommand for better clarity and consistency 2023-08-28 11:16:37 -03:00
test_loading.py 🐛 fix(flows.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 2023-08-22 11:04:41 -03:00
test_login.py feat(test_login.py): add tests for login functionality 2023-08-25 10:17:36 -03:00
test_process.py 🚀 feat(test_process.py): add tests for loading langchain object with and without cached session 2023-08-16 21:30:07 -03:00
test_prompts_template.py 🐛 fix(test_prompts_template.py): set "dynamic" property to True for input_variables, output_parser, partial_variables, template, template_format, and validate_template to enable dynamic behavior in prompt templates 2023-09-21 14:45:27 -03:00
test_template.py test(test_template.py): add assertion to check if result is not None 2023-06-23 10:53:53 -03:00
test_user.py 🐛 fix(__main__.py): pass the session as a keyword argument 'db' to the create_super_user function for clarity and consistency 2023-08-31 11:16:39 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
test_vectorstore_template.py 🔧 fix(test_agents_template.py): update test functions to include logged_in_headers parameter to test authenticated requests 2023-08-25 16:30:01 -03:00
test_websocket.py 🐛 fix(chat.py): add missing import statement for Query from fastapi 2023-08-25 17:01:32 -03:00