mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-05-10 06:12:20 +00:00
docs: sync Haystack API reference on Docusaurus (#11277)
Co-authored-by: julian-risch <4181769+julian-risch@users.noreply.github.com>
This commit is contained in:
@@ -94,3 +94,21 @@ Checks if any document associated with the specified cache field is already pres
|
||||
- <code>dict\[str, Any\]</code> – A dictionary with two keys:
|
||||
- `hits` - Documents that matched with at least one of the items.
|
||||
- `misses` - Items that were not present in any documents.
|
||||
|
||||
#### run_async
|
||||
|
||||
```python
|
||||
run_async(items: list[Any]) -> dict[str, Any]
|
||||
```
|
||||
|
||||
Asynchronously checks if any document associated with the specified cache field is already present in the store.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
- **items** (<code>list\[Any\]</code>) – Values to be checked against the cache field.
|
||||
|
||||
**Returns:**
|
||||
|
||||
- <code>dict\[str, Any\]</code> – A dictionary with two keys:
|
||||
- `hits` - Documents that matched with at least one of the items.
|
||||
- `misses` - Items that were not present in any documents.
|
||||
|
||||
Reference in New Issue
Block a user