Commit graph

7,578 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
13783c1c60 Format json file 2023-12-22 10:39:43 -03:00
Gabriel Luiz Freitas Almeida
f943ea26d6 Refactor AgentInitializerComponent to support optional memory parameter 2023-12-22 10:39:26 -03:00
Gabriel Luiz Freitas Almeida
8306a5bbd8 Remove import validation for typing module 2023-12-22 10:39:17 -03:00
Gabriel Luiz Freitas Almeida
7d40090364
BUGFIX: Issue GITHUB #1227 (#1237)
fix(extraSidebarComponent): update condition to show ExportMemo buttun
based on hasApiKey and validApiKey variables

Github Issue: https://github.com/logspace-ai/langflow/issues/1227
2023-12-21 16:04:36 -03:00
cristhianzl
34474166b8 fix(extraSidebarComponent): update condition to show ExportMemo button based on hasApiKey and validApiKey variables 2023-12-21 15:06:41 -03:00
Gabriel Luiz Freitas Almeida
55e9b4ba1c Add AIMessage support and update Result model 2023-12-21 14:52:12 -03:00
yamonkjd
c979823d58
Create ChatOllamaEndpoint.py
This is a draft of a custom component to access the Ollama API endpoint.
2023-12-21 17:59:15 +09:00
Gabriel Luiz Freitas Almeida
cfcfc37928 Add temperature parameter to ConversationalAgent 2023-12-20 21:06:09 -03:00
Gabriel Luiz Freitas Almeida
955ef77060 Add Redis URL configuration option 2023-12-20 21:03:17 -03:00
Gabriel Luiz Freitas Almeida
4a9c7506ea Refactor process.py to improve code structure and readability 2023-12-20 18:56:32 -03:00
Gabriel Luiz Freitas Almeida
1f027c637b
Added AzureChatOpenAI Custom Component (#1233)
Solves #1161 & #1221
2023-12-20 18:40:04 -03:00
Gabriel Luiz Freitas Almeida
ce48f0c6f6
Cleanup AgentInitializer component (#1229)
Fixes #1228
2023-12-20 17:21:07 -03:00
Yassine Selmi
3f7b43d219 Rename attributes 2023-12-20 20:09:14 +00:00
Yassine Selmi
60d715f61d Lint 2023-12-20 20:07:41 +00:00
Yassine Selmi
1b4a7dc949 Fixed default param value 2023-12-20 20:06:57 +00:00
Yassine Selmi
abd9c67d3c Fixed wrong style attribute 2023-12-20 20:01:30 +00:00
Gabriel Luiz Freitas Almeida
bb9aed50e0
Update type hints and refactor result handling in process.py (#1234)
This pull request updates the type hints for the inputs parameter in the process_graph_data and process functions. It also refactors the result handling in the generate_result function. Additionally, it updates the version to 0.6.3a5 in pyproject.toml.
2023-12-20 16:29:45 -03:00
Yassine Selmi
28fe0982e6 Added documentation link 2023-12-20 18:44:58 +00:00
Yassine Selmi
b288ae3df3 Added Azure OpenAI 2023-12-20 17:55:47 +00:00
Gabriel Luiz Freitas Almeida
c5134d2e37 Update version to 0.6.3a5 in pyproject.toml 2023-12-20 14:53:21 -03:00
Gabriel Luiz Freitas Almeida
3586ba8469 Refactor process.py: Add import statements and update generate_result function 2023-12-20 14:53:15 -03:00
Gabriel Luiz Freitas Almeida
931a2452eb Refactor result handling in generate_result function 2023-12-20 14:41:55 -03:00
Gabriel Luiz Freitas Almeida
1148c65c5e Update type hints for inputs parameter in process_graph_data and process functions 2023-12-20 14:41:49 -03:00
Gabriel Luiz Freitas Almeida
cdc823d6b0
Update version to 0.6.3a4 in pyproject.toml (#1232)
This pull request updates the version in the pyproject.toml file to 0.6.3a4.
2023-12-20 14:20:55 -03:00