| Package | Description |
|---|---|
| com.plexpt.chatgpt | |
| com.plexpt.chatgpt.api |
| Modifier and Type | Method and Description |
|---|---|
FileResponse |
ChatGPT.retrieveFile(String fileId)
检索文件
Retrieve file
|
FileResponse |
ChatGPT.uploadFile(String purpose,
okhttp3.MultipartBody.Part file)
上传文件
Upload file
|
| Modifier and Type | Method and Description |
|---|---|
BaseResponse<FileResponse> |
ChatGPT.listFiles()
列出文件
List files
|
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<BaseResponse<FileResponse>> |
Api.listFiles()
列出文件
List files
|
io.reactivex.Single<FileResponse> |
Api.retrieveFile(String fileId)
检索文件
Retrieve file
|
io.reactivex.Single<FileResponse> |
Api.uploadFile(okhttp3.RequestBody purpose,
okhttp3.MultipartBody.Part file)
上传文件
Upload file
|
Copyright © 2024. All rights reserved.