custom-gpt / src /apis /models /bot_models.py
ABAO77's picture
Upload 65 files
744b763 verified
from pydantic import Field
from .BaseDocument import BaseDocument
from bson import ObjectId
class Bot(BaseDocument):
id: ObjectId = Field("", description="ID of the bot")
name: str = Field(default="", description="Name of the bot")
prompt: str = Field(default="", description="Prompt of the bot")
tools: list = Field(default=[], description="Tools of the bot")