Directories
¶
| Path | Synopsis |
|---|---|
|
Command concurrency shares one client between goroutines.
|
Command concurrency shares one client between goroutines. |
|
Command logging gives the client a log/slog logger.
|
Command logging gives the client a log/slog logger. |
|
Command options shows a client's settings and a call's: the forms a state may take, a question given as raw fields, and the options that override the client's deadline, retries and headers for one call.
|
Command options shows a client's settings and a call's: the forms a state may take, a question given as raw fields, and the options that override the client's deadline, retries and headers for one call. |
|
Command providers asks the same question of two vendors through the provider package's presets: Codiv, which speaks System One, with the model named on the client, and OpenAI, whose preset carries a dialect for its own wire and a default model.
|
Command providers asks the same question of two vendors through the provider package's presets: Codiv, which speaks System One, with the model named on the client, and OpenAI, whose preset carries a dialect for its own wire and a default model. |
|
Command quickstart asks a decision model one question about a support ticket and prints the answer.
|
Command quickstart asks a decision model one question about a support ticket and prints the answer. |
|
Command retries sets a retry policy for a client and for one call, and tells the errors of a call apart once its retries are spent.
|
Command retries sets a retry policy for a client and for one call, and tells the errors of a call apart once its retries are spent. |
|
Command transport gives the client a transport of its own: an *http.Transport the SDK clones and configures, or any http.RoundTripper, used as it is.
|
Command transport gives the client a transport of its own: an *http.Transport the SDK clones and configures, or any http.RoundTripper, used as it is. |
|
Command typed declares its questions as a struct: each tagged field is a question, and receives its answer.
|
Command typed declares its questions as a struct: each tagged field is a question, and receives its answer. |
Click to show internal directories.
Click to hide internal directories.