Milvus vectors

From bidewio/better-openclaw · View interactive version

Milvus vectors is an AI agent skill from the GitHub repository bidewio/better-openclaw. Scalable vector database with Milvus

How to use this skill

Skill file

Milvus – Vector Database at Scale

Milvus is a purpose-built vector database for AI applications,

capable of handling billions of vectors with sub-second search.

Environment Variables

| Variable | Description |

|---|---|

| {{MILVUS_HOST}} | Milvus server host |

| {{MILVUS_PORT}} | Milvus server port (default: 19530) |

Usage Examples

Create a collection (via pymilvus)

python3 -c "
from pymilvus import connections, Collection, FieldSchema, CollectionSchema, DataType
connections.connect(host='{{MILVUS_HOST}}', port='{{MILVUS_PORT}}')
fields = [
    FieldSchema('id', DataType.INT64, is_primary=True, auto_id=True),
    FieldSchema('embedding', DataType.FLOAT_VECTOR, dim=768)
]
schema = CollectionSchema(fields)
col = Collection('my_collection', schema)
print('Collection created:', col.name)
"

AI Agent Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.