File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
semantic-router/client-reference/index Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 244244 "youtube" : " https://www.youtube.com/@jamesbriggs"
245245 }
246246 }
247- }
247+ }
Original file line number Diff line number Diff line change @@ -227,3 +227,25 @@ async def ais_ready() -> bool
227227
228228Checks 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+
You can’t perform that action at this time.
0 commit comments