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
This commit is contained in:
commit
a27c7221bb
2 changed files with 50 additions and 16 deletions
|
|
@ -578,4 +578,4 @@ def test_async_task_processing_vector_store(client, added_vector_store, created_
|
|||
# Validate that the task completed successfully and the result is as expected
|
||||
assert "result" in task_status_json, task_status_json
|
||||
assert "output" in task_status_json["result"], task_status_json["result"]
|
||||
assert "Langflow" in task_status_json["result"]["output"], task_status_json["result"]
|
||||
assert "Langflow" in task_status_json["result"]["output"], task_status_json["result"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue