Maryam Abdoli
83425b09cd
handle all exceptions during user retrieving
2023-11-03 09:29:24 -04:00
Maryam Abdoli
5686a6fd63
pass the oauth2 token to the fastapi Security
2023-11-02 16:35:00 -04:00
Maryam Abdoli
a39cdb93ee
modify get_current_user to accept api_key as authentication method
2023-11-02 10:26:10 -04:00
kandakji
752a90030c
Merge remote-tracking branch 'upstream/dev' into dev
2023-11-01 19:30:42 +01:00
Gabriel Luiz Freitas Almeida
d85cd1a3c1
bugfix: patched csv agent ( #1095 )
2023-11-01 11:16:20 -03:00
Gabriel Luiz Freitas Almeida
c5df63baeb
🔧 chore(Chroma.py): update display_name of ChromaComponent to improve clarity and remove unnecessary information
...
🔧 chore(config.yaml): comment out Chroma vectorstore configuration to disable it temporarily
2023-10-31 15:27:49 -03:00
Gabriel Luiz Freitas Almeida
ddf14638e5
Format
2023-10-31 15:22:26 -03:00
Gabriel Luiz Freitas Almeida
8221079a32
Merge remote-tracking branch 'origin/main' into dev
2023-10-31 15:21:29 -03:00
Gabriel Luiz Freitas Almeida
2f21eb2141
[New feature] Add support for Amazon Bedrock, Amazon Kendra ( #1053 )
2023-10-31 10:04:05 -03:00
Gabriel Luiz Freitas Almeida
c49d0c7faf
🐛 fix(loading.py): fix issue with search_kwargs assignment in instantiate_vectorstore function
...
🔧 chore(loading.py): refactor instantiate_vectorstore function to clean up docs or texts to have only documents
2023-10-30 20:32:48 -03:00
martins0n
21c38aaa01
fix: patched csv agent
2023-10-30 23:02:13 +03:00
Yuki Sekiya
3d35d34544
Fix wrong text
2023-10-29 14:15:49 +09:00
kandakji
31245c2d96
Bedrock Embeddings custom component
2023-10-27 08:14:48 +02:00
kandakji
e136b62e7a
[New feature] Amazon Bedrock Embedding & AWS Logo
2023-10-26 16:31:45 +02:00
Lucas Oliveira
42d56f70ed
Revert "Merge branch 'release' into dev"
...
This reverts commit dd3f3d4ca8 , reversing
changes made to 27bc4c5498 .
2023-10-25 20:14:28 -03:00
Lucas Oliveira
dd3f3d4ca8
Merge branch 'release' into dev
2023-10-25 20:06:21 -03:00
Gabriel Luiz Freitas Almeida
229717a98a
🐛 fix(endpoints.py): fix missing return statement in get_all function
...
🐛 fix(base.py): fix issue with args_schema value for PythonInputs template
🐛 fix(test_prompts_template.py): fix incorrect value for validate_template
2023-10-25 18:13:58 -03:00
Gabriel Luiz Freitas Almeida
f6ab266294
🐛 fix(base.py): handle import errors when importing utilities to prevent application crashes
...
The code now handles import errors when importing utilities from the `langchain.utilities` module. If an import error occurs, the utility is skipped and not added to the `type_dict` dictionary. This prevents the application from crashing when encountering an invalid or missing utility.
2023-10-25 15:57:48 -03:00
Gabriel Luiz Freitas Almeida
68e5cb4cce
Merge remote-tracking branch 'origin/main' into dev
2023-10-19 11:04:09 -03:00
Gabriel Luiz Freitas Almeida
0286353695
🐛 fix(base.py): include vertex ID in error message to provide more context when building a node fails
2023-10-19 09:25:53 -03:00
Gabriel Luiz Freitas Almeida
08bd16b8f2
🔧 chore(OpenAIConversationalAgent.py): enable handling of parsing errors in ConversationalAgent class
2023-10-18 22:14:14 -03:00
Gabriel Luiz Freitas Almeida
a497eebab1
🔧 fix(__main__.py): set "no_proxy" environment variable to "*" to avoid error with gunicorn in macos
2023-10-18 19:57:28 -03:00
Yuki Sekiya
ef7bd714b2
Merge branch 'dev' into feat/aws
2023-10-18 22:43:44 +09:00
Gabriel Luiz Freitas Almeida
b8905dec6d
🔧 chore(Vectara.py): change single quotes to double quotes for consistency in source parameter value
2023-10-17 10:15:54 -03:00
Gabriel Luiz Freitas Almeida
275e10daf6
🐛 fix(base.py): make description field optional to allow for cases where no description is provided
2023-10-17 10:15:32 -03:00
Gabriel Luiz Freitas Almeida
9b36e64c57
🐛 fix(BaiduQianfanChatEndpoints.py): add type ignore comments to fix type errors
...
🐛 fix(BaiduQianfanLLMEndpoints.py): add type ignore comments to fix type errors
2023-10-17 10:13:49 -03:00
Gabriel Luiz Freitas Almeida
e2cf4f0234
support baidu qianfan endpoint for LLM ( #1045 )
2023-10-17 09:56:58 -03:00
hekai09
851da1cb4e
support baidu qianfan endpoint for LLM
2023-10-17 15:22:00 +08:00
Yuki Sekiya
2cafb33b8e
Add argument for AmazonBedrock and Amazon Kendra
2023-10-15 02:25:45 +09:00
Yuki Sekiya
8abfb7a00e
Add Amazon Kendra Retriver
2023-10-15 01:41:44 +09:00
Yuki Sekiya
0881904892
fix error message
2023-10-15 01:41:25 +09:00
Yuki Sekiya
6d9bd1ae71
Add Amazon Bedrock Support
2023-10-15 01:11:40 +09:00
Ofer Mendelevitch
7fbb1078da
update of Vectara component
2023-10-14 03:03:30 -07:00
Gabriel Luiz Freitas Almeida
7bdf564170
🔧 chore(constants.py): clean up import statements and remove unnecessary whitespace to improve code readability
...
🐛 fix(custom_component.py): set the type of argument to "Data" if it is not specified to ensure consistency and prevent errors
2023-10-12 19:23:45 -03:00
Gabriel Luiz Freitas Almeida
4366b02c4f
🔀 chore(field_typing): reorganize imports and update __all__ list for better readability and maintainability
...
🔥 chore(field_typing): remove unused base.py file as it is no longer needed
🔀 chore(constants): update import statements and add type aliases for better readability and maintainability
2023-10-12 19:23:13 -03:00
Gabriel Luiz Freitas Almeida
dad8480ce3
🔨 refactor(HuggingFaceEndpoints.py): update import statement for HuggingFaceEndpoint class to match new file structure
...
🔧 chore(HuggingFaceEndpoints.py): remove unused import statement for langchain.llms.base module
🔧 chore(HuggingFaceEndpoints.py): remove unused "type" field from task parameter in build method signature
🔧 chore(HuggingFaceEndpoints.py): add default value for task parameter in build method signature
🔧 chore(HuggingFaceEndpoints.py): add default values for huggingfacehub_api_token and model_kwargs parameters in build method signature
🐛 fix(HuggingFaceEndpoints.py): add model_kwargs parameter to HuggingFaceEndpoint constructor to fix missing argument error
2023-10-12 19:22:41 -03:00
Gabriel Luiz Freitas Almeida
964b4ec7f2
🐛 fix(base.py): improve code readability by formatting the CreateTrace function call in multiple lines
2023-10-12 16:29:48 -03:00
Gabriel Luiz Freitas Almeida
6abd5d5343
🐛 fix(base.py): handle cases where value is not a valid int or float to prevent ValueError and assign the original value instead
2023-10-12 16:29:30 -03:00
Gabriel Luiz Freitas Almeida
8f20105b4b
🔧 fix(custom_component.py): fix import statement for CUSTOM_COMPONENT_SUPPORTED_TYPES
...
🔧 fix(custom_component.py): fix argument type in return statement of CustomComponent.get_args()
🔧 fix(custom_components.py): make description attribute optional in CustomComponentFrontendNode class
2023-10-11 18:33:13 -03:00
Gabriel Luiz Freitas Almeida
846a15f9fd
🐛 fix(base.py): convert "int" and "float" type values to their respective types for better data consistency and type safety
2023-10-11 18:32:56 -03:00
Gabriel Luiz Freitas Almeida
440298861c
🔄 refactor(types.py): update import statement for CUSTOM_COMPONENT_SUPPORTED_TYPES to match new location in field_typing module
2023-10-11 18:32:19 -03:00
Gabriel Luiz Freitas Almeida
df66ae848e
🔀 chore(field_typing): add support for additional types in field_typing/__init__.py
...
🔀 chore(field_typing): add support for Data type in field_typing/base.py
🔀 chore(field_typing): add constants.py file to define supported types in field_typing
🔀 chore(interface/custom): remove duplicate imports and use field_typing types
🔀 chore(utils): fix syntax error in get_base_classes function
2023-10-11 18:31:05 -03:00
Gabriel Luiz Freitas Almeida
b2205bba8a
🐛 fix(types.py): add output types to the frontend node to improve data integrity and error handling
...
✨ feat(types.py): add support for adding output types to the frontend node to ensure valid return types and improve error handling
2023-10-11 17:33:32 -03:00
Guangya Liu
7c9f649f01
added trace name
2023-10-11 14:21:41 -04:00
Gabriel Luiz Freitas Almeida
7ffe366fb8
🐛 fix(manager.py): fix incorrect check for alembic initialization and add proper error handling
...
✨ feat(manager.py): add support for initializing alembic if not already initialized before running migrations
2023-10-10 15:01:48 -03:00
Gabriel Luiz Freitas Almeida
9697e06ec9
🐛 fix(change_columns_to_be_nullable.py): add exception handling and rollback in case of SQLAlchemyError to prevent data loss during migration
2023-10-10 15:00:13 -03:00
anovazzi1
6ae41c265c
Merge remote-tracking branch 'origin/dev' into bugfix_minimizeNode
2023-10-10 13:39:01 -03:00
anovazzi1
0718819a10
fix invalid json strings
2023-10-09 21:26:40 -03:00
Gabriel Luiz Freitas Almeida
44bebf7d6b
Merge remote-tracking branch 'origin/dev' into newGroupNode
2023-10-09 10:48:35 -03:00
Gabriel Luiz Freitas Almeida
61a5c9dcdb
🐛 fix(utils.py): improve error handling in initialize_database() function
...
The `initialize_database()` function now handles two specific exceptions: "overlaps with other requested revisions" and "Can't locate revision identified by". If either of these exceptions occur, they will not be raised and instead the `alembic_version` table will be deleted. This change improves the error handling and ensures that the database is properly initialized.
2023-10-07 12:03:51 -03:00