Skip to content

Commit 1b69e16

Browse files
istranicalgitbook-bot
authored andcommitted
GITBOOK-14: change request with no subject merged in GitBook
1 parent 1be8d58 commit 1b69e16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/vector-store/vector-search-options/deep-lake-vector-store-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ UDFs are only supported with query execution using the Python engine, so in the
112112
Instead of using UDFs, a filter can be specified using dictionary syntax. For json tensors, the syntax is `filter = {"tensor_name": {"key": "value"}}`. For text tensors, it is `filter = {"tensor": "value"}`. In all cases, an exact match is performed.
113113

114114
```python
115-
search_results_filter = self.txt_vector_store.search(embedding_data = "",
116-
embedding_function = self.embedding_text_function,
115+
search_results_filter = vector_store.search(embedding_data = prompt,
116+
embedding_function = embedding_function,
117117
filter = {"metadata": {"source": "paul_graham_essay.txt"}})
118118
```
119119

0 commit comments

Comments
 (0)