Commit graph

7,903 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
c3492b9064
Update Twitter handle in community.md (#1450)
Update Twitter handle in community.md
2024-02-20 19:52:21 -03:00
Gabriel Luiz Freitas Almeida
70ff39e52b
Merge branch 'main' into url_twitter_update 2024-02-20 17:20:14 -03:00
carlosrcoelho
be515f8afd Update Twitter handle in community.md 2024-02-20 16:44:32 -03:00
Gabriel Luiz Freitas Almeida
e99ee9303f
Feature: Fields are now converted to title case by default (#1436)
If no display_name is provided, the name of the Field is the title case
version of the name. (e.g file_path -> File Path)

The user has the option to deactivate this behaviour in a field by field
basis by passing `title_case=False`.
2024-02-19 20:59:24 -03:00
Gabriel Luiz Freitas Almeida
9b1ed3245b
Add field_order property to CustomComponent (#1424)
This pull request adds a new property called `field_order` to the
`CustomComponent` class. The `field_order` property allows developers to
define the order in which fields will be displayed in the canvas. This
can be useful for customizing the layout of the component.

#1373
2024-02-19 20:58:55 -03:00
Gabriel Luiz Freitas Almeida
f985a427e1
Fix broken link in prompts.mdx (#1448)
This pull request fixes a broken link in the prompts.mdx file. The link
to the "Prompt Customization" page was pointing to the wrong location.
This PR updates the link to the correct location in the documentation.
2024-02-19 19:09:19 -03:00
Gabriel Luiz Freitas Almeida
f1421dccc3 Fix broken link in prompts.mdx 2024-02-19 19:08:32 -03:00
Gabriel Luiz Freitas Almeida
1b9f0c0abf
Update version to 0.6.7a5 in pyproject.toml (#1447)
This pull request updates the version in pyproject.toml to 0.6.7a5.
2024-02-19 13:44:23 -03:00
Gabriel Luiz Freitas Almeida
d0722f2212 Update version to 0.6.7a5 in pyproject.toml 2024-02-19 13:43:09 -03:00
Gabriel Luiz Freitas Almeida
db50757580
Update version to 0.6.7a4 and fix formatting and import issues (#1446)
This pull request updates the version to 0.6.7a4 in pyproject.toml and
fixes formatting and import issues.
2024-02-19 13:39:35 -03:00
Gabriel Luiz Freitas Almeida
d87bdfd57e
Merge branch 'dev' into release7a3 2024-02-19 13:39:17 -03:00
Gabriel Luiz Freitas Almeida
b95169c1e9 Update version to 0.6.7a4 in pyproject.toml 2024-02-19 13:37:06 -03:00
Gabriel Luiz Freitas Almeida
d2c1d86f67 Update login.py with new auth settings 2024-02-19 13:36:38 -03:00
Gabriel Luiz Freitas Almeida
88ec5ef1cc
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
2024-02-19 13:30:34 -03:00
Gabriel Luiz Freitas Almeida
451f176fb4 Import litellm package and update ChatLiteLLMComponent class 2024-02-19 13:29:32 -03:00
Gabriel Luiz Freitas Almeida
abd9b8e3a9 Fix formatting and import issues 2024-02-19 13:28:16 -03:00
Gabriel Luiz Freitas Almeida
e5bc9aca3f Update version to 0.6.7a3 in pyproject.toml 2024-02-19 13:27:21 -03:00
Gabriel Luiz Freitas Almeida
69227ac5ba
Hf fix (#1444)
fix hf auth loop error
2024-02-19 13:26:35 -03:00
anovazzi1
9fc6df14eb
Add controlX Feature on Flow (#1438)
This pull request introduces the "Control X" command to our
application's flow, aiming to enhance user control and improve the
overall user experience. The "Control X" command allows users to execute
a crop shortcut.
2024-02-19 13:23:15 -03:00
Gabriel Luiz Freitas Almeida
2491c87fda Refactor authentication cookie settings 2024-02-19 11:45:36 -03:00
anovazzi1
4f2c8cde34 Update cookie settings for login and token refresh 2024-02-19 11:23:27 -03:00
anovazzi1
77331da3b6 Update cookie settings for secure access 2024-02-19 11:15:08 -03:00
anovazzi1
ab4ff09e8e Update cookie settings for login and refresh_token functions 2024-02-19 10:49:02 -03:00
Gabriel Luiz Freitas Almeida
94422e108a
Add LiteLLM support (#1440)
Added ChatLiteLLMComponent providing support to its large library of
LLMs: https://litellm.ai/
2024-02-19 09:39:54 -03:00
Gabriel Luiz Freitas Almeida
60919a4ae4
Url twitter update (#1441)
Update URL Twitter documentation.
2024-02-19 08:49:22 -03:00
carlosrcoelho
72f420dacd Update Langflow Twitter handle 2024-02-18 19:08:09 -03:00
carlosrcoelho
b6a1989358 Update Twitter links in config and headerComponent 2024-02-18 19:07:07 -03:00
Ricardo Henriques
534cf7c1a6 Changes some parameters for mypy linting compatibility 2024-02-18 18:47:50 +00:00
Ricardo Henriques
08c2542416 Rename LiteLLMComponent to ChatLiteLLMComponent 2024-02-18 15:53:21 +00:00
Ricardo Henriques
868aca053e Remove unused code in ChatLiteLLM.py 2024-02-18 15:50:54 +00:00
Ricardo Henriques
4aadd27db1 Update ChatLiteLLM import and add verbose option 2024-02-18 15:36:04 +00:00