Package-level declarations
Types
Link copied to clipboard
data class LlmRequest(val model: Model? = null, val contents: List<Content> = emptyList(), val config: GenerateContentConfig = GenerateContentConfig(), toolsDict: List<BaseTool> = emptyList())
LlmRequest represents a request to an LLM.
Link copied to clipboard
data class LlmResponse(val content: Content? = null, val usageMetadata: UsageMetadata? = null, val finishReason: FinishReason? = null, val errorMessage: String? = null, val partial: Boolean = false, val interrupted: Boolean = false, val modelVersion: String? = null, val citationMetadata: CitationMetadata? = null, val groundingMetadata: GroundingMetadata? = null)
LLM response class that provides the first candidate response from the model if available. Otherwise, contains the error code and message.
Link copied to clipboard
data class VertexCredentials(val project: String? = null, val location: String? = null, val credentials: <Error class: unknown class>? = null)
JVM implementation of VertexCredentials.