SmartSage Ai
  • Welcome to SmartSage AI
    • I. Overview
      • 🧙Artificial Intelligence Company
      • 🧙Specialization: AI Chat Generators
      • 🧙Unique Feature: Open-Source Models
      • 🧙Token-based Access Control
    • II. Open Source Models
      • 🧙Inspired by GPT-4 and LLama Middle
      • 🧙Distinct Approach in AI Development
      • 🧙IPFS Layer Integration
      • 🧙LLM Sharing
    • III Legal and Compliance
      • ✨I Token Regulations
        • 🧙Compliance with legal standards
        • 🛡️User data protection
  • 🔮Feature
    • 🧠Chat Bot
    • 🖼️text-to-image
    • ✍️Generate Content
    • 🎙️text-to-speech
    • 🧠Learn With Bot
    • 👁️‍🗨️Vision
  • ℹ️IMPORTANT INFO
    • 🪙 Tokenomics
    • 💡Roadmaps
  • 🤖User Guide
    • User Flow
    • Example Use Bot
    • ❓FAQ
Powered by GitBook
On this page
  1. User Guide

Example Use Bot

On this page we will explain the tutorial on using commands on the bot.

PreviousUser FlowNextFAQ

Last updated 9 months ago

POST /completion

This endpoint is used to submit a prompt and retrieve the AI-generated completion. The request should include the following parameters:

  • prompt: The text prompt for the AI model to generate a completion based on.

  • temperature: (optional) A parameter that controls the randomness of the generated text. Higher values (e.g., 0.8) result in more random output, while lower values (e.g., 0.2) produce more deterministic output.

Example request:

 /generateimage
 
   "prompt": "/generateimage make a doge coin",
  "temperature": 0.5 (opsional)
  first response : ''Your request is being processed. Please wait...''
  
 /texttospeech
 
   "prompt": "/texttospeech shimer-In a land far, far away, there was a kingdom named Elaria, renowned for its lush landscapes and harmonious people. The kingdom was nestled between towering mountains and dense forests, 
   and at its heart stood a magnificent castle made of shimmering white stone that sparkled in the sunlight.",
 
  first response : ''Your request is being processed. Please wait...''
  

Please write the voice and the message to convert to speech in the format: voice-message.

Example: Shimmer-In a land far, far away, there was a kingdom named Elaria......

Available voices: alloy, echo, fable, onyx, nova, and shimmer

/chatbot
 
   "prompt": "/chatbot " just type /chatbot without any prompt, you will be able to chat with our old wizard directly. ask about anything you want
 
  first response : ''Your request is being processed. Please wait...''
  
 /generatetweet
 
   "prompt": "/generatetweet gimme a great tweet about smartsage ai",
 
  first response : ''Your request is being processed. Please wait...''
 /generatearticle
 
   "prompt": "/generatearticle about Smartsage AI",
 
  first response : ''Your request is being processed. Please wait...''
 
/generatetestimonials
 
   "prompt": "/generatetestimonials about Smartsage AI Telegram bot",
 
  first response : ''Your request is being processed. Please wait...''
 
/generateseokeywords
 
   "prompt": "/generateseokeywords for Smartsage AI Article",
 
  first response : ''Your request is being processed. Please wait...''
 
/learnwithbot
 
   "prompt": "/learnwithbot",
 
  first response : ''Your request is being processed. Please wait...''
 

you can learn anything with Smartsage, ask him anything anytime and anywhere. he will answer all your questions

Error Handling

If an error occurs during the API request, the response will include an appropriate error message along with the corresponding HTTP status code.

🤖
the result of the desired prompt
the result of the desired prompt
the old wise wisdom
Confused when you want to make tweet X on your account? Use this!
bot will input the answer into docs txt.