From 2ba88084f5c2074f0028abdafd73a545ed515116 Mon Sep 17 00:00:00 2001 From: OtotheA Date: Tue, 6 Jun 2023 12:24:17 -0500 Subject: [PATCH] AI examples --- docs/ai/examples.rst | 29 +++++++++++++++++++++++++++++ docs/ai/index.rst | 18 +++++++++++------- 2 files changed, 40 insertions(+), 7 deletions(-) create mode 100644 docs/ai/examples.rst diff --git a/docs/ai/examples.rst b/docs/ai/examples.rst new file mode 100644 index 0000000..d62b478 --- /dev/null +++ b/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 " +- "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 diff --git a/docs/ai/index.rst b/docs/ai/index.rst index 52bb8a2..c129352 100644 --- a/docs/ai/index.rst +++ b/docs/ai/index.rst @@ -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 `_. -.. image:: /images/ai-chat-command.jpeg - **Ready to start chatting with AI in your channels?** - `Add some funds `_ to your balance below - Use the ``!chat`` command in your chats or `create AI-powered custom commands `_ - $.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