TradeBench 1.0.0
Algorithmic Trading Backtesting Platform
Loading...
Searching...
No Matches
Public Member Functions
App\Services\AiService Class Reference

Service responsible for managing communications with the Google Gemini Large Language Model. More...

Public Member Functions

 generateInsight (string $prompt)
 Generates an analytical insight based on the provided prompt.
 

Detailed Description

Service responsible for managing communications with the Google Gemini Large Language Model.

Member Function Documentation

◆ generateInsight()

App\Services\AiService::generateInsight ( string $prompt)

Generates an analytical insight based on the provided prompt.

Parameters
string$promptThe formatted instructions to send to the AI.
Returns
string The text payload response from the AI.
Exceptions
ExceptionIf the API request fails, times out, or encounters safety blocks.

The documentation for this class was generated from the following file: