PromptUtility
public
class
PromptUtility
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.ai.PromptUtility |
可根據脈絡資訊製作提示的公用程式。
摘要
公用建構函式 | |
|---|---|
PromptUtility()
|
|
公用方法 | |
|---|---|
static
PromptResponse
|
runPromptTemplate(String apiKey, PromptUtility.PromptTemplate template, TestDescription description, String stacktrace,
根據範本製作提示 |
公用建構函式
PromptUtility
public PromptUtility ()
公用方法
runPromptTemplate
public static PromptResponse runPromptTemplate (String apiKey, PromptUtility.PromptTemplate template, TestDescription description, String stacktrace,contextFiles)
根據範本製作提示
| 傳回 | |
|---|---|
PromptResponse |
|