Commit graph

9,425 commits

Author SHA1 Message Date
anovazzi1
124bdf0e3a Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-27 18:00:44 -03:00
anovazzi1
7ea25b52f1 Refactor group.spec.ts test case 2024-03-27 18:00:40 -03:00
Gabriel Luiz Freitas Almeida
b3a621d1b2 Refactor RunnableExecutor.py to handle input keys and provide status information 2024-03-27 17:59:19 -03:00
Gabriel Luiz Freitas Almeida
77d1f7e731 Refactor RunnableExecutor.py to improve output handling 2024-03-27 17:52:34 -03:00
Gabriel Luiz Freitas Almeida
54aeee570b Add assemblyai dependency and update websockets version 2024-03-27 17:42:34 -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
8d55e058ce Fix build status update in flowStore.ts 2024-03-27 16:52:10 -03:00
Gabriel Luiz Freitas Almeida
a6f66af191 Update error logging in log_vertex_build function 2024-03-27 16:52:02 -03:00
Gabriel Luiz Freitas Almeida
dfc733be7d Add llm_creator and prompt_creator to VertexTypesDict 2024-03-27 16:43:30 -03:00
Gabriel Luiz Freitas Almeida
868d5fbb52 Replace import statement with langflow.custom 2024-03-27 16:09:33 -03:00
Gabriel Luiz Freitas Almeida
660b62bc08 Add dependencies and update run_cli commands 2024-03-27 16:06:39 -03:00
Gabriel Luiz Freitas Almeida
9c029424ab Add html2text package 2024-03-27 16:06:31 -03:00
Gabriel Luiz Freitas Almeida
e274738861 Return additional vertices to run 2024-03-27 16:06:21 -03:00
Gabriel Luiz Freitas Almeida
9abad780b2 Replace import statement in custom component class 2024-03-27 15:37:22 -03:00
Gabriel Luiz Freitas Almeida
3a8d29241d Refactor RunnableExecutor.py to add default values for input_key and output_key 2024-03-27 15:33:19 -03:00
Gabriel Luiz Freitas Almeida
a8d9dea167 Add input types to runnable info 2024-03-27 15:27:25 -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
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
395f75f5bd Refactor Makefile to use conditional statements for environment variables 2024-03-26 20:57:27 -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
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
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
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
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