How to use Gemini Call Function API

I know you probably already know what Gemini is, but if not, Gemini is an AI created by Google that is quite intelligent, has good documentation, and most importantly, it鈥檚 FREE, of course with some limitations. Models Gemini itself has 2 models worth trying: gemini-1.5-pro gemini-1.5-flash I personally recommend using the gemini-1.5-flash model, which is the one we鈥檒l be using in this project. Let鈥檚 Get Started First of all, what we need is:...

September 25, 2024 路 4 min 路 847 words 路 Syrup

How to Create Discord Bot With Bun #1

How to create a Discord bot using Bun: Install the necessary dependencies: 1 bun add discord.js Create a new file, let鈥檚 say bot.js, and add the following code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}!`); }); client.on('message', msg => { if (msg.content === 'ping') { msg.reply('Pong!'); } }); client....

July 18, 2024 路 1 min 路 135 words 路 Syrup

My first post

Introduction Welcome to my first post! In this article, I will be discussing the basics of Markdown and how it can be used to create rich and formatted content. 馃槃 (This post is for testing the markdown syntax) What is Markdown? Markdown is a lightweight markup language that allows you to write plain text using simple syntax and convert it into HTML or other formats. It was created by John Gruber and Aaron Swartz in 2004 with the goal of making it easy to write and read structured documents....

June 26, 2024 路 2 min 路 323 words 路 Syrup