mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 20:25:12 +00:00
(improvement)(chat) Support connecting to Milvus service in the cloud. (#1588)
This commit is contained in:
@@ -22,6 +22,7 @@ public class MilvusEmbeddingStoreFactory extends BaseEmbeddingStoreFactory {
|
||||
EmbeddingStoreProperties embeddingStore = new EmbeddingStoreProperties();
|
||||
BeanUtils.copyProperties(storeConfig, embeddingStore);
|
||||
embeddingStore.setUri(storeConfig.getBaseUrl());
|
||||
embeddingStore.setToken(storeConfig.getApiKey());
|
||||
return embeddingStore;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user