Open ahmad-nikoo opened 2 months ago
Hi @ahmad-nikoo , Can you expand the 3 vendor frames field and send the top record in that field?
yes,
@ahmad-nikoo I could not reproduce this problem. Can you go into the source code and see the response returned from the server?
Good afternoon, how are you? I believe your issue is that you need to create a variable to receive the text. `$result = Gemini::geminiPro()->generateContent('Hello');
$result = $result->text();
dd($result); And that: or execute it directly on dd
dd($result->text());`
And this: try this!
When I try this, I can get a response successfully. Here the gemini api returns in a format other than json format. Therefore I need what is returned from the gemini api.
same issue any solution
same issue any solution
Add variable for '$result->text()'
Like $res = $result->text()
hi when i use this code :
i get this error :
syntax error
in line$result = Gemini::geminiPro()->generateContent("hello");
anybody can help me? thank's