सुझाव भेजें
GenerateContentStreamResult interface
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
GenerativeModel.generateContentStream() कॉल से मिला नतीजा ऑब्जेक्ट. स्ट्रीम के दौरान हिस्सा लेने के लिए stream
से ज़्यादा बार दोहराएँ और/या response
प्रॉमिस का इस्तेमाल करके स्ट्रीम पूरी होने के बाद एग्रीगेट किया गया जवाब पाएं.
हस्ताक्षर:
export interface GenerateContentStreamResult
प्रॉपर्टी
CreateContentStreamresults.response
हस्ताक्षर:
response: Promise<EnhancedGenerateContentResponse>;
CreateContentStreamresults.streams डिवाइस
हस्ताक्षर:
stream: AsyncGenerator<EnhancedGenerateContentResponse>;
सुझाव भेजें
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-05-13 (UTC) को अपडेट किया गया.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"वह जानकारी मौजूद नहीं है जो मुझे चाहिए"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"बहुत मुश्किल है / बहुत सारे चरण हैं"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"पुराना"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"अनुवाद से जुड़ी समस्या"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"सैंपल / कोड से जुड़ी समस्या"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"अन्य"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"समझने में आसान है"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"मेरी समस्या हल हो गई"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"अन्य"
}]
क्या आपको हमें और कुछ बताना है?