Gemini AI
Get an overview of Gemini AI and how to use its models in a Go application.
Gemini AI is a large language model (LLM) developed by Google AI. It is a factual language model trained on a massive dataset of text and code. It can generate text, translate languages, write creative content, and answer queries informally.
Gemini API models
The Gemini API supports two generative AI models:
Gemini
PaLM
Gemini has an advantage over PaLM because it can also handle image input. It’s possible to provide text, or images (or both) as prompts to the Gemini models. PaLM models, on the other hand, can only handle text input and output.
Gemini models
Here are the different Gemini models, along with their features:
Gemini Pro: It generates output text based on input text and can handle a multi-turn conversational format.
Gemini Vision Pro: It can accept multimodal inputs (text and image) and generate text as output.
AQA: It performs attributed question answering. It is trained to return answers to questions based on provided sources and estimate answerable probability.
Embedding: It generates text embeddings for the input text. ...