File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ _This library is not developed or endorsed by Google._
25
25
- [ Text Generation using Image File] ( #text-generation-using-image-file )
26
26
- [ Text Generation using Image Data] ( #text-generation-using-image-data )
27
27
- [ Chat Session (Multi-Turn Conversations)] ( #chat-session-multi-turn-conversations )
28
+ - [ Chat Session with History] ( #chat-session-with-history )
28
29
- [ Text Embeddings] ( #text-embeddings )
29
30
- [ Tokens counting] ( #tokens-counting )
30
31
- [ Listing models] ( #listing-models )
Original file line number Diff line number Diff line change 14
14
* @method static string generateText(string $prompt)
15
15
* @method static string generateTextUsingImage(string $imageType, string $image, string $prompt = '')
16
16
* @method static string generateTextUsingImageFile(string $imageType, string $imagePath, string $prompt = '')
17
- * @method static ChatSession startChat()
18
17
* @method static Model[] listModels()
18
+ *
19
+ * @param array<int, array{message: string, role: string}> $history
20
+ * @method static ChatSession startChat(array $history)
19
21
*/
20
22
class Gemini extends Facade
21
23
{
You can’t perform that action at this time.
0 commit comments