Commit graph

250 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
1faecf564e Add CLI documentation to getting-started/cli.mdx 2024-04-02 20:13:44 -03:00
Gabriel Luiz Freitas Almeida
4e3690cedc Add Langflow CLI and first steps documentation 2024-04-02 19:14:47 -03:00
Gabriel Luiz Freitas Almeida
7212caa4f6 Update duplicate-space.png image 2024-04-02 18:38:46 -03:00
Gabriel Luiz Freitas Almeida
a347fecf39 Update duplicate-space.png image 2024-04-02 11:07:27 -03:00
Gabriel Luiz Freitas Almeida
72594346c1 Remove duplicate imports in hugging-face-spaces.mdx 2024-04-02 02:10:27 -03:00
Gabriel Luiz Freitas Almeida
c78a6a5d14 Update HuggingFace Spaces links 2024-04-02 02:00:13 -03:00
Gabriel Luiz Freitas Almeida
8c992fe76c Add data component and fix formatting in outputs component 2024-04-01 21:05:09 -03:00
Gabriel Luiz Freitas Almeida
6477c7f7ce Refactor component names in outputs.mdx 2024-04-01 21:02:15 -03:00
Gabriel Luiz Freitas Almeida
1e0c048469 Commented out components/data in sidebars.js 2024-04-01 20:56:21 -03:00
Gabriel Luiz Freitas Almeida
4c16bae270 Add new chapters and migration guides 2024-04-01 20:03:48 -03:00
Gabriel Luiz Freitas Almeida
bdbc33b543 Add new migration and what's new documentation files 2024-04-01 20:03:19 -03:00
Gabriel Luiz Freitas Almeida
7745d6b01a Update usage.mdx file 2024-04-01 19:41:39 -03:00
carlosrcoelho
4302b6319f Delete unused documentation files 2024-04-01 18:28:31 -03:00
carlosrcoelho
c0b90e3106 Remove commented out code in sidebars.js 2024-04-01 18:27:42 -03:00
Gabriel Luiz Freitas Almeida
570d8ad6ae Update cache option in usage documentation 2024-04-01 17:35:39 -03:00
Gabriel Luiz Freitas Almeida
21e36cc2f5 Update usage instructions in getting-started/usage.mdx 2024-04-01 17:34:04 -03:00
Gabriel Luiz Freitas Almeida
b82884f5bc Update HuggingFace Spaces heading in usage.mdx 2024-04-01 17:31:31 -03:00
Gabriel Luiz Freitas Almeida
197856f8b9 Update title in usage.mdx 2024-04-01 17:30:24 -03:00
Gabriel Luiz Freitas Almeida
68d78f5c1e Fix broken link to HuggingFace Spaces guide 2024-04-01 17:06:24 -03:00
Gabriel Luiz Freitas Almeida
94c20204b9 Update Langflow installation and usage instructions 2024-04-01 17:00:48 -03:00
Gabriel Luiz Freitas Almeida
50881a5eb8 Add installation and usage instructions for Langflow 2024-04-01 16:55:05 -03:00
Gabriel Luiz Freitas Almeida
040660a7ab Update installation instructions for Langflow 2024-04-01 16:48:04 -03:00
Gabriel Luiz Freitas Almeida
0d88aba4bb Fix formatting in hugging-face-spaces.mdx 2024-04-01 16:46:32 -03:00
Gabriel Luiz Freitas Almeida
05de3ba255 Update HuggingFace Spaces documentation with duplication process 2024-04-01 16:40:07 -03:00
Gabriel Luiz Freitas Almeida
ec0ea548f2 Update required field behavior in CustomComponent class 2024-03-31 21:41:33 -03:00
Gabriel Luiz Freitas Almeida
80eb0028be Remove unnecessary field_type key from CustomComponent class 2024-03-31 21:40:49 -03:00
Gabriel Luiz Freitas Almeida
a61bb83bff Add explanation for the new version of Langflow 2024-03-28 19:56:34 -03:00
Gabriel Luiz Freitas Almeida
afeb1f6e65 Add new chapter for Langflow with major changes and improvements 2024-03-28 19:51:29 -03:00
Gabriel Luiz Freitas Almeida
8a18027eb0 Update code snippet language in features.mdx file 2024-03-27 22:14:00 -03:00
carlosrcoelho
d2f5c67a7d Revert "Add new guide files"
This reverts commit c3ec9dbf70.
2024-03-27 21:21:55 -03:00
carlosrcoelho
c3ec9dbf70 Add new guide files 2024-03-27 20:52:53 -03:00
Gabriel Luiz Freitas Almeida
34da48fbe5 Add new chapter to What's New section 2024-03-27 17:00:29 -03:00
Gabriel Luiz Freitas Almeida
2e2ae119a7 Add migration guides to sidebars.js 2024-03-27 15:24:06 -03:00
Gabriel Luiz Freitas Almeida
4cdfdb1649 Delete superuser guide and add compatibility guide and inputs and outputs guide 2024-03-27 15:22:15 -03:00
Gabriel Luiz Freitas Almeida
bc46cd5476 Add compatibility guide for Langflow version update 2024-03-27 15:19:09 -03:00
carlosrcoelho
23f92c5d05 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-03-27 15:00:24 -03:00
carlosrcoelho
3d3856a1d6 Add experimental and helpers components docs 2024-03-27 14:54:51 -03:00
Gabriel Luiz Freitas Almeida
2f2adf4029 Update Inputs and Outputs documentation 2024-03-27 14:46:56 -03:00
Gabriel Luiz Freitas Almeida
70cf01b7f7 Refactor component names in inputs.mdx and add new guide on inputs and outputs 2024-03-26 20:23:04 -03:00
Carlos Coelho
2587849fea
Update docs (#1567)
* Add new documentation files and update package dependencies

* Refactor tweak application logic in process_tweaks function

* Add dynamic function creation and execution helpers

* Refactor build method to be asynchronous

* Add FlowToolComponent to handle flows as tools

* Update RunFlowComponent to include a method for updating build config

* Fix duplicated first layer results

* Refactor vertex building and streaming endpoints

* Add base_name attribute to Vertex class

* Refactor flow.py to generate dynamic flow functions and build schemas

* Refactor FlowToolComponent in FlowTool.py

* Add JSONInputComponent to load JSON object as input

* Update render_tool_description method in XMLAgent.py

* Refactor XMLAgentComponent.render_tool_description() method

* Refactor SearchApi.py to include typing and handle empty records

* Refactor SearchApi class to simplify code

* Add SearchApi and SearchApiTool components

* 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

* Update cache service references

* Refactor imports in env.py

* Refactor code for initializing services and socketio server

* Refactor parameterComponent to use inline button_text

* Refactor build_vertex method and add RunnableVerticesManager class

* Add import statement and update build_vertex function

* Add import statement for SettingsService in MonitorServiceFactory.create() method

* Refactor build_schema_from_inputs to use display_name and description for field names and descriptions respectively

* Refactor graph building and running logic

* Update input type mappings and function arguments

* Update default values for input types in flow.py

* Remove console.log statement in flowStore.ts

* Add vertices_to_run field to VerticesOrderResponse

* Add input_value parameter to chain components

* Refactor CSVAgent build method to include handle_parse_errors parameter

* Add agent_type parameter to CSVAgent build method

* Update model imports in component files

* Add LCAgentComponent and XMLAgentComponent

* Add "agents" category to NATIVE_CATEGORIES

* Refactor model.py to support chat models

* Add system_message parameter to model components

* Update CSVAgent.py: handle_parsing_errors and agent_type options

* Add ping animation to update button

* Fix encryption and decryption of API keys

* Update CSVAgentComponent constructor

* Refactor inputs parameter to inputs_dict in build_vertex function

* Removes "component" table and drops "flowstyle" table

* Delete component model and init files

* Removes "flowstyle" table and drops "user" table index

* Add typing import to CohereModel.py

* Fix ShareModal rendering issue

* Update models docs

* Changed vector-stores docs

* Update component documentation

* Add AstraDB and AstraDBSearch components for AstraDB Vector Store docs

* Rename GetNotified to Listen

* Update GetNotifiedComponent import

* Remove unused imports in flow-runner.mdx and features.mdx

* Add new documentation files and update existing files

* Update package versions in package-lock.json

* Remove unused files

* Delete run-flow.mdx file

* Update topics

* Add new file run-flow.mdx

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-03-26 13:55:54 -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
24a2e640ff Update refresh functionality in API and UI components 2024-03-07 14:36:34 -03:00
Gabriel Luiz Freitas Almeida
14aaf6559b Remove components/io from sidebar 2024-03-06 19:25:18 -03:00
Gabriel Luiz Freitas Almeida
eda347633b Add new components for inputs and outputs 2024-03-06 19:17:33 -03:00
Gabriel Luiz Freitas Almeida
4875ac57c8 Update Langflow documentation with new component descriptions 2024-03-05 17:36:09 -03:00
Gabriel Luiz Freitas Almeida
240b1900b9 Add update_build_config method that updates any part of the template 2024-03-05 16:29:20 -03:00
Gabriel Luiz Freitas Almeida
2b2fd3fa8d Refactor import statements and update component headings 2024-02-29 17:38:18 -03:00
Gabriel Luiz Freitas Almeida
cb782d1873 Add MessageHistory component to documentation 2024-02-29 17:38:09 -03:00
Gabriel Luiz Freitas Almeida
8e6c38f195 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-29 16:21:23 -03:00
Gabriel Luiz Freitas Almeida
225b09650e Merge remote-tracking branch 'origin/main' into dev 2024-02-28 12:57:53 -03:00