Microsoft.Extensions.AI Integration
Cross-SDK comparison
See the centralized MEAI documentation for feature matrices and comparisons across all tryAGI SDKs.
The Milvus SDK provides AIFunction tool wrappers compatible with Microsoft.Extensions.AI. These tools can be used with any IChatClient to give AI models access to Milvus vector database operations including search, insert, query, and collection management.
Installation
1 | |
Available Tools
| Method | Tool Name | Description |
|---|---|---|
AsSearchVectorsTool() |
SearchVectors |
Search for similar vectors using vector similarity |
AsInsertVectorsTool() |
InsertVectors |
Insert entities into a collection |
AsCreateCollectionTool() |
CreateCollection |
Create a new vector collection |
AsListCollectionsTool() |
ListCollections |
List all vector collections |
AsDescribeCollectionTool() |
DescribeCollection |
Describe a collection's schema and status |
AsQueryVectorsTool() |
QueryVectors |
Query entities by scalar filter expression |
AsDeleteVectorsTool() |
DeleteVectors |
Delete entities by filter expression |
Usage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |