Commit graph

5,851 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
87db2f4d0b 🐛 fix(PromptRunner.py): change beta variable type from string to boolean to match expected type
🐛 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
2023-11-03 11:50:03 -03:00
Gabriel Luiz Freitas Almeida
4f2a4ce13c 🔧 chore(custom_component.py): refactor class variables to use assignment instead of type annotations for better readability and consistency 2023-11-03 11:11:30 -03:00
Gabriel Luiz Freitas Almeida
1a8825f491 Add memory info to ConversationChainComponent 2023-11-03 11:11:10 -03:00
Gabriel Luiz Freitas Almeida
12cc665566 🔧 chore(pyproject.toml): update black, mypy, pytest, types-requests, requests, and pytest-cov dependencies to their latest versions for better compatibility and functionality 2023-11-03 11:05:59 -03:00
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
71aeda669e 🔨 refactor(test_chains_template.py): remove unused test functions to improve code readability and maintainability 2023-11-03 09:37:23 -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
4472263c24 ⬆️ chore(pyproject.toml): update chromadb version from 0.3.21 to 0.4.0 for compatibility and bug fixes
⬆️ chore(pyproject.toml): update pypdf version from 3.15.0 to 3.17.0 for compatibility and bug fixes
2023-11-02 22:43:09 -03:00
Gabriel Luiz Freitas Almeida
c90fe4cc8f 🐛 fix(test_user.py): fix linting issue by adding noqa comment to long lines 2023-11-02 22:35:24 -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
93d0ba79f1 🔧 fix(conftest.py): add description field to the FlowCreate object to provide additional information about the flow 2023-11-02 22:20:16 -03:00
Gabriel Luiz Freitas Almeida
780b0d68d8 🔧 fix(test_database.py): add description field to FlowCreate object to fix test failure caused by missing required field
🐛 fix(test_user.py): update error message and details for invalid UUID input in test_patch_user_wrong_id and test_delete_user_wrong_id to provide more specific information
2023-11-02 22:19:58 -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
Gabriel Luiz Freitas Almeida
98e0668e10 New lock 2023-11-01 19:28:54 -03:00
Gabriel Luiz Freitas Almeida
28e0c5a415
[New feature] Add support for Embeddings model from Amazon Bedrock & documentation (#1086) 2023-11-01 19:28:00 -03:00
kandakji
6ff9a7e9e1 dependency fix 2023-11-01 19:44:18 +01:00
kandakji
752a90030c Merge remote-tracking branch 'upstream/dev' into dev 2023-11-01 19:30:42 +01:00
kandakji
f73a77a9cf
Merge pull request #1 from kandakji/bedrock-embedding-custom-component
Bedrock Embeddings custom component
2023-11-01 19:25:11 +01:00
Gabriel Luiz Freitas Almeida
d85cd1a3c1
bugfix: patched csv agent (#1095) 2023-11-01 11:16:20 -03:00
Gabriel Luiz Freitas Almeida
cbe27f867f
Fix capital errors (#1061) 2023-11-01 10:52:28 -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
002eb97b66
Bug fixes (#1104) 2023-10-31 18:20:39 -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
489269c069
Release 0.5.5 (#1096) 2023-10-30 22:23:42 -03:00
Gabriel Luiz Freitas Almeida
98f444b32e Merge remote-tracking branch 'origin/main' into release 2023-10-30 20:36:59 -03:00
Gabriel Luiz Freitas Almeida
cde4e0e83b 🔖 chore(pyproject.toml): bump version from 0.5.4 to 0.5.5 to indicate a new release with updates 2023-10-30 20:36:25 -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
anovazzi1
efe0197b43
Change tabsContext name to FlowsContext (#1089) 2023-10-30 20:28:56 -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
06dedcc90d Amazon Titan Embeddings documentation 2023-10-26 20:39:26 +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