| Package | Description |
|---|---|
| com.litongjava.claude | |
| com.litongjava.openai.chat | |
| com.litongjava.openai.client |
| Modifier and Type | Method and Description |
|---|---|
static ClaudeChatResponseVo |
ClaudeClient.chatCompletions(OpenAiChatRequestVo chatRequestVo) |
static okhttp3.Call |
ClaudeClient.chatCompletions(OpenAiChatRequestVo chatRequestVo,
okhttp3.Callback callback) |
static ClaudeChatResponseVo |
ClaudeClient.chatCompletions(String apiKey,
OpenAiChatRequestVo chatRequestVo) |
static okhttp3.Call |
ClaudeClient.chatCompletions(String apiKey,
OpenAiChatRequestVo chatRequestVo,
okhttp3.Callback callback) |
static okhttp3.sse.EventSource |
ClaudeClient.chatCompletions(String apiKey,
OpenAiChatRequestVo chatRequestVo,
okhttp3.sse.EventSourceListener listener) |
static ClaudeChatResponseVo |
ClaudeClient.chatCompletions(String apiPerfixUrl,
String apiKey,
OpenAiChatRequestVo chatRequestVo) |
static okhttp3.Call |
ClaudeClient.chatCompletions(String serverUrl,
String apiKey,
OpenAiChatRequestVo chatRequestVo,
okhttp3.Callback callback) |
static okhttp3.sse.EventSource |
ClaudeClient.chatCompletions(String apiPerfixUrl,
String apiKey,
OpenAiChatRequestVo chatRequestVo,
okhttp3.sse.EventSourceListener listener) |
| Modifier and Type | Method and Description |
|---|---|
OpenAiChatRequestVo |
OpenAiChatRequestVo.setChatMessages(List<UniChatMessage> messages) |
OpenAiChatRequestVo |
OpenAiChatRequestVo.setChatMessages(List<UniChatMessage> messages,
String provider) |
| Modifier and Type | Method and Description |
|---|---|
static OpenAiChatResponseVo |
OpenAiClient.chatCompletions(OpenAiChatRequestVo chatRequestVo) |
static okhttp3.Call |
OpenAiClient.chatCompletions(OpenAiChatRequestVo chatRequestVo,
okhttp3.Callback callback) |
static okhttp3.sse.EventSource |
OpenAiClient.chatCompletions(OpenAiChatRequestVo chatRequestVo,
okhttp3.sse.EventSourceListener listener) |
static OpenAiChatResponseVo |
OpenAiClient.chatCompletions(String apiKey,
OpenAiChatRequestVo chatRequestVo) |
static OpenAiChatResponseVo |
OpenAiClient.chatCompletions(String apiPerfixUrl,
String apiKey,
OpenAiChatRequestVo chatRequestVo) |
static okhttp3.Call |
OpenAiClient.chatCompletions(String serverUrl,
String apiKey,
OpenAiChatRequestVo chatRequestVo,
okhttp3.Callback callback) |
static okhttp3.sse.EventSource |
OpenAiClient.chatCompletions(String serverUrl,
String apiKey,
OpenAiChatRequestVo chatRequestVo,
okhttp3.sse.EventSourceListener listener) |
Copyright © 2025. All rights reserved.