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
Gabriel Luiz Freitas Almeida
096f3ae1fc
🔨 refactor(utils.py): rename get_function_custom to eval_custom_component_code for better clarity and consistency
...
✨ feat(utils.py): add type hinting to eval_custom_component_code function for better code readability and maintainability
🔨 refactor(utils.py): move import statement for PromptTemplate to the correct location for better organization
🔨 refactor(utils.py): move import statement for validate to the correct location for better organization
🔨 refactor(utils.py): remove unused imports and reorganize import statements for better organization
2023-11-23 08:39:51 -03:00
Gabriel Luiz Freitas Almeida
783c0e6436
Refactor code to dynamically create classes from
...
strings
2023-11-23 08:39:39 -03:00
Gabriel Luiz Freitas Almeida
fb3e4b88c5
Remove unused code and comments
2023-11-22 21:21:05 -03:00
Gabriel Luiz Freitas Almeida
0cc0d8b556
Fix return type in CallableCodeDetails constructor
2023-11-22 21:21:04 -03:00
Gabriel Luiz Freitas Almeida
da5fe77864
🔧 chore(utils.py): reorder imports to group loguru and langflow imports together for better readability
...
🐛 fix(utils.py): add raw_output parameter to get_result_and_steps function call to fix a bug where raw output was not being returned correctly
✨ feat(utils.py): add raw_output to the return statement of process_graph function to expose the raw output of get_result_and_steps function
2023-11-22 21:21:04 -03:00
Gabriel Luiz Freitas Almeida
5ad4da0ab9
Add support for generating a markdown table from
...
source documents
2023-11-22 21:21:03 -03:00
Gabriel Luiz Freitas Almeida
0a38f2d271
Add output to return statement in
...
get_result_and_steps function
2023-11-22 21:21:02 -03:00
Gabriel Luiz Freitas Almeida
5bd379e714
Refactor graph utils module and add
...
raw_topological_sort function
2023-11-22 21:21:02 -03:00
Gabriel Luiz Freitas Almeida
98bacf5f74
Refactor graph base module
2023-11-22 21:21:01 -03:00
Gabriel Luiz Freitas Almeida
a0c985d426
Fix import formatting
2023-11-22 21:21:00 -03:00
Gabriel Luiz Freitas Almeida
eaad86cd29
Refactor field configuration and error handling in
...
types.py
2023-11-22 21:20:59 -03:00
Gabriel Luiz Freitas Almeida
7eb2b27653
Refactor code_parser.py to include aliases in
...
imports and construct an evaluation environment
for return type
2023-11-22 21:20:58 -03:00
Gabriel Luiz Freitas Almeida
15cc7667a7
🐛 fix(custom_component.py): update import statements and function calls to match changes in utils module
...
🔀 merge(custom_component.py): merge changes from utils module to handle generic aliases correctly in return type parsing
2023-11-22 21:20:57 -03:00
Gabriel Luiz Freitas Almeida
504088bd82
Refactor schema.py to import typing and reorder
...
imports
2023-11-22 21:20:56 -03:00
Gabriel Luiz Freitas Almeida
1eb7c770a9
Refactor import statements and handle
...
OpenAIEmbedding in instantiate_embedding function
2023-11-22 21:20:56 -03:00
Gabriel Luiz Freitas Almeida
5812d3b91e
Add type hint extraction functions for
...
GenericAlias
2023-11-22 21:20:55 -03:00
Gabriel Luiz Freitas Almeida
c57e9c2392
🐛 fix(flow.py): fix the validation of the "updated_at" field to return the value if it's not None or a datetime object
2023-11-22 16:02:46 -03:00
Gabriel Luiz Freitas Almeida
b633afba8d
🔀 chore(constants.py): reorganize imports in constants.py for better readability and maintainability
2023-11-22 11:00:49 -03:00
Gabriel Luiz Freitas Almeida
c091291500
Fix component update logic in StoreService
2023-11-22 08:47:11 -03:00
Gabriel Luiz Freitas Almeida
d68c2b7879
Refactor Flow model serialization and validation
2023-11-22 08:22:30 -03:00
Gabriel Luiz Freitas Almeida
b2c8702db1
Update CustomComponent class to include a status
...
attribute
2023-11-21 22:46:00 -03:00
Gabriel Luiz Freitas Almeida
dda7096984
Fix error handling in StoreService
2023-11-21 22:44:45 -03:00
Lucas Oliveira
12d6b4746a
Added ID filter to LangFlow
2023-11-21 22:15:16 -03:00
Gabriel Luiz Freitas Almeida
3ec4ba14ab
Update FlowBase model in flow.py
2023-11-21 21:03:27 -03:00
Gabriel Luiz Freitas Almeida
cb000dd248
Adds updated_at and folder cols to flow table
2023-11-21 21:00:22 -03:00
Gabriel Luiz Freitas Almeida
7a98ce7c36
Adds updated_at and folder cols
2023-11-21 20:57:07 -03:00
Gabriel Luiz Freitas Almeida
2ba1716fb5
Refactor store service and store API
2023-11-21 20:29:49 -03:00
Gabriel Luiz Freitas Almeida
bf11ee9a10
🔧 fix(login.py): remove unnecessary dependency on get_current_active_user in refresh_token endpoint
2023-11-21 20:09:27 -03:00
Gabriel Luiz Freitas Almeida
1656896b1c
Add fields parameter to get_components API
2023-11-21 20:07:31 -03:00
Gabriel Luiz Freitas Almeida
5af8a82a13
Refactor StoreService class to include fields
...
parameter in search method
2023-11-21 20:07:25 -03:00
Gabriel Luiz Freitas Almeida
754e6e845a
🔧 fix(utils.py): update error message in get_current_user function to include JWT token as a valid authentication method
2023-11-21 20:07:04 -03:00
Gabriel Luiz Freitas Almeida
0f21f1c800
🔧 chore(schema.py): add 'private' field to the ListComponentResponse schema to support private components
2023-11-21 17:20:59 -03:00
Gabriel Luiz Freitas Almeida
586f1d5f8f
🔧 chore(service.py): reorder imports to follow PEP8 guidelines
...
🔧 chore(service.py): remove duplicate import of logger from loguru module
🔧 chore(service.py): add "private" field to the list of fields to retrieve from the store API
2023-11-21 17:15:34 -03:00
Gabriel Luiz Freitas Almeida
020488e97b
Fix typos and update method names
2023-11-21 14:49:47 -03:00
Gabriel Luiz Freitas Almeida
f956c2a77e
Fix store_api_Key typo in get_components function
2023-11-21 14:45:23 -03:00
Gabriel Luiz Freitas Almeida
c6dfb90bcf
🐛 fix(flows.py): remove unused imports and fix function call to read_flows
...
🐛 fix(test_database.py): fix function call to Flow.model_validate
🐛 fix(test_llms_template.py): fix values in test cases
🔥 chore(test_store.py): remove unused test file and test case
2023-11-21 14:45:02 -03:00
Gabriel Luiz Freitas Almeida
62e470b03b
Add store parameter to run function
2023-11-21 11:29:08 -03:00
Gabriel Luiz Freitas Almeida
9dbb8d3578
🔧 fix(store.py): remove unnecessary comment in download_component function
...
🔧 fix(utils.py): replace requests library with httpx library for getting latest released version of langflow from PyPI to improve performance and reliability
2023-11-20 21:35:12 -03:00
Gabriel Luiz Freitas Almeida
5c65e18289
Fix exception handling in API endpoints
2023-11-20 21:13:41 -03:00
Gabriel Luiz Freitas Almeida
3753c2884c
Update base.py with new store URLs
2023-11-20 21:04:39 -03:00
Gabriel Luiz Freitas Almeida
437aec4e44
Refactor import statements in auth.py and
...
service.py
2023-11-20 21:04:39 -03:00
Gabriel Luiz Freitas Almeida
339073a514
Update token expiration time
2023-11-20 21:04:38 -03:00