প্রম্পটইউটিলিটি

public class PromptUtility
extends Object

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


প্রসঙ্গ থেকে নির্দেশ তৈরি করার একটি ইউটিলিটি।

সারসংক্ষেপ

সরকারি নির্মাণকারী

PromptUtility ()

জনসাধারণের পদ্ধতি

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)

সরকারি নির্মাণকারী

প্রম্পটইউটিলিটি

public PromptUtility ()

জনসাধারণের পদ্ধতি

রানপ্রম্পটটেমপ্লেট

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

একটি টেমপ্লেটের উপর ভিত্তি করে একটি প্রম্পট তৈরি করুন।

প্যারামিটার
logPromptOnly boolean

ফেরত
PromptResponse

রানপ্রম্পটটেমপ্লেট

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