Versions in this module Expand all Collapse all v1 v1.1.0 Aug 25, 2025 Changes in this version + type Cache interface + APICall func(key string, requestPayload []byte) ([]byte, bool) + SetAPICall func(key string, requestPayload []byte, responseData []byte) error v1.0.0 Aug 21, 2025 Changes in this version + func UnifiedPrompt() string + type CacheInterface interface + APICall func(key string, requestPayload []byte) ([]byte, bool) + SetAPICall func(key string, requestPayload []byte, responseData []byte) error + type Client struct + func NewClient(apiKey, model, gcpProject string) *Client + func (c *Client) CallWithSDK(ctx context.Context, prompt string, cache CacheInterface, logger Logger) (*Response, error) + type Logger interface + Debug func(msg string, args ...any) + Error func(msg string, args ...any) + Info func(msg string, args ...any) + Warn func(msg string, args ...any) + type Response struct + ConfidenceLevel string + DetectedLocation string + DetectedTimezone string + DetectionReasoning string + Latitude float64 + Longitude float64 + MismatchReason string + SuspiciousMismatch bool