Commit graph

7,938 commits

Author SHA1 Message Date
Alex Leventer
20f640c4ce
README Improvements (#1597)
* Improve readme

* Fix buttons

* Improve discord link

* Improve image formatting

* additional getting started improvements

* Update README.md

* Update README.md

* Update README.md

* Update spaces link

* Update README.md

* Update LICENSE

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2024-04-04 00:39:13 -03:00
Rodrigo Nader
8d991ce43d
Update README.md 2024-03-31 00:49:15 -03:00
Gabriel Luiz Freitas Almeida
6f9a0eaa15
Merge branch 'main' into dev 2024-03-29 14:19:02 -03:00
Gabriel Luiz Freitas Almeida
feb29ddbb9
Fix unique constraints for id column (#1583)
* Fix unique constraints for id column

* Update version in pyproject.toml
2024-03-29 14:18:01 -03:00
Gabriel Luiz Freitas Almeida
18fe8ed2d0
Bugfixes and updates to Components (#1554)
- Fix issue causing Store API key to become invalid.
- Refactor the `parse_return_statement` method to handle nested returns,
addressing issue #1357.
- Update the `.env.example` file with the latest configuration options.
- Fix the `refresh_http_only` variable to ensure proper handling of
HTTP-only cookies.
- Fix uninteded submission
- Update Anthropic implementation
2024-03-22 09:13:54 -03:00
Gabriel Luiz Freitas Almeida
b43e4de38f Refactor embeddings and chat components 2024-03-22 09:10:08 -03:00
Gabriel Luiz Freitas Almeida
e0c3f2ce07 New lock 2024-03-22 08:58:19 -03:00
Daiki Sakai
402e706f27
Fix unintended input submission during IME composition (#1552)
Prevent input submission on Enter key press during IME composition
2024-03-22 08:49:17 -03:00
Daiki Sakai
0b380afb66
Migrate to langchain_anthropic and add ChatAnthropic enhancements (#1551)
Migrate to langchain_anthropic and enhance ChatAnthropic functionality

- Replace langchain_community with langchain_anthropic for ChatAnthropic
- Add support for selecting the Claude model in ChatAnthropic
- Implement top_p and top_k parameter support in ChatAnthropic
2024-03-22 08:47:34 -03:00
Gabriel Luiz Freitas Almeida
be94153435 Merge remote-tracking branch 'origin/main' into dev 2024-03-22 08:41:45 -03:00
Gabriel Luiz Freitas Almeida
c1d93a0855 Bump version to 0.6.11 in pyproject.toml 2024-03-22 08:35:43 -03:00
Gabriel Luiz Freitas Almeida
38cfd46eae Refactor API key encryption and decryption methods 2024-03-21 18:36:38 -03:00
chenhongsheng
d39ace293c
fix init ChatMessagePromptTemplate error issue #1351 (#1535)
fix init ChatMessagePromptTemplate error issue #1351.ChatMessagePromptTemplate init had role properties,but the params not passing through

issue:https://github.com/logspace-ai/langflow/issues/1351
2024-03-21 13:21:50 -03:00
Gabriel Luiz Freitas Almeida
3fbcd02bd9
Refactor parse_return_statement method to handle nested returns (#1549)
Fixes [Component Output] Custom component does not display output connection points in Langflow UI #1357
2024-03-21 12:21:44 -03:00
Remco Goyvaerts
f0b93a9bd7
Use MongoDB Altas without required Documents (#1538)
* Working on mongodb

* Working on retriever tool

* Add vectorstore retriever

* Fix format

---------

Co-authored-by: Remco Goyvaerts <remco.goyvaerts@acagroup.be>
2024-03-18 13:24:55 -03:00
Gabriel Luiz Freitas Almeida
50c90f0879 Update .env.example file 2024-03-18 12:47:17 -03:00
kazuki306
3eeda84d28
Fix bug in deployment procedure in AWS CDK and support HTTPS (#1491)
* add cloudfront

* modify: healthcheck disable

* modify: health check option

* modify nodejsbuild

* add nodejs version

* endpoint configuration

* set axios url

* remote console.log VITE_PROXY_TARGET

* create alb stack

* add alb to origin

* alb build success

* remote baseURL setting

* add redirect

* change responseHttpStatus to 200

* modify output and readme

* modify architecture

* add health check path route to cloudfront routing

* modified: c9 env name in deploy langflow section

* modified : package dependency for pymysql

* modified: deploy procedure

* modified: deploy procedure (ja)

---------

Co-authored-by: nsxshota <nsxshota@amazon.co.jp>
Co-authored-by: ymkazuki <ymkazuki@amazon.co.jp>
Co-authored-by: Shota Nakamoto <53632932+nsy0328@users.noreply.github.com>
2024-03-04 08:50:51 -03:00
Gabriel Luiz Freitas Almeida
d59757d82f
Fix refresh http only variable (#1493) (#1494)
* Fix refresh http only variable (#1493)

* Fix refresh http only variable

* Update version to 0.6.10 in pyproject.toml
2024-03-04 08:46:39 -03:00
Gabriel Luiz Freitas Almeida
7363df6293
Merge branch 'main' into dev 2024-03-04 08:45:59 -03:00
Gabriel Luiz Freitas Almeida
34357a7fb8 Update version to 0.6.10 in pyproject.toml 2024-03-04 08:44:50 -03:00
Gabriel Luiz Freitas Almeida
19afd6486d
Fix refresh http only variable (#1493)
* Fix refresh http only variable
2024-03-04 08:43:46 -03:00
Gabriel Luiz Freitas Almeida
4bec4dee4b
Refactor error page layout and fixes migration scripts (#1485)
This pull request introduces a comprehensive refactor of our
application's error page layout. The primary goal of these changes is to
enhance user experience during error states by providing clearer, more
helpful information and improving the overall aesthetics of the error
page.

Fixes #1274
2024-02-29 15:31:09 -03:00
Gabriel Luiz Freitas Almeida
4c332b9834
Merge branch 'main' into dev 2024-02-29 15:26:56 -03:00
Gabriel Luiz Freitas Almeida
5ed9b6e92e Update version to 0.6.9 in pyproject.toml 2024-02-29 15:23:02 -03:00
Gabriel Luiz Freitas Almeida
ba23f93463
Refactor code and fix database issues (#1484)
* Refactor chat.py for improved readability and maintainability

* Add imports and fix formatting issues

* Refactor database connection in Alembic env.py

* Add nullable columns to tables and fix foreign key constraint

* Update sqlalchemy logging level to DEBUG in alembic.ini

* Add connection and inspector objects for database reflection

* Refactor alembic initialization and migration process

* Refactor version option in main_entry_point function

* Remove pre-commit hook and format code

* Fix database inspector type hinting

* Add unique constraints and fix credential table
2024-02-29 15:22:14 -03:00
anovazzi1
bef5f13eaa
Refactor of Error Page Layout (#1443)
This pull request introduces a comprehensive refactor of our
application's error page layout. The primary goal of these changes is to
enhance user experience during error states by providing clearer, more
helpful information and improving the overall aesthetics of the error
page.
2024-02-29 14:12:43 -03:00
anovazzi1
d453223c7a Fix typo in CrashErrorComponent message 2024-02-28 20:07:14 -03:00
cristhianzl
34d83d82b5 🎨 style(CrashErrorComponent/index.tsx): refactor CrashErrorComponent to use UI components for improved readability and maintainability
🐛 fix(CrashErrorComponent/index.tsx): fix typo in error message for better user understanding
 feat(CrashErrorComponent/index.tsx): add restart button to reset the app and provide a link to report errors on GitHub for community support
2024-02-28 16:35:00 -03:00
Gabriel Luiz Freitas Almeida
a7e28c911f
Release 0.6.8 (#1480) 2024-02-28 13:18:51 -03:00
Gabriel Luiz Freitas Almeida
d0f10e107e Fix tests 2024-02-28 13:17:40 -03:00
Gabriel Luiz Freitas Almeida
a32aef7906 New lock 2024-02-28 12:59:18 -03:00
Gabriel Luiz Freitas Almeida
225b09650e Merge remote-tracking branch 'origin/main' into dev 2024-02-28 12:57:53 -03:00
Gabriel Luiz Freitas Almeida
13af72f7e4 Bump version to 0.6.8 in pyproject.toml 2024-02-28 12:54:39 -03:00
dependabot[bot]
b84c1d4ec3
Bump orjson from 3.9.3 to 3.9.15 (#1469)
Bumps [orjson](https://github.com/ijl/orjson) from 3.9.3 to 3.9.15.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.9.3...3.9.15)

---
updated-dependencies:
- dependency-name: orjson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 11:31:09 -03:00
SebastjanPrachovskij
e76b57d8f6
Add SearchApi integration (#1369)
* Add SearchApi integration

* Add SearchApi Tool

* Update SearchApi_Tool JSON example and update description
2024-02-28 11:29:41 -03:00
anovazzi1
361d5d0538
Fix autologin = false loading loop (#1479)
🔧 fix(authContext.tsx): add import statement for useFlowsManagerStoreto
fix missing import error
🔧 fix(authContext.tsx): set isLoading to false in useFlowsManagerStore
after setLoading to false to fix loading state inconsistency
🔧 fix(typesStore.ts): add null check for response.data to fix potential
null reference error
2024-02-28 10:57:40 -03:00
cristhianzl
3377c87449 🔧 fix(authContext.tsx): add import statement for useFlowsManagerStore to fix missing import error
🔧 fix(authContext.tsx): set isLoading to false in useFlowsManagerStore after setLoading to false to fix loading state inconsistency
🔧 fix(typesStore.ts): add null check for response.data to fix potential null reference error
2024-02-28 10:19:58 -03:00
Gabriel Luiz Freitas Almeida
109b5c8690
Remove unused chat and prompt classes (#1474) 2024-02-28 10:02:00 -03:00
Cristhian Zanforlin Lousa
43b3b082a5
Fix vectara resolution error (#1475)
* add new vectara icon

* remove console.log
2024-02-28 10:01:09 -03:00
Gabriel Luiz Freitas Almeida
609744332d
Add linting and testing workflows for backend code (#1478)
* Add paths to trigger workflow on specific file changes

* Add linting workflow for backend code
2024-02-28 09:57:41 -03:00
Carlos Coelho
dfd8a9e563
Update videos and images (#1476) 2024-02-27 23:08:14 -03:00
Lucas Oliveira
6b2d0c6ef1 Fixed Store showing that API key is invalid when it is valid 2024-02-26 18:33:51 +01:00
Gabriel Luiz Freitas Almeida
38ee9fdd89
0.6.7 Adds Dynamic Field Updates (#1458)
* Update docker-compose.yml

Problems with Docker Compose not being able to find the backend

* Bump vite from 4.5.1 to 4.5.2 in /src/frontend

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Refactor: remove flow if there is no changes

* update group node function to reconnect edges when create groupNode

* Remove console.log statements

* Fix disallowed_special parameter in OpenAIEmbeddingsComponent

* Refactor CharacterTextSplitterComponent to use typing and update return value

* Update ChromaComponent configuration

* Bump version to 0.6.7a1 in pyproject.toml

* Add icon support to CustomComponent

* Add icon property to APIClassType

* Add emoji validation to icon field in custom components

* add emoji icon

* Fix: Error: cannot import name 'CreateTrace' from 'langfuse.callback'

* Refactor langflow processing and langfuse callback initialization

* Update version to 0.6.7a2 in pyproject.toml

* Fix: Bring back loading to avoid white page error

* Add dependabot.yml

* Bump actions/checkout from 2 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump github/codeql-action from 2 to 3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump actions/setup-python from 4 to 5

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump actions/cache from 2 to 4

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump actions/setup-node from 3 to 4

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* makes function args not to be sorted by name

* Add field_order property to CustomComponent

* Refactor Template class in base.py

* Update field_order to be an optional list

* Refactor custom component field ordering

* Update prompts.mdx

Update broken link to all page building to complete

* add icon regex

* add isEmoji

* Fix invalid emoji error handling

* Fix invalid emoji validation in Component class

* add logic to icon name

* changing to useCallback function

* Add HuggingFaceInferenceAPIEmbeddingsComponent class

* Update QdrantComponent build method to handle pre-existing vector-stores

* Update python-multipart version

* Update dependencies in pyproject.toml

* Add Python 3.11 support to lint and test workflows

* Refactor import statements in Qdrant.py

* Update dependencies in pyproject.toml

* Fix documentation link and code formatting

* Fix validation of icon field in Component class

* Update imports and deactivate test

* Fixed group nodes appearing at tooltip

* Update imports and type annotations in several components

* Remove Python 3.9 from matrix in test.yml

* refactor: icon fragments functions

* Default display_name to None

* 🔧 chore(base.py): update serialize_display_name method to handle cases where display_name is not set and convert name to title case if title_case is True

* Fix error handling and formatting in component.py and typesStore.ts

* add controlX feature

* Add files via upload

* Fixed groupByFamily

* Add LiteLLMComponent to the project

* Add ChatLiteLLM component to backend

* Update ChatLiteLLM import and add verbose option

* Remove unused code in ChatLiteLLM.py

* Rename LiteLLMComponent to ChatLiteLLMComponent

* Changes some parameters for mypy linting compatibility

* Update cookie settings for login and refresh_token functions

* Update cookie settings for secure access

* Update cookie settings for login and token refresh

* Refactor authentication cookie settings

* Update version to 0.6.7a3 in pyproject.toml

* Fix formatting and import issues

* Import litellm package and update ChatLiteLLMComponent class

* Update version to 0.6.7a3 and fix formatting and import issues (#1445)

* Update version to 0.6.7a3 in pyproject.toml

* Fix formatting and import issues

* Import litellm package and update ChatLiteLLMComponent class

* Update login.py with new auth settings

* Update version to 0.6.7a4 in pyproject.toml

* Update version to 0.6.7a5 in pyproject.toml

* Update Langflow README (#1456)

* Update Langflow README

* Refactor flow creation process

* Update README.md

* Removed some phrases, changed Creating Flows section

* Update README.md with additional project references

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>

* Add docs for field update, icon, and small fixes (#1459)

* Refactor code formatting and improve error handling in utils.py

* Refactor parameterComponent to include refresh button

* Update Langflow description

* Add new_langflow_demo.gif and remove langflow-demo.gif and langflow-screen.png

* Update image source path in README.md

* Add dynamic options and default value support to CustomComponent class

* Update version number in pyproject.toml

* Add title_case option to CustomComponent

* Refactor HuggingFaceEndpointsComponent imports and handle model_kwargs parameter

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: YoungWook KIM <ukng1024@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: igorrCarvalho <igorsilvabhz6@gmail.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Cristhian Zanforlin Lousa <72977554+Cristhianzl@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Łukasz Gajownik <lukasz.gajownik@ordergroup.pl>
Co-authored-by: Chris Bateman <chris-bateman@users.noreply.github.com>
Co-authored-by: Ricardo Henriques <paxcalpt@gmail.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
2024-02-23 14:29:00 -03:00
Gabriel Luiz Freitas Almeida
cb433f6574
Merge branch 'main' into dev 2024-02-23 14:28:27 -03:00
Lucas Oliveira
463847ab6a
Improve group (#1406)
group components without edges losses
2024-02-22 13:31:20 +01:00
Gabriel Luiz Freitas Almeida
8be42c4e69 Refactor HuggingFaceEndpointsComponent imports and handle model_kwargs parameter 2024-02-21 22:50:11 -03:00
Gabriel Luiz Freitas Almeida
ee44f4dd62 Add title_case option to CustomComponent 2024-02-21 22:44:17 -03:00
Gabriel Luiz Freitas Almeida
eda14b1dc4 Update version number in pyproject.toml 2024-02-21 22:35:44 -03:00
Gabriel Luiz Freitas Almeida
8c897514aa
Add docs for field update, icon, and small fixes (#1459)
* Refactor code formatting and improve error handling in utils.py

* Refactor parameterComponent to include refresh button

* Update Langflow description

* Add new_langflow_demo.gif and remove langflow-demo.gif and langflow-screen.png

* Update image source path in README.md

* Add dynamic options and default value support to CustomComponent class
2024-02-21 22:30:01 -03:00
Carlos Coelho
bdc41d2856
Update Langflow README (#1456)
* Update Langflow README

* Refactor flow creation process

* Update README.md

* Removed some phrases, changed Creating Flows section

* Update README.md with additional project references

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-02-21 10:49:57 -03:00