Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The name and arguments of a function that should be called, as generated by the model.
The name and arguments of a function that should be called, as generated by the model.
Value parameters
- arguments
-
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
- name
-
The name of the function to call.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Types
Value members
Concrete methods
Value parameters
- baseUrl
-
- The base url of the openAi service see ChatGpt
- client
-
- An http4s client - apply your middleware to it
Attributes
It is assumed, that an environment variable OPEN_AI_API_TOKEN is set with a valid token, to openai's api. This agent will write all in and outgoing messages to the file specified (no headers).
It is assumed, that an environment variable OPEN_AI_API_TOKEN is set with a valid token, to openai's api. This agent will write all in and outgoing messages to the file specified (no headers).
It ought to be rather easy to customize this to your needs by:
- changing the logPath to a different path ( per agent perhaps )
- using a different URL (if your corp wraps the endpoint seperately)
- Adding other http4s client middleware
Value parameters
- logPath
-
- The path to the log file