2026'dan itibaren, ana kararlı geliştirme modelimizle uyumlu olmak ve ekosistem için platform kararlılığını sağlamak amacıyla kaynak kodunu 2. ve 4. çeyreklerde AOSP'de yayınlayacağız. AOSP'yi oluşturmak ve AOSP'ye katkıda bulunmak için android-latest-release kullanın. android-latest-release manifest dalı her zaman AOSP'ye gönderilen en son sürümü referans alır. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
PromptUtility
public
class
PromptUtility
extends Object
| java.lang.Object
|
| ↳ |
com.android.tradefed.ai.PromptUtility
|
Bağlamdan istem oluşturmaya yarayan bir araç.
Özet
Herkese açık yöntemler |
static
PromptResponse
|
runPromptTemplate(String apiKey, File templatePrompt, Set<String> requiredLogs, boolean logPromptOnly, TestDescription description, String stacktrace, Map<String, File> contextFiles)
Şablona dayalı istem oluşturma
|
static
PromptResponse
|
runPromptTemplate(String apiKey, PromptUtility.PromptTemplate template, boolean logPromptOnly, TestDescription description, String stacktrace, Map<String, File> contextFiles)
|
Herkese açık oluşturucular
PromptUtility
public PromptUtility ()
Herkese açık yöntemler
runPromptTemplate
public static PromptResponse runPromptTemplate (String apiKey,
File templatePrompt,
Set<String> requiredLogs,
boolean logPromptOnly,
TestDescription description,
String stacktrace,
Map<String, File> contextFiles)
Şablona dayalı istem oluşturma
| Parametreler |
logPromptOnly |
boolean |
runPromptTemplate
public static PromptResponse runPromptTemplate (String apiKey,
PromptUtility.PromptTemplate template,
boolean logPromptOnly,
TestDescription description,
String stacktrace,
Map<String, File> contextFiles)
| Parametreler |
apiKey |
String |
template |
PromptUtility.PromptTemplate |
logPromptOnly |
boolean |
description |
TestDescription |
stacktrace |
String |
contextFiles |
Map |
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2026-06-22 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2026-06-22 UTC."],[],[]]