esc.ai.SimpleGeminiRunner
A simple LMRunner implementation which call the Gemini API for LLM stuff. You need at least a valid Gemini ApiKey.
Usage: val g = new SimpleGeminiRunner("path", "apiKey") LMRunner.setLMRunner(g)
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Attributes
-
Definition Classes
-
Set a new AiConfig to the object. The config itself has no impact of this implementation. It's just used to give the actual config back.
Set a new AiConfig to the object. The config itself has no impact of this implementation. It's just used to give the actual config back.
Attributes
-
Definition Classes
-
Not implemented beacause it's not needed for the Gemini API.
Not implemented beacause it's not needed for the Gemini API.
Attributes
-
Definition Classes
-
Execute the given text prompt using the Gemini API.
Execute the given text prompt using the Gemini API.
Value parameters
-
maxTokens
-
Default is None. But this value is not used for the Gemini API yet.
Attributes
-
Definition Classes
-