Commit graph

4,149 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
8887b5ca28 🐛 fix(util.py): add logic to extract type from Union[Literal['f-string'], Literal['jinja2']] to improve type formatting
🐛 fix(test_prompts_template.py): fix incorrect value for "validate_template" field in test case
2023-11-03 10:47:58 -03:00
Gabriel Luiz Freitas Almeida
941cdd4990 📦 chore(ConversationChain.py): add ConversationChain component to handle conversations and load context from memory
📦 chore(LLMChain.py): add optional memory parameter to LLMChain build method to support loading context from memory
2023-11-02 22:54:17 -03:00
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
Gabriel Luiz Freitas Almeida
c1bc2de720 🐛 fix(buildTrigger): rename import of TabsState to FlowsState to improve semantics
🐛 fix(EditNodeModal): rename import of TabsState to FlowsState to improve semantics
🐛 fix(formModal): rename import of TabsState to FlowsState to improve semantics
🐛 fix(PageComponent): rename import of TabsState to FlowsState to improve semantics
🐛 fix(reactflowUtils): rename import of TabsState to FlowsState to improve semantics
🐛 fix(utils): rename import of TabsState to FlowsState to improve semantics
🚚 chore(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port
2023-11-02 09:41:39 -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
66cbeb8172
Merge branch 'dev' into fixCapitalErrors 2023-11-01 10:52:17 -03:00
anovazzi1
bf016801db fix(exportModal/index.tsx): add missing import statement for typesContext to fix compilation error
feat(exportModal/index.tsx): modify downloadFlow function to pass an object with id, data, description, and name properties instead of directly passing flow object to improve code readability and maintainability
2023-10-31 18:45:26 -03:00
anovazzi1
bd26be7ff2 Merge remote-tracking branch 'origin/dev' into bugFixes 2023-10-31 18:17:37 -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
igorrCarvalho
b48c813550 Refactor: Change tabsContext name to FlowsContext 2023-10-27 16:22:12 -03:00
kandakji
31245c2d96 Bedrock Embeddings custom component 2023-10-27 08:14:48 +02:00
Gabriel Luiz Freitas Almeida
4a399906ca
RELEASE - Bugfix - Allowing space on keypairlist (dict) value (#1073) 2023-10-26 22:16:58 -03: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
anovazzi1
a9a1316183 chore(tabsContext.tsx): import cloneDeep function from lodash to improve code readability and maintainability
fix(tabsContext.tsx): fix comment typo
fix(tabsContext.tsx): add missing semicolon to improve code consistency
fix(tabsContext.tsx): clone edge data object to prevent mutation of original object
refactor(PageComponent/index.tsx): remove unnecessary comment
2023-10-25 13:50:43 -03:00
anovazzi1
af996b171b fix(reactflowUtils.ts): comment out the line that deselects nodes after ungrouping to keep them selected 2023-10-25 13:37:59 -03:00
Gabriel Luiz Freitas Almeida
3983d0cdb1 Merge remote-tracking branch 'origin/dev' into v2 2023-10-25 12:43:44 -03:00
anovazzi1
64bdab071d fix(tabsContext.tsx): temporarily comment out the processFlowNodes function call to prevent node update 2023-10-25 12:05:36 -03:00
anovazzi1
27bc4c5498 fix(EditNodeModal): only reset data and call onClose when modalOpen is true to prevent unnecessary side effects 2023-10-23 22:47:41 -03:00
anovazzi1
6f40a94b55 update node internals on editNodeModal 2023-10-23 22:40:55 -03:00
anovazzi1
337f0f8794 fix(parameterComponent): update readonly condition to only check for data.node?.flow
fix(promptComponent): prevent update from prompt template after group node if prompt is wrongly marked as not dynamic
fix(EditNodeModal): update readonly condition to only check for myData.current.node?.flow
2023-10-19 15:02:32 -03:00
anovazzi1
b0bbe39c89 update har file getAll content 2023-10-19 14:40:27 -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
cristhianzl
e33f154cf2 fix(reactflowUtils.ts): modify convertValuesToNumbers function to correctly handle values that are numbers represented as strings
feat(reactflowUtils.ts): add check to convertValuesToNumbers function to only convert values that are valid numbers represented as strings
2023-10-18 23:59:48 -03:00
cristhianzl
2fbb68d6a6 fix(keyPairListComponent.spec.ts): fix typo in test case description
fix(keyPairListComponent.spec.ts): update test case to fill input field with a value containing spaces for better coverage
fix(keyPairListComponent.spec.ts): add assertion to check if input field value with spaces is correctly filled
fix(keyPairListComponent.spec.ts): update test case to fill input field with a value containing spaces for better coverage
fix(keyPairListComponent.spec.ts): update assertion to check if input field value with spaces is correctly filled
2023-10-18 23:58:09 -03:00
Cristhian Zanforlin Lousa
c939edbb2b
Fix no space no keyPairList (#1072)
fix(reactflowUtils.t): modify convertValuesToNumbers function to
correctly handle values that are numbers represented as strings
feat(reactflowUtils.ts): add check to convertValuesToNumbers function to
only convert values that are valid numbers represented as strings
2023-10-18 23:31: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
anovazzi1
ff650a13fb chore(run-tests.sh): increase sleep duration to 25 seconds to allow more time for the backend to start before running tests 2023-10-18 17:32:08 -03:00