Commit graph

2,193 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
b3ea99ece3 Refactor user model imports 2023-11-24 12:52:33 -03:00
Gabriel Luiz Freitas Almeida
42bd345162 Merge branch 'dynamic_field' into feature/store 2023-11-24 12:51:41 -03:00
Gabriel Luiz Freitas Almeida
3cbb58e6e1 Add check for existing credential name in
create_credential
2023-11-24 12:47:12 -03:00
Gabriel Luiz Freitas Almeida
d61df94849 Add CredentialServiceFactory to utils.py 2023-11-24 12:47:11 -03:00
Gabriel Luiz Freitas Almeida
280b72adab Refactor frontend_node/base.py 2023-11-24 12:47:11 -03:00
Gabriel Luiz Freitas Almeida
eabafd4bab Refactor Credential model and update provider
field
2023-11-24 12:47:10 -03:00
Gabriel Luiz Freitas Almeida
2cc2fa3500 Update AcceptedProviders enum to CredentialType
enum
2023-11-24 12:47:10 -03:00
Gabriel Luiz Freitas Almeida
53a1aa57bc Fix user_id attribute modification in Component
class
2023-11-24 12:47:09 -03:00
Gabriel Luiz Freitas Almeida
26bc28b0e1 Reorder imports and fix import statements in
LLMChain.py
2023-11-24 12:47:09 -03:00
anovazzi1
5c3d064ad1 code format 2023-11-24 12:45:00 -03:00
Gabriel Luiz Freitas Almeida
2c6962b86d Fix user_id modification and add warning 2023-11-24 11:21:24 -03:00
Gabriel Luiz Freitas Almeida
c53775ddf9 Fix user_id modification in Component class 2023-11-24 11:19:25 -03:00
Gabriel Luiz Freitas Almeida
f52b7177f7 Refactor API router and add credentials router 2023-11-24 11:19:24 -03:00
Gabriel Luiz Freitas Almeida
5cd212a0f2 Add CredentialService to handle user credentials 2023-11-24 11:19:23 -03:00
Gabriel Luiz Freitas Almeida
74ac238a4e Adds Credential table 2023-11-24 11:19:23 -03:00
Gabriel Luiz Freitas Almeida
9d6cafd8a2 Update database model imports 2023-11-24 11:19:22 -03:00
Gabriel Luiz Freitas Almeida
37e7c99ca2 Add metadata and comp_count variables 2023-11-23 17:43:30 -03:00
Gabriel Luiz Freitas Almeida
5dc419e25f Fix APIKeyError status code 2023-11-23 17:30:05 -03:00
Gabriel Luiz Freitas Almeida
595006cb77 Update AgentInitializerComponent to initialize a
Langchain Agent
2023-11-23 17:30:05 -03:00
Gabriel Luiz Freitas Almeida
8b1895ccf3 Update AgentInitializerComponent documentation
link
2023-11-23 15:55:27 -03:00
Gabriel Luiz Freitas Almeida
29cef91e6f Add AgentInitializerComponent to initialize agents 2023-11-23 15:38:40 -03:00
Gabriel Luiz Freitas Almeida
4580d428e5 Fix import statement in constants.py 2023-11-23 15:38:24 -03:00
Gabriel Luiz Freitas Almeida
4e5ec2a4de Add caching for langchain types dictionary 2023-11-23 12:16:39 -03:00
Gabriel Luiz Freitas Almeida
19f998a326 Add custom component reload endpoint 2023-11-23 12:16:28 -03:00
Gabriel Luiz Freitas Almeida
943ef39050 Refactor API endpoints and validate custom
component code
2023-11-23 11:50:31 -03:00
Gabriel Luiz Freitas Almeida
2b882bd276 Add menu path to component template 2023-11-23 11:49:54 -03:00
Gabriel Luiz Freitas Almeida
843eeac7ee Fix caching bug in CodeParser 2023-11-23 11:49:46 -03:00
Gabriel Luiz Freitas Almeida
2f6a2f3efb Fix caching bug in get_code_tree method 2023-11-23 11:49:24 -03:00
Gabriel Luiz Freitas Almeida
4d285000cf Fix code validation and return type in
CustomComponent
2023-11-23 11:49:13 -03:00
Gabriel Luiz Freitas Almeida
49c9187e9c Update return type extraction to return a list
instead of a tuple
2023-11-23 11:49:04 -03:00
Gabriel Luiz Freitas Almeida
7a521fa6cb Add new loaders to constants.py 2023-11-23 11:48:14 -03:00
Gabriel Luiz Freitas Almeida
ccfd8e8acd Refactor file loader component 2023-11-23 11:48:06 -03:00
Gabriel Luiz Freitas Almeida
6fea589778 Refactor construct_eval_env method in CodeParser
class
2023-11-23 11:09:19 -03:00
Gabriel Luiz Freitas Almeida
14db3c0263 Refactor function_args check in add_extra_fields() 2023-11-23 10:57:23 -03:00
Gabriel Luiz Freitas Almeida
48dbbf1dd3 Add caching for code parsing 2023-11-23 10:57:15 -03:00
Gabriel Luiz Freitas Almeida
946bf03190 Add cache functionality to Component class 2023-11-23 10:57:11 -03:00
Gabriel Luiz Freitas Almeida
f4210f567b Add caching to CustomComponent class 2023-11-23 10:57:06 -03:00
Gabriel Luiz Freitas Almeida
bcd13e18f3 Fix missing type for argument in CustomComponent
class
2023-11-23 10:37:59 -03:00
Gabriel Luiz Freitas Almeida
65c1a1b241 Add typing imports to constants.py 2023-11-23 10:37:44 -03:00
Gabriel Luiz Freitas Almeida
1da20fadef Fix async issue in CustomComponent and
decrypt_api_key function
2023-11-23 10:03:48 -03:00
Gabriel Luiz Freitas Almeida
49da01345e Fix variable type annotation in CodeParser class 2023-11-23 10:03:40 -03:00
Gabriel Luiz Freitas Almeida
33d2b9d6aa Refactor agent imports and remove unused imports 2023-11-23 10:03:34 -03:00
Gabriel Luiz Freitas Almeida
fdaca098d9 Fix error in evaluating custom component code 2023-11-23 10:03:27 -03:00
Gabriel Luiz Freitas Almeida
1dc7053fbf Refactor flatten_query_string_lists function 2023-11-23 10:03:19 -03:00
Gabriel Luiz Freitas Almeida
0541078e43 Update typing import in
OpenAIConversationalAgent.py
2023-11-23 10:03:12 -03:00
Gabriel Luiz Freitas Almeida
05d7bd2386 Update OpenAIConversationalAgent.py 2023-11-23 09:36:24 -03:00
Gabriel Luiz Freitas Almeida
842ba2835a Makes build method async to support async in CC 2023-11-23 09:36:15 -03:00
Gabriel Luiz Freitas Almeida
686b97e695 Refactor eval_custom_component_code function
signature
2023-11-23 08:40:59 -03:00
Gabriel Luiz Freitas Almeida
e3c35335be Fix import statement in types.py 2023-11-23 08:40:20 -03:00
Gabriel Luiz Freitas Almeida
d7fdea2a89 Refactor loading.py: Import changes and
instantiate_custom_component modification
2023-11-23 08:40:14 -03:00