Commit graph

11,619 commits

Author SHA1 Message Date
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
da44aef301 Update Python dependency installation in GitHub workflows 2024-03-27 14:30:52 -03:00
Gabriel Luiz Freitas Almeida
f19c449f15
Add Frontend Tests (#1571)
* Add TypeScript test workflow

* Update follow-redirects and katex versions

* Add Python setup and Poetry installation for backend

* Update Poetry version and setup Python in workflows

* Add Poetry installation step to GitHub Actions workflow

* Add Playwright report artifact upload and improve test script

* Update Playwright test configuration and add global teardown script

* Update path for playwright-report directory

* Update timeout value in playwright.config.ts

* Update page URLs in end-to-end tests

* Update GitHub Actions workflow and Playwright configuration

* Update TypeScript test workflow

* Add pattern and merge-multiple options to artifact download

* Update TypeScript test workflow to install Poetry

* Add cache steps for Playwright and Poetry

* Update PLAYWRIGHT_BROWSERS_PATH in TypeScript test workflow

* Add 'stuff/' to .gitignore

* Remove caching of Poetry virtualenv

* Update frontend tests to use Playwright for UI testing

* Add global teardown for removing temp database

* Add cache-hit condition to setup-node and setup-python steps

* Add new file to .gitignore and update ignored files

* Update playwright cache key in TypeScript test workflow

* Update path for blob-report in GitHub workflow

* Update path for playwright cache

* Update dependency installation in workflows

* Update baseURL in playwright.config.ts

* Update baseURL in playwright.config.ts

* Refactor test timeouts

* Remove playwright-report index.html file

* Add npm run start command to playwright.config.ts

* Update npm start command in playwright.config.ts

* Update Playwright browser caching and installation

* Update playwright cache path

* Update playwright cache path

* Update actions/cache version to v4

* Update Playwright cache key to use package-lock.json

* Update Playwright cache and install dependencies

* Fix typo in Playwright installation command

* Fix npm ci command in TypeScript test workflow

* Update TypeScript test workflow
2024-03-27 14:27:40 -03:00
igorrCarvalho
a3b7001264 Refactor: Increase hover time 2024-03-27 14:21:49 -03:00
Gabriel Luiz Freitas Almeida
569d384573 Add AstraDB icon and field order to AstraDBVectorStoreComponent and AstraDBSearchComponent 2024-03-27 00:43:02 -03:00
Gabriel Luiz Freitas Almeida
1434081801
Merge branch 'zustand/io/migration' into globalVariables 2024-03-27 00:10:18 -03:00
Gabriel Luiz Freitas Almeida
a08b84c2cd Merge branch 'fix_lint_problems' into globalVariables 2024-03-26 23:26:51 -03:00
Gabriel Luiz Freitas Almeida
fc432f29ce Update poetry version to 1.8.2 in Dockerfiles 2024-03-26 23:24:37 -03:00
Gabriel Luiz Freitas Almeida
eaf2479c87
Update function signature, refactor code, add new langflow helper functions and files, and add version module (#1570)
* Update function signature and import statements

* Refactor code and fix bugs

* Add new langflow helper functions and remove base model component

* Add new files and modify existing files

* Add version module and update imports

* Update packages include path in pyproject.toml

* Update Poetry version to 1.8.2
2024-03-26 23:18:44 -03:00
Gabriel Luiz Freitas Almeida
2bc6d99ad4 Update Poetry version to 1.8.2 2024-03-26 23:17:51 -03:00
Gabriel Luiz Freitas Almeida
56a485ef56 Update packages include path in pyproject.toml 2024-03-26 23:15:36 -03:00
Gabriel Luiz Freitas Almeida
b603d73c62 Add version module and update imports 2024-03-26 23:10:22 -03:00
Gabriel Luiz Freitas Almeida
73a23ca096 Add new files and modify existing files 2024-03-26 22:50:46 -03:00
Gabriel Luiz Freitas Almeida
827d6befec Add new langflow helper functions and remove base model component 2024-03-26 22:33:56 -03:00
Gabriel Luiz Freitas Almeida
d54e4504f9 Refactor code and fix bugs 2024-03-26 21:48:48 -03:00
Gabriel Luiz Freitas Almeida
257f802277 Update function signature and import statements 2024-03-26 21:28:40 -03:00
Gabriel Luiz Freitas Almeida
a92dcaf37d Update agent.py and experimental components 2024-03-26 21:24:33 -03:00
Gabriel Luiz Freitas Almeida
16e91a00de Update mypy configuration to include namespace packages 2024-03-26 21:24:17 -03:00
Gabriel Luiz Freitas Almeida
395f75f5bd Refactor Makefile to use conditional statements for environment variables 2024-03-26 20:57:27 -03:00
Gabriel Luiz Freitas Almeida
532615533a Add VariableService and related files 2024-03-26 20:40:03 -03:00
Gabriel Luiz Freitas Almeida
00322edda2 Refactor Makefile to include conditional statements for environment variables 2024-03-26 20:35:31 -03:00
Gabriel Luiz Freitas Almeida
0385cfbce1 Add setup_devcontainer target to Makefile 2024-03-26 20:34:36 -03:00
Gabriel Luiz Freitas Almeida
95f5c4421f Merge remote-tracking branch 'origin/zustand/io/migration' into globalVariables 2024-03-26 20:33:15 -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
Lucas Oliveira
ff8c3d7a06 Fixed input of global variables 2024-03-27 01:18:21 +02:00
Cezar Vasconcelos
638ea4a87c Merge branch 'zustand/io/migration' of https://github.com/logspace-ai/langflow into zustand/io/migration 2024-03-26 21:30:15 +00:00
root
edf4d5053c fix: system message should be the first message to LLM 2024-03-26 21:29:24 +00:00
Gabriel Luiz Freitas Almeida
1e442a005f Add backend dependency installation to Makefile 2024-03-26 17:35:25 -03:00
Gabriel Luiz Freitas Almeida
975340af9e Add conditional logic for environment file in Makefile 2024-03-26 17:30:11 -03:00
Gabriel Luiz Freitas Almeida
8b68f06593 Update OpenAIModelComponent in Langflow Basic Prompting.json 2024-03-26 17:29:00 -03:00
Lucas Oliveira
d123d5b64f Added editNode variable on global variables for inputs 2024-03-26 22:28:42 +02:00
Gabriel Luiz Freitas Almeida
9903c01c4c Update CLI run command to include environment file 2024-03-26 17:20:49 -03:00
Gabriel Luiz Freitas Almeida
92ab5a1619 Update Python version and package dependencies 2024-03-26 17:17:13 -03:00
Gabriel Luiz Freitas Almeida
d8ffcadfe2 Add parallel execution for locking dependencies in Makefile 2024-03-26 17:17:00 -03:00
Lucas Oliveira
1315137ab8 put optional label on type 2024-03-26 22:03:13 +02:00
Lucas Oliveira
ae7d827483 Fixed type to always exist 2024-03-26 21:54:08 +02:00
Lucas Oliveira
42739a29cf Added types 2024-03-26 21:52:23 +02:00
Lucas Oliveira
5db74fbf5a Changed provider to type and hid field 2024-03-26 21:50:44 +02:00
Gabriel Luiz Freitas Almeida
60bc33dbec Update run_cli and run_cli_debug in Makefile 2024-03-26 16:43:50 -03:00
Gabriel Luiz Freitas Almeida
765a633e99 Add new directory to .gitignore 2024-03-26 16:28:52 -03:00
Gabriel Luiz Freitas Almeida
f60823a40a Update dependencies and install poetry-monorepo-dependency-plugin 2024-03-26 16:22:17 -03:00
Gabriel Luiz Freitas Almeida
d5f647fe4e Add setup_env.sh script to create .env file 2024-03-26 15:36:49 -03:00
anovazzi1
e5b5444e36 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-26 14:25:52 -03:00
anovazzi1
a6d42c043c check edge case when options is empty 2024-03-26 14:25:49 -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
Gabriel Luiz Freitas Almeida
f741b97ac5 Fix capitalization in error messages 2024-03-26 13:53:49 -03:00
Gabriel Luiz Freitas Almeida
0175fc4b06 Add support for loading template field from the database 2024-03-26 13:49:39 -03:00