AIClient

Overview

AIClient is a type in Aspose.PDF FOSS for Go.

AIClient is the contract every copilot consumes: one call, one chat completion.

This type declares 1 method for AIClient objects in Go programs. Available methods include: Complete. Public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

Methods

SignatureDescription
Complete(ctx: context.Context, req: CompletionRequest) → (*CompletionResponse, error)performs a single chat completion call and returns a*CompletionResponse` or an error

See Also

 English