mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-23 20:14:10 +08:00
(improvement)(chat) Add unit tests for each chatModel and embeddingModel. (#1582)
This commit is contained in:
@@ -16,6 +16,8 @@ public class OllamaModelFactory implements ModelFactory, InitializingBean {
|
||||
|
||||
public static final String PROVIDER = "OLLAMA";
|
||||
public static final String DEFAULT_BASE_URL = "http://localhost:11434";
|
||||
public static final String DEFAULT_MODEL_NAME = "qwen:0.5b";
|
||||
public static final String DEFAULT_EMBEDDING_MODEL_NAME = "all-minilm";
|
||||
|
||||
@Override
|
||||
public ChatLanguageModel createChatModel(ChatModelConfig modelConfig) {
|
||||
|
||||
Reference in New Issue
Block a user