ContentRequest
public
class
ContentRequest
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.ai.ContentRequest |
用于构建向 API 发出的请求的类。
摘要
嵌套类 | |
|---|---|
class |
ContentRequest.Content
|
class |
ContentRequest.InlineData
|
class |
ContentRequest.Part
|
公共构造函数 | |
|---|---|
ContentRequest(String textPrompt)
|
|
ContentRequest(String textPrompt,
|
|
公共构造函数
ContentRequest
public ContentRequest (String textPrompt)
| 参数 | |
|---|---|
textPrompt |
String |
ContentRequest
public ContentRequest (String textPrompt,
inlineData) | 参数 | |
|---|---|
textPrompt |
String |
inlineData |
|