public interface Api
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_API_HOST |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ChatCompletionResponse> |
chatCompletion(ChatCompletion chatCompletion)
chat
|
io.reactivex.Single<CreditGrantsResponse> |
creditGrants()
余额查询
|
static final String DEFAULT_API_HOST
@POST(value="v1/chat/completions") io.reactivex.Single<ChatCompletionResponse> chatCompletion(@Body ChatCompletion chatCompletion)
@GET(value="dashboard/billing/credit_grants") io.reactivex.Single<CreditGrantsResponse> creditGrants()
Copyright © 2023. All rights reserved.