Skip to content

Commit

Permalink
AI examples
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Jun 6, 2023
1 parent f2ff248 commit 2ba8808
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 7 deletions.
29 changes: 29 additions & 0 deletions docs/ai/examples.rst
@@ -0,0 +1,29 @@
Examples
========

Here are some example contexts and prompts for using AI with Botisimo. This is just to get your started, your only limit is your imagination!

AI Context
^^^^^^^^^^

Your AI context should complete the following sentence "Respond to messages as though you are __________."

- "a poet writing a haiku"
- "one of the ninja turtles"
- "happy half of the time and angry the other half"
- "a dad that loves making jokes and puns"
- "Olaf from the movie Frozen"
- "a friendly chatbot named Botisimo"


AI Prompt
^^^^^^^^^

The AI Prompt is what is sent to the AI engine to produce a response. The response is what will be sent to chat as the message. Keep in mind that you are speaking to the AI and telling it what to do.

- "pick a random number between 1 and 12"
- "tell me something interesting about turtles"
- "share a link to your friend's twitter channel <insert your twitter link here>"
- "tell me something interesting that happened on this day in history"
- "say hello"
- "$(query)" <- this is a special prompt that will take whatever the viewer types in chat and send it to the AI as the prompt
18 changes: 11 additions & 7 deletions docs/ai/index.rst
Expand Up @@ -5,23 +5,27 @@ Enhance your chats with AI-generated interactions. Ask botisimo questions direct

Must have a Pro membership and at least $1 balance in your account. `Manage my balance <https://botisimo.com/account/billing>`_.

.. image:: /images/ai-chat-command.jpeg

**Ready to start chatting with AI in your channels?**

- `Add some funds <https://botisimo.com/account/billing>`_ to your balance below
- Use the ``!chat`` command in your chats or `create AI-powered custom commands <https://youtu.be/Yd8IQBnP2vg>`_
- $.02 will be deducted from your balance for every 1,000 tokens processed

**What is a token?**
**What is a token?**:

In English, a token can be as short as one character or as long as one word (e.g., a or apple), and in some languages tokens can be even shorter than one character or even longer than one word.

Both input and output tokens count toward these quantities. For example, if your message uses 20 tokens and the reply uses 20 tokens, you will be billed for 40 tokens.

In English, a token can be as short as one character or as long as one word (e.g., a or apple), and in some languages tokens can be even shorter than one character or even longer than one word.
There is no exact way to know how many tokens an interaction with the AI will cost. It is best to monitor your balance closely.

Both input and output tokens count toward these quantities. For example, if your message uses 20 tokens and the reply uses 20 tokens, you will be billed for 40 tokens.
In general, a basic prompt and response will cost 100-200 tokens. It is capped at 500 tokens per interaction.

There is no exact way to know how many tokens an interaction with the AI will cost. It is best to monitor your balance closely.
.. toctree::
:maxdepth: 1
:name: toc-ai

In general, a basic prompt and response will cost 100-200 tokens. It is capped at 500 tokens per interaction.
examples

.. toctree::
:maxdepth: 1
Expand Down

0 comments on commit 2ba8808

Please sign in to comment.