AI & Robotics Lab
18 subscribers
71 photos
26 videos
9 files
99 links
Explore AI code generation, robotics, and ROS with original projects and hands-on guides. Follow along as I share my experience, code samples, and tips for building intelligent systems.
Download Telegram
🤖 Playing with Codestral Model API via Postman 🛠

Now that we have access to the Codestral Model API, let's explore it using REST API requests to see how it responds to different parameters! For this purpose, I recommend using Postman - a free tool that provides convenient features for working with APIs 🔧

🚀 Getting Started:
- Create a workspace in Postman
- Create a collection inside it to store your requests

🔌 Available Endpoints:
- Fill-in-the-middle: https://codestral.mistral.ai/v1/fim/completions
- Chat: https://codestral.mistral.ai/v1/chat/completions

💻 Let's experiment with the chat endpoint using a POST request. We'll modify the parameters from the API docs to focus on a coding task: generating a function to calculate Fibonacci numbers.

🔑 Authorization: For authorization, you'll need a Codestral API key (see my previous post for instructions on obtaining one). Pro tip: store such sensitive data in variables!

⚙️ Testing: After sending the modified request, you can observe the model's response. All model parameters are customizable to fine-tune the output.

API documentation

#CodestralAPI #Tutorial
2
🧩 Gazebo Tutorial - как использовать несколько файлов SDF для описания мира симуляции

Решил опробовать формат коротких роликов. Разбираюсь с Gazebo и попутно выкладываю полезные советы 😁. Первый пример - оптимизация sdf-файлов в проекте. Надеюсь, в таком режиме получится выпускать ролики чаще 🤞.

#gazebo #simulation #tutorial
1