Commit graph

7,352 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
d9fe8c838d Refactor ChatOllamaEndpoint.py 2023-12-29 11:00:34 -03:00
Gabriel Luiz Freitas Almeida
82a33ec7b6
add ChatOllama LLM (#1235)
This is a draft of a custom component to access the Ollama API endpoint.
2023-12-29 10:57:22 -03:00
Gabriel Luiz Freitas Almeida
5e0d30a7f6
Adding Vectara Self Query Retriever - feature request (#1249)
### Pull Request for Issue #1246 

**Description**,
This pull request addresses issue #1246, which proposes the addition of
a self-query retriever according to the LangChain Vectara integration.
The self-query retriever aims to empower users with the ability to
perform queries directly within the Vectara component(vector store).

**Changes Made**
I have added one more file under
`src\backend\langflow\components\retrievers` which contains a new
VectaraSelfQueryRetriverComponent class

**Files Added:** VectaraSelfQueryRetriever.py

**langchain documentation for this component:**

https://python.langchain.com/docs/integrations/retrievers/self_query/vectara_self_query
2023-12-29 10:56:18 -03:00
Gabriel Luiz Freitas Almeida
4c599cbc49
Merge branch 'main' into dev 2023-12-29 10:54:53 -03:00
Gabriel Luiz Freitas Almeida
c1c2b8ffc3 Update version number in pyproject.toml 2023-12-29 10:51:09 -03:00
Gabriel Luiz Freitas Almeida
b66a051a7e
Update .dockerignore file and add QEMU, Docker Buildx, and Docker Hub integration (#1267)
This pull request includes the following changes:

- Update .dockerignore file

- Add QEMU, Docker Buildx, and Docker Hub integration
2023-12-29 10:50:20 -03:00
Gabriel Luiz Freitas Almeida
41a7911f05 Add QEMU, Docker Buildx, and Docker Hub integration 2023-12-29 10:49:40 -03:00
Gabriel Luiz Freitas Almeida
b9fea47dd1 Update .dockerignore file 2023-12-29 10:46:39 -03:00
Gabriel Luiz Freitas Almeida
75390ebe15
Update bcrypt version to 4.0.1 and add .dockerignore entries for node_modules and dist directories (#1266)
This pull request updates the bcrypt version to 4.0.1 and adds .dockerignore entries for the node_modules and dist directories.
2023-12-29 09:49:57 -03:00
Gabriel Luiz Freitas Almeida
7e28707a23 Add .dockerignore entries for node_modules and dist directories 2023-12-29 09:45:09 -03:00
Gabriel Luiz Freitas Almeida
74a8954eb0 Update bcrypt version to 4.0.1 2023-12-29 09:45:03 -03:00
Gabriel Luiz Freitas Almeida
002adc3910
Add Dockerfile for building and pushing the application image (#1265)
This pull request adds a Dockerfile for building and pushing the application image. The Dockerfile includes the necessary steps to set up the environment, install dependencies, and run the application.
2023-12-29 09:38:42 -03:00
Gabriel Luiz Freitas Almeida
bb7ac56b6e Add Dockerfile for build and push 2023-12-29 09:38:14 -03:00
Gabriel Luiz Freitas Almeida
667625e740 Add Dockerfile for building and pushing the application image 2023-12-29 09:38:08 -03:00
Gabriel Luiz Freitas Almeida
89a5b62d7a
Release 0.6.4a0 (#1263)
This pull request updates the version in pyproject.toml to 0.6.4a0.
2023-12-29 08:05:53 -03:00
Gabriel Luiz Freitas Almeida
148b27c9d6 Update version to 0.6.4a0 in pyproject.toml 2023-12-29 08:04:57 -03:00
Gabriel Luiz Freitas Almeida
2e464d3348 Update dependencies in pyproject.toml 2023-12-29 08:04:20 -03:00
Gabriel Luiz Freitas Almeida
23b2629b29 Add QEMU, Docker Buildx, and Docker Hub integration 2023-12-29 07:38:53 -03:00
Cristhian Zanforlin Lousa
0227359bb6
BUGFIXES (#1260)
fix(dropdownComponent): add condition to check if options object is
empty before rendering dropdown component

fix(chatInput): add condition to check if chatValue is an empty object
before displaying message
fix(chatMessage): remove useMemo hook and fix condition to check if chat
message is empty before displaying message
fix(formModal): add conditions to check if thought and files exist
before updating chat object
fix(genericModal): add condition to check if inputVariables exist before
displaying notice or success message
2023-12-28 10:58:23 -03:00
cristhianzl
58eebab84b fix(dropdownComponent): add condition to check if options object is empty before rendering dropdown component
fix(chatInput): add condition to check if chatValue is an empty object before displaying message
fix(chatMessage): remove useMemo hook and fix condition to check if chat message is empty before displaying message
fix(formModal): add conditions to check if thought and files exist before updating chat object
fix(genericModal): add condition to check if inputVariables exist before displaying notice or success message
2023-12-28 10:57:02 -03:00
Gabriel Luiz Freitas Almeida
96f6a88ad3 Add pytube library as a dependency 2023-12-27 16:27:05 -03:00
yamonkjd
e9cd339278
Update ChatOllamaEndpoint.py 2023-12-26 18:57:40 +09:00
yamonkjd
3b6672e06d
Update OllamaLLM.py 2023-12-26 18:57:27 +09:00
Atharva J
5df7319bd8 for test cases 2023-12-26 01:28:21 +05:30
Atharva J
6720b2c058 VectaraSelfQueryRetriverComponent 2023-12-26 01:19:00 +05:30
Gabriel Luiz Freitas Almeida
a27c7221bb
Vectara Component Update - feature enhancement (#1219)
### Pull Request for Issue #1217 
[feature
request](https://github.com/logspace-ai/langflow/labels/feature%20request)
[python](https://github.com/logspace-ai/langflow/labels/python)

**Description**
This pull request addresses issue #1217 , which concerns the ability to
add files directly to the Vectara vector store using the indexing API's
file upload feature.

**Changes Made**
I have implemented the ability to add files directly to the Vectara
vector store by providing URLs of documents online. The add_files()
method (as well as from_files()) has been added to facilitate this
functionality.

**Files Modified/Added**
Modified: vectara.py
2023-12-24 20:04:38 -03:00
Gabriel Luiz Freitas Almeida
04fde52a21 Fix param overwrite issue in Vertex class 2023-12-22 17:07:19 -03:00
yamonkjd
6c0b4fb416
Merge branch 'logspace-ai:dev' into Add-Ollama-LLM 2023-12-23 03:58:56 +09:00
yamonkjd
c303bf3d49
Create OllamaLLM.py 2023-12-23 03:58:36 +09:00
yamonkjd
bea5065237
Update ChatOllamaEndpoint.py 2023-12-23 03:57:38 +09:00
anovazzi1
0d8cdeb073
Add Google Gemini Component, improvements and bugfixes (#1243)
This release of Langflow introduces a range of enhancements and notable
new features aimed at improving functionality, code quality, and user
experience. Key updates include the introduction of the Google Gemini
Component, a pivotal addition that expands the capabilities of Langflow
in language model applications.

Significant improvements were made in the custom component
functionality, notably in the areas of serialization and validation.
Basic support to LangChain Runnables added to the `process` endpoint.

On the front end, we've implemented changes to improve the overall user
interface and interactions. These include updates to the GenericNode
component, adjustments in the UI for better handling of nodes in the
flow, and the addition of new icon components for a more intuitive user
experience.

Backend refinements include updates to the Anthropic LLM and FAISS
component, along with several bug fixes and code optimizations. These
changes enhance the stability and efficiency of Langflow.
2023-12-22 13:09:15 -03:00
Gabriel Luiz Freitas Almeida
ef3f7bb8d7 Update version number in pyproject.toml 2023-12-22 12:58:20 -03:00
Gabriel Luiz Freitas Almeida
cabc70cecd
Update version to 0.6.3a7 in pyproject.toml (#1242)
This is test to make sure the workflow is updating the release notes
2023-12-22 12:08:06 -03:00
Gabriel Luiz Freitas Almeida
6a41af66c8 Update version to 0.6.3a7 in pyproject.toml 2023-12-22 12:07:23 -03:00
Gabriel Luiz Freitas Almeida
b8ba344c22 Update commit message to use 'Set commit to dev' 2023-12-22 12:03:20 -03:00
Gabriel Luiz Freitas Almeida
e1b01a084a Update commit reference to use GitHub SHA 2023-12-22 12:02:15 -03:00
Gabriel Luiz Freitas Almeida
e35b5c01b0 Add workflow_dispatch to pre-release.yml 2023-12-22 11:56:31 -03:00
Gabriel Luiz Freitas Almeida
afd1bc0c18
Refactor code and update dependencies (#1241)
This pull request includes multiple code refactorings and updates to dependencies. It also removes unused imports, fixes code formatting, and updates the langflow version to 0.6.3a6.
2023-12-22 11:22:37 -03:00
Gabriel Luiz Freitas Almeida
692a078e29 Remove unused import and test case 2023-12-22 11:21:55 -03:00
Gabriel Luiz Freitas Almeida
3d4b9a81a3 Refactor imports and update Result model 2023-12-22 11:21:48 -03:00
Gabriel Luiz Freitas Almeida
b900b6dd55 Remove validate 2023-12-22 11:21:42 -03:00
Gabriel Luiz Freitas Almeida
232a53a05c Update langflow version to 0.6.3a6 2023-12-22 11:00:11 -03:00
Gabriel Luiz Freitas Almeida
f7ae3ae852 Refactor process_inputs function to handle optional inputs and artifacts 2023-12-22 10:53:53 -03:00
Gabriel Luiz Freitas Almeida
d07150ad17 Update worker.py with typing changes 2023-12-22 10:53:46 -03:00
Gabriel Luiz Freitas Almeida
010a045448 Update typing imports and add logger import 2023-12-22 10:46:47 -03:00
Gabriel Luiz Freitas Almeida
75493bbdea Refactor process_inputs function to handle both dict and list inputs 2023-12-22 10:46:35 -03:00
Gabriel Luiz Freitas Almeida
3213c87193 Refactor API endpoints and imports 2023-12-22 10:41:49 -03:00
Gabriel Luiz Freitas Almeida
266bc0d7f8 Format imports 2023-12-22 10:40:58 -03:00
Gabriel Luiz Freitas Almeida
28ff6a8c03 Fix code formatting and import statements 2023-12-22 10:40:38 -03:00
Gabriel Luiz Freitas Almeida
113861eb59 Refactor test_custom_component.py 2023-12-22 10:39:59 -03:00