Commit graph

5,760 commits

Author SHA1 Message Date
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
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
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
d2c1d86f67 Update login.py with new auth settings 2024-02-19 13:36:38 -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
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
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
Ricardo Henriques
32012df810 Add ChatLiteLLM component to backend 2024-02-18 14:34:37 +00:00
Ricardo Henriques
a62ae5b722 Add LiteLLMComponent to the project 2024-02-18 14:13:26 +00:00
cristhianzl
92e966e466 merge fix 2024-02-16 17:06:03 -03:00
Lucas Oliveira
b13a52db97 Fixed groupByFamily 2024-02-16 18:23:34 +01:00
cristhianzl
df1e6a4600 add controlX feature 2024-02-16 12:05:42 -03:00
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
aabaf513e4 Refactor custom component field ordering 2024-02-11 13:04:13 -03:00
Gabriel Luiz Freitas Almeida
4f7833d2d4 Update field_order to be an optional list 2024-02-11 13:04:08 -03:00
Gabriel Luiz Freitas Almeida
7953950f14 Refactor Template class in base.py 2024-02-11 13:04:01 -03:00
Gabriel Luiz Freitas Almeida
42dd851ab6 Add field_order property to CustomComponent 2024-02-11 12:31:39 -03:00