The error message when failing to build the PGVector component was not clear and did not provide useful information. This commit changes the error message to be more descriptive and concise, providing only the relevant information about the failure.
🔧 fix(constants.py): update OpenAI chat models to use the latest versions for better performance and accuracy
🔧 fix(test_llms_template.py): update test case to use the latest OpenAI chat model for accurate testing
🔨 refactor(utils.py): rename variable 'return_type' to 'return_types' for clarity
🔨 refactor(types.py): add Optional and Union imports, add type hints for user_id parameter in build_field_config and build_langchain_template_custom_component functions
🐛 fix(test_prompts_template.py): fix value of validate_template to False to align with expected behavior
🐛 fix(test_template.py): update value of options to "gpt-4-1106-preview" to reflect the latest version
📦 chore(pyproject.toml): update openai version to 1.0.1 for new features and bug fixes
📦 chore(pyproject.toml): update pyarrow version to 14.0.0 for compatibility improvements
📦 chore(pyproject.toml): update supabase version to 2.0.3 for new features and bug fixes
📦 chore(pyproject.toml): update google-cloud-aiplatform version to 1.36.0 for compatibility improvements
🐛 fix(chat.py): handle KeyError when retrieving user_id from cache_service
✨ feat(chat.py): use user_id from cache_service instead of user.id in try_running_celery_task and vertex.build functions
🔧 chore(config.yaml): comment out ConversationChain in chains configuration
🔧 chore(base.py): import SQLDatabaseChain from langchain_experimental.sql module and add it to type_dict
🐛 fix(Metaphor.py): change beta variable type from string to boolean to match expected type
🐛 fix(GetRequest.py): change beta variable type from string to boolean to match expected type
🐛 fix(JSONDocumentBuilder.py): change beta variable type from string to boolean to match expected type
🐛 fix(PostRequest.py): change beta variable type from string to boolean to match expected type
🐛 fix(UpdateRequest.py): change beta variable type from string to boolean to match expected type
🐛 fix(Chroma.py): change beta variable type from string to boolean to match expected type
🐛 fix(Vectara.py): change beta variable type from string to boolean to match expected type
🐛 fix(component.py): change ERROR_CODE_NULL variable type from dict to string to match expected type
🐛 fix(custom_component.py): change code_class_base_inheritance variable type from dict to string to match expected type
🐛 fix(custom_component.py): change function_entrypoint_name variable type from dict to string to match expected type
🐛 fix(initialize/vector_store.py): change chromadb variable name to chromadb_instance for clarity
🐛 fix(database/manager.py): change expected_columns to use model_fields instead of __fields__ to match new SQLModel version
🐛 fix(database/models/base.py): remove unused model_config variable
🐛 fix(database/models/flow/flow.py): change validator decorator to field_validator to match new pydantic version
🐛 fix(settings.py): change root_validator decorator to model_validator to match new pydantic version