String 返回配置的字符串表示
()
| 313 | |
| 314 | // String 返回配置的字符串表示 |
| 315 | func (c *VectorDBConfig) String() string { |
| 316 | return fmt.Sprintf("VectorDBConfig{Type: %s, Endpoint: %s, Database: %s}", |
| 317 | c.Type, c.Endpoint, c.Database) |
| 318 | } |
| 319 | |
| 320 | // GetCollectionName 获取完整的集合名称(带前缀) |
| 321 | func (c *VectorDBConfig) GetCollectionName(name string) string { |
no outgoing calls
no test coverage detected