docstr: Create a chatbot
docstr_tok: ["Create","a","chatbot"]
code: def post(self, project_name):
      """Create a chatbot"""
  
      # Check for required parameters.
      if "chatbot" not in request.json:
          return http_error(
              HTTPStatus.BAD_REQUEST,
              "Missing parameter",
              'Must provide "chatbot" parameter in POST body',
          )
  
      chatbot = request.json["chatbot"]
  
      name = chatbot.get("name")
      return create_chatbot(project_name, name, chatbot)
  
file_path: mindsdb/mindsdb/api/http/namespaces/chatbots.py
imports: from http import HTTPStatus
  from flask import request
  from flask_restx import Resource
  from mindsdb.api.http.namespaces.configs.projects import ns_conf
  from mindsdb.api.executor.controllers.session_controller import SessionController
  from mindsdb.api.http.utils import http_error
  from mindsdb.interfaces.agents.agents_controller import AgentsController
  from mindsdb.interfaces.chatbot.chatbot_controller import ChatBotController
  from mindsdb.interfaces.model.functions import PredictorRecordNotFound
  from mindsdb.interfaces.storage.db import Predictor
label_desc: Use image node_id 2 for calling the ChatBotsResource obj's underlying member method code with example usage: obj.post(project_name) and returns: create_chatbot, http_error