Google GenAI

All about Google GenAI.
ctx := context.Background()

client, err := generativelanguage.NewGenerativeClient(ctx)
if err != nil {
    // Error handling
}

defer client.Close()

llm, err := chatmodel.NewGoogleGenAI(client)
if err != nil {
   // Error handling
}
Last modified December 17, 2023: Add cohere chatmodel support (d70088d)