Commit graph

5,730 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
e2c0801aae Fix error handling and formatting in component.py and typesStore.ts 2024-02-16 11:01:53 -03:00
Gabriel Luiz Freitas Almeida
6357752b24 🔧 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 2024-02-16 11:01:29 -03:00
Gabriel Luiz Freitas Almeida
0497a47602 Default display_name to None 2024-02-16 11:00:30 -03:00
Gabriel Luiz Freitas Almeida
9928919f6d
Feature Enhancement: Enable Icon Integration for Custom Components (#1433)
This pull request introduces a significant enhancement to our project,
specifically aimed at empowering developers to seamlessly integrate
icons into custom components. The goal is to provide a flexible and
intuitive way to enhance UI elements with visual cues, thereby improving
user experience and interface aesthetics.
2024-02-16 08:49:56 -03:00
cristhianzl
4d750c2180 refactor: icon fragments functions 2024-02-16 00:38:58 -03:00
Gabriel Luiz Freitas Almeida
8e1ff4b3cc
Fix: Bring back loading to avoid white page error (#1434) 2024-02-15 18:33:54 -03:00
Gabriel Luiz Freitas Almeida
b9ad74cf4e
Update dependencies and refactor import statements (#1435)
This pull request updates the python-multipart version, updates the
dependencies in pyproject.toml, adds Python 3.11 support to lint and
test workflows, and refactors import statements in Qdrant.py.
2024-02-15 18:33:08 -03:00
Gabriel Luiz Freitas Almeida
daf2aec0af Update imports and type annotations in several components 2024-02-15 18:23:27 -03:00
Lucas Oliveira
1bade7e718 Fixed group nodes appearing at tooltip 2024-02-15 22:06:59 +01:00
Gabriel Luiz Freitas Almeida
de1c00c33f Update imports and deactivate test 2024-02-15 17:24:57 -03:00
Gabriel Luiz Freitas Almeida
3ecc492211 Fix validation of icon field in Component class 2024-02-15 16:57:45 -03:00
Gabriel Luiz Freitas Almeida
25774265d3 Fix documentation link and code formatting 2024-02-15 16:53:45 -03:00
Gabriel Luiz Freitas Almeida
e80fb4d598 Refactor import statements in Qdrant.py 2024-02-15 15:31:50 -03:00
Gabriel Luiz Freitas Almeida
fbc3f24440
Bump vite from 4.5.1 to 4.5.2 in /src/frontend (#1360)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 4.5.1 to 4.5.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->4.5.2 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="eeec23b">eeec23b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d0360c1247"><code>d0360c1</code></a>
release: v4.5.2</li>
<li><a
href="eeec23bbc9"><code>eeec23b</code></a>
fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v4.5.2/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.5.1&new-version=4.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/logspace-ai/langflow/network/alerts).

</details>
2024-02-15 10:51:24 -03:00
Ricardo Henriques
79e472772e Update QdrantComponent build method to handle pre-existing vector-stores 2024-02-14 15:58:30 +00:00
Ricardo Henriques
b6adb96cd9 Add HuggingFaceInferenceAPIEmbeddingsComponent class 2024-02-14 15:52:04 +00:00
cristhianzl
7af1f7cf41 changing to useCallback function 2024-02-14 10:40:27 -03:00
cristhianzl
9d2ffc130d add logic to icon name 2024-02-14 10:36:14 -03:00
Gabriel Luiz Freitas Almeida
c99e67110a Fix invalid emoji validation in Component class 2024-02-14 10:33:48 -03:00
Gabriel Luiz Freitas Almeida
260a85de2f Fix invalid emoji error handling 2024-02-14 10:31:42 -03:00
cristhianzl
865f147c2a add isEmoji 2024-02-14 10:30:00 -03:00
cristhianzl
3e341b5745 add icon regex 2024-02-14 10:26:55 -03:00
Gabriel Luiz Freitas Almeida
d76753cca7 makes function args not to be sorted by name 2024-02-11 11:30:21 -03:00
igorrCarvalho
23302fdca1 Fix: Bring back loading to avoid white page error 2024-02-09 21:51:02 -03:00
Gabriel Luiz Freitas Almeida
2b646429c0 Refactor langflow processing and langfuse callback initialization 2024-02-09 12:00:24 -03:00
cristhianzl
33d05a23f3 Merge branch 'add_emoji_icon' into dev 2024-02-08 18:08:24 -03:00
cristhianzl
b9570b9c32 add emoji icon 2024-02-08 18:06:59 -03:00
Gabriel Luiz Freitas Almeida
d8522f8236 Add emoji validation to icon field in custom components 2024-02-08 10:12:31 -03:00
Gabriel Luiz Freitas Almeida
f48b4468f6 Add icon property to APIClassType 2024-02-08 10:02:33 -03:00
Gabriel Luiz Freitas Almeida
585ae464a1 Add icon support to CustomComponent 2024-02-08 10:01:29 -03:00
Cristhian Zanforlin Lousa
034312d2a2
Refactor: make new flow create as "Untitled document" instead of random name (#1408) 2024-02-07 20:00:21 -03:00
Gabriel Luiz Freitas Almeida
829c810562 Update ChromaComponent configuration 2024-02-07 18:57:24 -03:00
Gabriel Luiz Freitas Almeida
a76b356526 Refactor CharacterTextSplitterComponent to use typing and update return value 2024-02-07 18:57:19 -03:00
Gabriel Luiz Freitas Almeida
778ed3a8e7 Fix disallowed_special parameter in OpenAIEmbeddingsComponent 2024-02-07 18:50:04 -03:00
igorrCarvalho
d0865a2580 Refactor: remove flow if there is no changes 2024-02-06 14:27:23 -03:00
dependabot[bot]
e617d36387
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>
2024-02-05 22:03:43 +00:00
Gabriel Luiz Freitas Almeida
392b81b519 Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
This reverts commit f3b3d2cf68.
2024-02-05 19:02:34 -03:00
Gabriel Luiz Freitas Almeida
7b5225f857
Merge branch 'main' into dev 2024-02-05 18:34:19 -03:00
anovazzi1
ee22000c52 Fix output type separator in GenericNode component 2024-02-05 18:33:11 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 18:29:03 -03:00
Gabriel Luiz Freitas Almeida
1b867586c2 Update OpenAI models and options 2024-02-05 18:17:23 -03:00
Gabriel Luiz Freitas Almeida
bbf8b2ab0b Remove unnecessary "required" attribute from field_config in VectaraComponent 2024-02-05 17:53:15 -03:00
anovazzi1
6fcc754704 Update Playwright configuration and fix Select component 2024-02-05 17:32:43 -03:00
Gabriel Luiz Freitas Almeida
54190f09ba Add RecursiveCharacterTextSplitter documentation link 2024-02-05 16:28:50 -03:00
Gabriel Luiz Freitas Almeida
eb3a0d4bc4 Add RecursiveCharacterTextSplitter import 2024-02-05 16:28:13 -03:00
anovazzi1
8023332260
add vectara icon (#1389)
* adding vectara icon

* Add field_typing imports and source parameter to VectaraComponent

* Refactor Vectara imports and update dependencies

* Refactor VectaraSelfQueryRetriverComponent class and update field_config

* Remove None values and update template strings

* Add get_output_types_from_code method to DirectoryReader

* Refactor directory_reader.py and handle exception when getting output types from code

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2024-02-02 18:01:29 -03:00
Gabriel Luiz Freitas Almeida
c0c64c99c9 Update imports to use langchain_core.documents 2024-02-01 09:37:37 -03:00
Gabriel Luiz Freitas Almeida
7efa79af69 Fix formatting issues and update code style 2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
42ce5b7112 Refactor RedisComponent to handle existing index in Redis 2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
54df76096f
Merge branch 'dev' into fix/vectorstores/pgvector 2024-02-01 09:34:50 -03:00