gemini

package
v0.0.0-...-7d93bc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gemini

type Gemini struct {
	Gemini *genai.Client
	// contains filtered or unexported fields
}

func NewGeminiClient

func NewGeminiClient(apiKey, model string) (*Gemini, error)

func (*Gemini) ProcessImage

func (g *Gemini) ProcessImage(request dto.ProcessImageRequest, ctx context.Context) (dto.ProcessImageResponse, error)

type GeminiInterface

type GeminiInterface interface {
	ProcessImage(request dto.ProcessImageRequest, ctx context.Context) (dto.ProcessImageResponse, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL