Generations - Go SDK
Generations - Go SDK
Generations method reference
The Go SDK and docs are currently in beta. Report issues on GitHub.
Overview
Generation history endpoints
Available Operations
- GetGeneration - Get request & usage metadata for a generation
- ListGenerationContent - Get stored prompt and completion content for a generation
GetGeneration
Get request & usage metadata for a generation
Example Usage
Parameters
Response
*components.GenerationResponse, error
Errors
ListGenerationContent
Get stored prompt and completion content for a generation
Example Usage
Parameters
Response
*components.GenerationContentResponse, error