| Modifier and Type | Method and Description |
|---|---|
LLMConfig |
LLM.getLLMConfig()
获取当前LLM的配置
|
| Modifier and Type | Method and Description |
|---|---|
static LLM |
LLMs.of(LLMConfig llmConfig)
获取一个LLM实例
|
static LLM |
LLMs.of(String LLMName,
LLMConfig llmConfig)
获取一个LLM实例
|
| Modifier and Type | Class and Description |
|---|---|
class |
LLMConfigGallery
三方 AI Gallery模型配置
|
| Constructor and Description |
|---|
GalleryClient(LLMConfig llmConfig)
初始化
|
| Constructor and Description |
|---|
OpenAIClient(LLMConfig llmConfig)
初始化
|
| Constructor and Description |
|---|
PanguClient(LLMConfig llmConfig)
初始化
|
PanguClient(LLMConfig llmConfig,
EmbeddingConfig embeddingConfig)
初始化
|
| Modifier and Type | Field and Description |
|---|---|
protected LLMConfig |
AbstractLLM.llmConfig |
| Modifier and Type | Method and Description |
|---|---|
LLMConfig |
AbstractLLM.getLLMConfig() |
| Constructor and Description |
|---|
AbstractLLM(LLMConfig llmConfig)
初始化
|
Gallery(LLMConfig llmConfig)
初始化
|
OpenAI(LLMConfig llmConfig)
初始化
|
Pangu(LLMConfig llmConfig)
初始化
|
Copyright © 2024. All rights reserved.