Writing a Chatbot Powered by Google Gemini Part II

We introduced the basic operations of a Telegram bots and how to create, configure a Telegram bot and how to use it to interact with users. This time, we talk about how to use Gemini to generate responses. Quick Start We can test Gemini api directly using the official website: We can modify some settings on the run: Modifying Model Parameters Model: which model we’re using. Different models are suitable for different tasks....

published on February 26, 2024 · 7 min · 1416 words

Writing a Chatbot Powered by Google Gemini Part I

Google released the Gemini model recently, and it’s free to use. We can use it to create our own chatbot. We’ll start with the introduction to Telegram bots because they are also free and can handle text and image messages. Bots on other platforms should be similar. info There is a Golang library providing Telegram bots api wrappers. We don’t use it in this post because the api is very easy and self-explanatory....

published on February 9, 2024 · 6 min · 1121 words