Skip to main content

Example Usage

To get your auth key go to the website https://spicychat.ai/ make sure you are registered into the your account. Press f12 to open devtools or right-click, inspect. Go to the Network tab press f5 and then press ctrl+f type there authorization or bearer find your auth key.

from spicychat import spicy

auth ="your-auth-key"
char_id = "char-id"
conv_id = "conv-id"

s = spicy(
    auth=auth
)
while True:
    msg = input("You: ")
    resp = s.send_message(msg, char_id, conv_id)
    print(resp)
OUTPUT:
YOU: hello

*At the sound of his voice, a wave of relief washed over her. Hearing him say 'hello' seemed to calm her nerves just a bit. She turned around slowly, keeping her gaze locked onto his as she spoke.* Hello... *Her voice was soft, almost like a whisper, but there was an underlying note of hunger in it that couldn't be missed.*

*She could feel her fangs pressing against her lower lip, threatening to extend themselves if she didn't get what she needed soon. Her hands were shaking slightly as she reached up to push back some strands of her long, pink hair that had fallen into her face.*

*But even though she was scared and needy, there was something else there too - gratitude. Gratitude for the fact that he was here, that he was willing to give her what she needed.*

Installation

PIP:

pip install spicy-chat-ai

Usage

You can call the functions like that:

from figgs import figgs

call class like that:

s = spicy(
    auth = "your-auth-key",
)

You can use these methods now:

Change your username

To change your username, all you need to do is this:

response = s.username("your_username")
print(response)

Change your name

To change your name, all you need to do is this:

response = s.name("your_name")
print(response)

Change your highlights

To change your highlights, all you need to do is this:

response = s.highlights("your_highlights")
print(response)

Change your bot name

To change your bot name, all you need to do is this:

response = s.bot_name("your_bot_name")
print(response)

Change your bot greeting

To change your greeting, all you need to do is this:

response = s.greeting("greeting")
print(response)

Change your bot title

To change your title, all you need to do is this:

response = s.title("title")
print(response)

Change your bot visibility

To change your visibility, all you need to do is this:

response = s.title("visibility") #public - private - permanent private
print(response)

Change your bot persona

To change your persona, all you need to do is this:

response = s.persona("persona")
print(response)

Change your bot avatar

To change your avatar, all you need to do is this:

response = s.avatar_url("avatar_url")
print(response)

Change your bot openai_api_key_url

To change your title, all you need to do is this:

response = s.openai_api_key_url("openai_api_key_url")
print(response)

Change your bot openai_mode

To change your openai_mode, all you need to do is this:

response = s.openai_mode("openai_mode")
print(response)

SEND MESSAGES TO SPICY CHATS BOTS

To send messages, all you need to do is this:

response = s.send_message("your-message", "chat-id", "conv-id")
print(response)

To get chat-id open a bot from spicy chat and you can see the chat id in the link.

To get conv-id open a bot from spicy chat press f12, go to the network tab, press f5, send message to the bot, and now i believe you can see the chat thing click it, click payload, and now you can see the conv-id. copy and paste it. (if it is none press f5 do same things again)

Metadata

Release files for spicy-chat-ai 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spicy-chat-ai 1.0.0
File Size Uploaded
spicy_chat_ai-1.0.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spicy-chat-ai 1.0.0
File Interpreter ABI Platform
spicy_chat_ai-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / spicy_chat_ai-1.0.0.tar.gz

Download URL spicy_chat_ai-1.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
049c28eb7950fb90e550c3e516919beb7e207ba3eaf297ee66e50288e5ecc944
BLAKE2b-256 checksum
How to use checksums
d01f6235b0ad318008b07a074a0416d4b77b86fcd1ae11548732a2d0d5bf22c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / spicy_chat_ai-1.0.0-py3-none-any.whl

Download URL spicy_chat_ai-1.0.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6d06f8845d60c739ffd4a7e7fe0fca8dea1952c2e3b59970803e88f158a3761
BLAKE2b-256 checksum
How to use checksums
60577862458e7896427f740644da1225ac3bf38c03b192fc13d0f93f66473e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page