PromptUtility

public class PromptUtility
extends Object

java.lang.Object
   ↳ com.android.tradefed.ai.PromptUtility


כלי ליצירת הנחיות מתוך הקשר.

סיכום

‫constructors ציבוריים

PromptUtility()

‫methods ציבוריים

static PromptResponse runPromptTemplate(String apiKey, File templatePrompt, Set<String> requiredLogs, boolean logPromptOnly, TestDescription description, String stacktrace, Map<String, File> contextFiles)

יצירת הנחיה על סמך תבנית

static PromptResponse runPromptTemplate(String apiKey, PromptUtility.PromptTemplate template, boolean logPromptOnly, TestDescription description, String stacktrace, Map<String, File> contextFiles)

‫constructors ציבוריים

PromptUtility

public PromptUtility ()

‫methods ציבוריים

runPromptTemplate

public static PromptResponse runPromptTemplate (String apiKey, 
                File templatePrompt, 
                Set<String> requiredLogs, 
                boolean logPromptOnly, 
                TestDescription description, 
                String stacktrace, 
                Map<String, File> contextFiles)

יצירת הנחיה על סמך תבנית

פרמטרים
logPromptOnly boolean

החזרות
PromptResponse

runPromptTemplate

public static PromptResponse runPromptTemplate (String apiKey, 
                PromptUtility.PromptTemplate template, 
                boolean logPromptOnly, 
                TestDescription description, 
                String stacktrace, 
                Map<String, File> contextFiles)

פרמטרים
apiKey String

template PromptUtility.PromptTemplate

logPromptOnly boolean

description TestDescription

stacktrace String

contextFiles Map

חזרה לרצף השגרה
PromptResponse