Public
Project
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

MBIDA ia — API Backend

API backend pour le chatbot MBIDA ia, propulsé par Google Gemini 2.0 Flash.

Endpoint

POST / — Envoie un message au chatbot et reçoit une réponse.

Corps de la requête (JSON)

{ "messages": [ { "role": "user", "content": "Bonjour !" } ] }

Réponse (JSON)

{ "reply": "Bonjour ! Comment puis-je t'aider ?" }

Variable d'environnement requise

  • GEMINI_API_KEY — Clé API Google Gemini