Gabriel Luiz Freitas Almeida
c23d797677
Add LLMChain component for running queries against
...
LLMs
2023-11-02 22:46:15 -03:00
Gabriel Luiz Freitas Almeida
d87b6228df
Update function base classes to use Callable
...
instead of function
2023-11-02 22:45:49 -03:00
Gabriel Luiz Freitas Almeida
5c5ef227d1
Add Callable to field_typing constants
2023-11-02 22:45:16 -03:00
Gabriel Luiz Freitas Almeida
cef6d78070
🔥 refactor(config.yaml): comment out LLMChain to disable it temporarily
...
The LLMChain has been commented out in the config.yaml file to disable it temporarily. This change was made to prevent the LLMChain from being used until further notice.
2023-11-02 22:44:43 -03:00
Gabriel Luiz Freitas Almeida
640c2b6ef2
🐛 fix(flow.py): make description field nullable with a default value of None to allow empty descriptions
...
🐛 fix(user.py): make last_login_at field nullable to handle cases where user has not logged in yet
🐛 fix(user.py): set default values for optional fields in UserUpdate model to None to avoid unexpected behavior
2023-11-02 22:21:10 -03:00
Gabriel Luiz Freitas Almeida
4bfaca5f21
🐛 fix(custom_component.py): fix syntax error in CustomComponent class definition
...
✨ feat(custom_component.py): add display_name and description class variables to CustomComponent for better customization and documentation
2023-11-02 22:20:57 -03:00
Gabriel Luiz Freitas Almeida
5320da2f06
🔧 fix(field_typing): import BaseLanguageModel in __init__.py to resolve missing import error
...
🔧 fix(constants.py): import BaseLanguageModel in constants.py to resolve missing import error
2023-11-02 22:19:19 -03:00
Gabriel Luiz Freitas Almeida
3fe4660c0e
🔀 chore(custom.py): update import statements to reflect changes in package structure
2023-11-02 22:18:38 -03:00
Gabriel Luiz Freitas Almeida
15e244f17a
Merge remote-tracking branch 'origin/dev' into v2
2023-11-02 17:09:04 -03: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
afee7508e0
🔧 chore(base.py): comment out unused json_loads and json_dumps arguments in model_config to improve code readability and remove warnings
2023-10-25 15:56:03 -03:00
Gabriel Luiz Freitas Almeida
91d21a1214
🐛 fix(base.py): handle import errors when importing utilities to prevent crashes during initialization
2023-10-25 15:55:37 -03:00
Gabriel Luiz Freitas Almeida
3983d0cdb1
Merge remote-tracking branch 'origin/dev' into v2
2023-10-25 12:43:44 -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