Commit graph

1,857 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
fd4918f334 Refactor RedisComponent in vectorstores 2023-11-08 13:49:26 -03:00
Gabriel Luiz Freitas Almeida
8dfcd06d46 🔧 fix(OpenAIConversationalAgent.py): update OpenAI conversational agent models to use the latest versions for better performance and accuracy
🔧 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
2023-11-08 13:48:17 -03:00
Gabriel Luiz Freitas Almeida
5fa3a72207
feat: redis vector store client (#1114) 2023-11-08 11:52:52 -03:00
Lanznx
12453d1187 feat: redis vector store client 2023-11-06 15:31:58 +08:00
Gabriel Luiz Freitas Almeida
650398f2f4
modify get_current_user to accept api_key as authentication method (#1108) 2023-11-04 10:29:31 -03:00
Maryam Abdoli
b5b66ef077 fix tests by reverting the chat endpoint dependecies 2023-11-03 18:29:51 -04:00
Maryam Abdoli
ef949838e2 fix lints and also the bug in the get_current_user 2023-11-03 13:01:28 -04:00
Maryam Abdoli
83425b09cd handle all exceptions during user retrieving 2023-11-03 09:29:24 -04:00
Gladson
819c283fe3
fix(base.py): change import to from platformdirs 2023-11-03 02:36:05 -04:00
Gladson
7713173da7
fix(logger.py): change appdirs dependency to platformdirs 2023-11-03 02:11:12 -04:00
Gladson
307c526d6a
fix(base.py): change appdirs dependency to platformdirs 2023-11-03 02:08:36 -04:00
Gladson
1023522e5e
fix(utils.py): change appdirs dependency to platformdirs 2023-11-03 02:06:25 -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