Commit graph

2,524 commits

Author SHA1 Message Date
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
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
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
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
28ff6a8c03 Fix code formatting and import statements 2023-12-22 10:40:38 -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
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
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
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
4751e91e90 Update langflow worker.py with async_to_sync for generate_result 2023-12-20 14:19:04 -03:00
Gabriel Luiz Freitas Almeida
c4daf5095a Add async/await to generate_result function 2023-12-20 14:18:48 -03:00
Gabriel Luiz Freitas Almeida
84f9c34bd1 Else clause for task_result 2023-12-20 14:18:42 -03:00
Gabriel Luiz Freitas Almeida
c58837d65d Refactor process_graph_data function to use task_service.launch_task and handle task status 2023-12-20 14:17:12 -03:00
Gabriel Luiz Freitas Almeida
481606ef00 Add unique constraints to tables 2023-12-20 08:17:55 -03:00
Gabriel Luiz Freitas Almeida
4197bd4b24 Refactor API endpoints and remove unnecessary imports 2023-12-19 18:22:18 -03:00
Yassine Selmi
85fc2c1013 Cleanup AgentInitializer component 2023-12-19 20:39:53 +00:00
Yassine Selmi
843e7a6b50 Removed Weaviate from config.yaml 2023-12-19 18:45:14 +00:00
Yassine Selmi
3a5320a098 Migrated Weaviate to custom component 2023-12-19 18:36:29 +00:00
Gabriel Luiz Freitas Almeida
96d12b6259 Update import statements in memories.py 2023-12-19 13:38:33 -03:00
Atharva J
52b6bc4ad4 Merge branch 'Vectara-component-update' of https://github.com/JAtharva22/langflowdev into Vectara-component-update 2023-12-19 15:09:33 +05:30
Atharva J
a5c6683609 . 2023-12-19 15:09:29 +05:30
Gabriel Luiz Freitas Almeida
34e116ddf2 Add process_json endpoint for processing JSON data 2023-12-18 10:52:33 -03:00
Gabriel Luiz Freitas Almeida
826a6d07e0 Refactor ProcessResponse schema in schemas.py 2023-12-18 10:50:43 -03:00
Gabriel Luiz Freitas Almeida
2edacce305 Add traceback property to AnyIOTaskResult class 2023-12-18 10:50:01 -03:00