Skip to content

Commit 61a2981

Browse files
committed
chore: update semantic router docs
1 parent 3ba074f commit 61a2981

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,4 +244,4 @@
244244
"youtube": "https://www.youtube.com/@jamesbriggs"
245245
}
246246
}
247-
}
247+
}

semantic-router/client-reference/index/qdrant.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,25 @@ async def ais_ready() -> bool
227227

228228
Checks if the index is ready to be used asynchronously.
229229

230+
#### aadd
231+
232+
```python
233+
async def aadd(embeddings: List[List[float]],
234+
routes: List[str],
235+
utterances: List[str],
236+
function_schemas: Optional[List[Dict[str, Any]]] = None,
237+
metadata_list: List[Dict[str, Any]] = [],
238+
batch_size: int = DEFAULT_UPLOAD_BATCH_SIZE,
239+
**kwargs)
240+
```
241+
242+
Asynchronously add records to the index, including metadata in the payload.
243+
244+
#### aget\_utterances
245+
246+
```python
247+
async def aget_utterances(include_metadata: bool = False) -> List[Utterance]
248+
```
249+
250+
Asynchronously gets a list of route and utterance objects currently stored in the index, including metadata.
251+

0 commit comments

Comments
 (0)