Commit graph

9,382 commits

Author SHA1 Message Date
anovazzi1
1cdaa284d6 add utf-8 characters to inputCOmponent test 2024-03-26 13:23:50 -03:00
Cristhian Zanforlin Lousa
7c114ce37d
Fix CSS on Chat Border when have overflow of variables (#1564)
♻️ (IOview/index.tsx): remove unnecessary 'overflow-hidden' class from IOView component to fix layout issue
2024-03-26 13:05:50 -03:00
Gabriel Luiz Freitas Almeida
201e902aef Update backend run command in Makefile 2024-03-26 10:12:44 -03:00
Gabriel Luiz Freitas Almeida
a9cd2f1054 Update backend installation process 2024-03-26 10:05:42 -03:00
Gabriel Luiz Freitas Almeida
c54c37cdc8 Fix import statement in AstraDB.py 2024-03-26 09:52:19 -03:00
Gabriel Luiz Freitas Almeida
e095444ed4 Remove unnecessary code in __main__.py 2024-03-26 09:52:08 -03:00
Gabriel Luiz Freitas Almeida
a802534508 Update dependencies in Makefile and pyproject.toml 2024-03-26 09:33:26 -03:00
Matheus Jacques
8172e62236
Split Langflow into Langflow and Langflow Base (#1562)
* Initial Restructure

* Replace import langflow for import langflow_base

* Fix dependencies

* 🔧 chore(Makefile): refactor build process to separate base and frontend builds for better organization and maintainability

* 🚀 chore(Makefile): update build_frontend command to copy frontend build to the correct directory
🔖 chore(pyproject.toml): update python and httpx dependencies versions
🔧 chore(__init__.py): update import statement for load_flow_from_json function

* 🔖 chore(pyproject.toml): update package version from 0.0.6 to 0.0.8 to reflect changes in the codebase

* 🚀 feat(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

* 🐛 fix(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
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10
 feat(server.ts): add new agent component LCAgentComponent to langflow_base
 feat(server.ts): add new model component LCModelComponent to langflow_base
 feat(server.ts): add new helper functions docs_to_records and records_to_text to langflow_base
 feat(server.ts): add new flow helper functions list_flows, load_flow, run_flow, generate_function_for_flow, get_flow_inputs, build_schema_from_inputs to langflow_base
 feat(server.ts): add new prompt component PromptComponent to langflow_base
 feat(server.ts): add new chat components ChatInput and ChatOutput to langflow_base
 feat(server.ts): add new model component OpenAIModelComponent to langflow_base
🚚 chore(main.py): update import path from langflow.main to langflow_base.main
🚚 chore(service.py): update import path from langflow.services.database.manager to langflow_base.services.database.manager
🚚 chore(factory.py): update import path from langflow.services to langflow_base.services
🚚 chore(service.py): update import path from langflow.services.plugins to langflow_base.services.plugins
🚚 chore(utils.py): update import path from langflow.services to langflow_base.services
🚚 chore(validate.py): update import path from langflow.field_typing to langflow_base.field_typing
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10

* Update Makefile to install backend dependencies and build langflow

* Add langflow main module and update __init__.py

* Update langflow install process to use implicit namespace

* Add langflow-base as a local dependency

* Add setup_poetry target to Makefile

* Update Poetry version and add poetry-monorepo-dependency-plugin

* Refactor code to improve performance and readability

* Update imports to custom and load

* Update content-hash in poetry.lock

---------

Co-authored-by: Matheus <jacquesmats@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-26 09:26:30 -03:00
Gabriel Luiz Freitas Almeida
9c0bad3883 Update AstraDB and AstraDBSearch components 2024-03-26 00:33:26 -03:00
Gabriel Luiz Freitas Almeida
bec9346a98 Refactor serialization logic in VertexBuildModel class 2024-03-26 00:33:20 -03:00
Gabriel Luiz Freitas Almeida
ef321fcebe Update pyproject.toml with new dependencies 2024-03-26 00:01:06 -03:00
Gabriel Luiz Freitas Almeida
060ff20cdc Fix string representation of BaseModel in CustomComponent 2024-03-25 23:47:50 -03:00
Gabriel Luiz Freitas Almeida
a35223c23f Add AstraDBSearchComponent to project 2024-03-25 23:32:08 -03:00
Gabriel Luiz Freitas Almeida
2c57096930 Update LCVectorStoreComponent to set status after converting docs to records 2024-03-25 23:24:36 -03:00
anovazzi1
c38a50a7eb Fix ShareModal rendering issue 2024-03-25 17:34:08 -03:00
Gabriel Luiz Freitas Almeida
acfbfd087c Add typing import to CohereModel.py 2024-03-25 17:29:06 -03:00
Gabriel Luiz Freitas Almeida
36d8129191 Removes "flowstyle" table and drops "user" table index 2024-03-25 16:49:26 -03:00
Gabriel Luiz Freitas Almeida
5f17228bfc Delete component model and init files 2024-03-25 16:48:31 -03:00
Gabriel Luiz Freitas Almeida
d900473385 Removes "component" table and drops "flowstyle" table 2024-03-25 16:48:23 -03:00
Gabriel Luiz Freitas Almeida
e14d089527 Refactor inputs parameter to inputs_dict in build_vertex function 2024-03-25 16:17:53 -03:00
Gabriel Luiz Freitas Almeida
9884e565ba Update CSVAgentComponent constructor 2024-03-25 15:58:55 -03:00
Gabriel Luiz Freitas Almeida
583c203b2b Fix encryption and decryption of API keys 2024-03-25 15:44:38 -03:00
Gabriel Luiz Freitas Almeida
13f2881f00 Add ping animation to update button 2024-03-25 15:44:32 -03:00
Gabriel Luiz Freitas Almeida
fec3451d93 Update CSVAgent.py: handle_parsing_errors and agent_type options 2024-03-25 15:44:15 -03:00
Gabriel Luiz Freitas Almeida
6493d51bac Add system_message parameter to model components 2024-03-25 15:06:17 -03:00
Gabriel Luiz Freitas Almeida
d59f996130 Refactor model.py to support chat models 2024-03-25 15:06:06 -03:00
Gabriel Luiz Freitas Almeida
60139e9c87 Add "agents" category to NATIVE_CATEGORIES 2024-03-25 14:46:08 -03:00
Gabriel Luiz Freitas Almeida
b437ca007e Add LCAgentComponent and XMLAgentComponent 2024-03-25 14:46:01 -03:00
Gabriel Luiz Freitas Almeida
db4a4e52aa Update model imports in component files 2024-03-25 14:45:48 -03:00
Gabriel Luiz Freitas Almeida
611a2f8d38 Add agent_type parameter to CSVAgent build method 2024-03-25 14:45:31 -03:00
Gabriel Luiz Freitas Almeida
81e366ec58 Refactor CSVAgent build method to include handle_parse_errors parameter 2024-03-25 14:44:14 -03:00
Gabriel Luiz Freitas Almeida
8c2bca31ff Add input_value parameter to chain components 2024-03-25 13:55:09 -03:00
Gabriel Luiz Freitas Almeida
297f9df89f Add vertices_to_run field to VerticesOrderResponse 2024-03-25 13:45:18 -03:00
Gabriel Luiz Freitas Almeida
c2ce214c8a Remove console.log statement in flowStore.ts 2024-03-25 12:50:52 -03:00
Gabriel Luiz Freitas Almeida
6ae0e9d936 Update default values for input types in flow.py 2024-03-25 12:31:45 -03:00
Gabriel Luiz Freitas Almeida
ec24470ce8 Update input type mappings and function arguments 2024-03-25 12:29:48 -03:00
Gabriel Luiz Freitas Almeida
74fc520a7d Refactor graph building and running logic 2024-03-25 12:26:33 -03:00
Gabriel Luiz Freitas Almeida
f95b20322e Refactor build_schema_from_inputs to use display_name and description for field names and descriptions respectively 2024-03-25 12:26:23 -03:00
Gabriel Luiz Freitas Almeida
bc767ac78f Add import statement for SettingsService in MonitorServiceFactory.create() method 2024-03-25 12:02:33 -03:00
Gabriel Luiz Freitas Almeida
97cbb20f90 Add import statement and update build_vertex function 2024-03-25 12:02:21 -03:00
Gabriel Luiz Freitas Almeida
42710a246b Refactor build_vertex method and add RunnableVerticesManager class 2024-03-25 10:56:24 -03:00
Gabriel Luiz Freitas Almeida
0f9dccc4fd Refactor parameterComponent to use inline button_text 2024-03-25 10:27:42 -03:00
Gabriel Luiz Freitas Almeida
2316beea93 Refactor code for initializing services and socketio server 2024-03-25 10:27:27 -03:00
Gabriel Luiz Freitas Almeida
3a989cb9fe Refactor imports in env.py 2024-03-25 10:26:57 -03:00
Gabriel Luiz Freitas Almeida
7a8f10287d Update cache service references 2024-03-25 10:17:06 -03:00
Gabriel Luiz Freitas Almeida
e8630dac7f
Refactor ServiceFactory and Dependencies (#1560)
* Update dependencies for OpenTelemetry

* Update service dependency logic and add first version of telemetry service

* Remove telemetry service and related code
2024-03-25 10:00:39 -03:00
Gabriel Luiz Freitas Almeida
f672a1163d Add SearchApi and SearchApiTool components 2024-03-24 20:14:33 -03:00
Gabriel Luiz Freitas Almeida
c7394b37a3 Refactor SearchApi class to simplify code 2024-03-24 20:09:49 -03:00
Gabriel Luiz Freitas Almeida
df7b4fc590 Refactor SearchApi.py to include typing and handle empty records 2024-03-24 20:08:50 -03:00
Gabriel Luiz Freitas Almeida
26612b643d Refactor XMLAgentComponent.render_tool_description() method 2024-03-24 20:05:07 -03:00