Skip to content

Commit b234aa1

Browse files
committed
Make $candidateCount optional for plural generate termination methods
1 parent 8a1a2b8 commit b234aa1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/ARCHITECTURE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,14 @@ direction LR
362362
+generateSpeechOperation() GenerativeAiOperation
363363
+generateEmbeddingsOperation() EmbeddingOperation
364364
+generateText() string
365-
+generateTexts(int $candidateCount) string[]
365+
+generateTexts(?int $candidateCount) string[]
366366
+streamGenerateText() Generator< string >
367367
+generateImage() File
368-
+generateImages(int $candidateCount) File[]
368+
+generateImages(?int $candidateCount) File[]
369369
+convertTextToSpeech() File
370-
+convertTextToSpeeches(int $candidateCount) File[]
370+
+convertTextToSpeeches(?int $candidateCount) File[]
371371
+generateSpeech() File
372-
+generateSpeeches(int $candidateCount) File[]
372+
+generateSpeeches(?int $candidateCount) File[]
373373
+generateEmbeddings() Embedding[]
374374
+getModelRequirements() AiModelRequirements
375375
+isSupported() bool
@@ -524,14 +524,14 @@ direction LR
524524
+generateSpeechOperation() GenerativeAiOperation
525525
+generateEmbeddingsOperation() EmbeddingOperation
526526
+generateText() string
527-
+generateTexts(int $candidateCount) string[]
527+
+generateTexts(?int $candidateCount) string[]
528528
+streamGenerateText() Generator< string >
529529
+generateImage() File
530-
+generateImages(int $candidateCount) File[]
530+
+generateImages(?int $candidateCount) File[]
531531
+convertTextToSpeech() File
532-
+convertTextToSpeeches(int $candidateCount) File[]
532+
+convertTextToSpeeches(?int $candidateCount) File[]
533533
+generateSpeech() File
534-
+generateSpeeches(int $candidateCount) File[]
534+
+generateSpeeches(?int $candidateCount) File[]
535535
+generateEmbeddings() Embedding[]
536536
+getModelRequirements() AiModelRequirements
537537
+isSupported() bool

0 commit comments

Comments
 (0)