| Package | Description |
|---|---|
| com.coze.loop.client | |
| com.coze.loop.entity | |
| com.coze.loop.prompt |
| Modifier and Type | Method and Description |
|---|---|
Prompt |
CozeLoopClientImpl.getPrompt(GetPromptParam param) |
Prompt |
CozeLoopClient.getPrompt(GetPromptParam param)
Get a prompt from the platform.
|
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
CozeLoopClientImpl.formatPrompt(Prompt prompt,
Map<String,Object> variables) |
List<Message> |
CozeLoopClient.formatPrompt(Prompt prompt,
Map<String,Object> variables)
Format a prompt with variables.
|
| Modifier and Type | Method and Description |
|---|---|
Prompt |
Prompt.Builder.build() |
Prompt |
Prompt.deepCopy()
Deep copy this prompt.
|
| Modifier and Type | Method and Description |
|---|---|
Prompt |
PromptProvider.getPrompt(GetPromptParam param)
Get a prompt (with caching).
|
Prompt |
PromptCache.getSync(String key)
Get prompt from cache synchronously.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Prompt> |
PromptCache.get(String key)
Get prompt from cache, loading if necessary.
|
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
PromptFormatter.format(Prompt prompt,
Map<String,Object> variables)
Format prompt messages with variables.
|
List<Message> |
PromptProvider.formatPrompt(Prompt prompt,
Map<String,Object> variables)
Format prompt with variables.
|
void |
PromptCache.put(String key,
Prompt prompt)
Put prompt into cache.
|
| Constructor and Description |
|---|
PromptCache(PromptCache.PromptCacheConfig config,
Function<String,Prompt> loader)
Create a PromptCache with custom configuration.
|
Copyright © 2026. All rights reserved.