| Package | Description |
|---|---|
| com.litongjava.chat | |
| com.litongjava.gemini |
| Modifier and Type | Method and Description |
|---|---|
static UniResponseSchema |
UniResponseSchema.array(String key)
"responseSchema": { "type": "object", "properties": { "suggestions": {
"type": "array", "items": { "type": "string" } } } }
|
UniResponseSchema |
UniChatRequest.getResponseSchema() |
static UniResponseSchema |
UniResponseSchema.pythonCode()
"responseSchema": { "type": "object", "properties": { "action": { "type":
"string" }, "tool": { "type": "string" } "code": { "type": "string" },
} }
|
| Modifier and Type | Method and Description |
|---|---|
UniChatRequest |
UniChatRequest.setResponseSchema(UniResponseSchema responseSchema) |
| Constructor and Description |
|---|
UniChatRequest(String domain,
String apiPrefixUrl,
Long groupId,
String groupName,
Long taskId,
String taskName,
boolean useSystemPrompt,
String apiKey,
String platform,
String model,
String systemPrompt,
boolean cacheSystemPrompt,
Boolean stream,
List<UniChatMessage> messages,
Float temperature,
String cachedId,
Integer max_tokens,
Boolean enable_thinking,
UniThinkingConfig thinkingConfig,
String responseFormat,
UniResponseSchema responseSchema,
ChatProvider provider,
List<String> responseModalities,
Boolean enable_search) |
| Modifier and Type | Method and Description |
|---|---|
UniResponseSchema |
GeminiGenerationConfig.getResponseSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
GeminiGenerationConfig.setResponseSchema(UniResponseSchema responseSchema) |
| Constructor and Description |
|---|
GeminiGenerationConfig(Float temperature,
Integer topK,
Double topP,
Integer maxOutputTokens,
List<String> stopSequences,
List<String> responseModalities,
String responseMimeType,
UniResponseSchema responseSchema,
UniThinkingConfig thinkingConfig) |
Copyright © 2026. All rights reserved.