Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Addr is the address of the Milvus server. // Defaults to "localhost:19530". Addr string `json:"addr"` // Timeout configures a timeout for dialing the Milvus server initially. // Defaults to 2s. Timeout time.Duration `json:"timeout"` // DBName is the database name. // Defaults to "default". DBName string `json:"db_name"` // CollectionName is the collection name. // This field is required. CollectionName string `json:"collection_name"` // Dim is the vector/embedding dimension. // Defaults to 1536 (the dimension generated by OpenAI's Embedding API). Dim int `json:"dim"` }
type Milvus ¶
type Milvus struct {
// contains filtered or unexported fields
}
func (*Milvus) Delete ¶
Delete deletes the documents belonging to the given sourceIDs. As a special case, empty sourceIDs means deleting all documents.
Click to show internal directories.
Click to hide internal directories.