Google GenAI
All about Google GenAI.
ctx := context.Background()
client, err := generativelanguage.NewGenerativeClient(ctx)
if err != nil {
// Error handling
}
defer client.Close()
llm, err := llm.NewGoogleGenAI(client)
if err != nil {
// Error handling
}
Last modified December 15, 2023: Refactor google genai (6048a5e)