-
Notifications
You must be signed in to change notification settings - Fork 1
Chatbot
Sayad Uddin Tahsin edited this page Apr 9, 2023
·
1 revision
Get response from Chatbot!
- text (str): Access Key (at least tier 1)
- prompt (str): The message
- str: Chatbot Response
- APITimeout: Raised when the API takes too long to respond.
- APIError: Raised when the API returns an error.
from sra import chatbot
# Get the Response
response = chatbot.get_response("Hi There!")
sra-pylib by Sayad Uddin Tahsin
-
Animal
-
Animu
-
Canvas
-
Facts
-
Image
-
Others
-
Pokemon
-
Chatbot
-
Welcome (Free)
- ImageNotFound
- InvalidFileFormat
- APITimeout
- APIError
- ImageRetrieveError
- InvalidAvatarURL
- InvalidImageURL
- InvalidHEXColor
- InvalidBrightnessPower
- InvalidRGBCode
- DisplayNameError
- UsernameError
- CommentError
- ThemeError
- InvalidTemplate
- InvalidBackground
- InvalidFont
- InvalidType
- InvalidTextColor
- ThresholdError