From 3081fe048e490e4c34dbf0e737224a7ad0b83918 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sat, 1 Jun 2024 20:49:44 +0200 Subject: [PATCH] fix --- Stripe.go | 4 +-- views/partials/explain-llm-conv-chat.html | 35 ++++++++++++++++++++++- views/partials/welcome-chat.html | 2 +- 3 files changed, 37 insertions(+), 4 deletions(-) diff --git a/Stripe.go b/Stripe.go index 5b00a7b..02f3a73 100644 --- a/Stripe.go +++ b/Stripe.go @@ -138,9 +138,9 @@ func IsCurrentUserLimiteReached(c *fiber.Ctx, isBasic bool) bool { } // 500 if isBasic is false, otherwise 10000 if isBasic { - return count >= 10000 + return count >= 4000 } else { - return count >= 500 + return count >= 200 } } diff --git a/views/partials/explain-llm-conv-chat.html b/views/partials/explain-llm-conv-chat.html index 0bfb61f..e9fbf53 100644 --- a/views/partials/explain-llm-conv-chat.html +++ b/views/partials/explain-llm-conv-chat.html @@ -1 +1,34 @@ -

Explain LLM and Conversation

\ No newline at end of file +

JADE is the first Multi-Models chatbot.

+

It was build with simplicity in mind. The goal being to have a minimalist chatbot for all models.

+

I don't want fancy stuff like importing files or images. I want the chatbot to be as simple as possible.

+

Following this philosophy, I was able to focus on other way to improve the current way we use AI chatbots.

+

My first complain was that there is a lot of models, and they are all good at different things.

+

But if you want to use all of them, it get impractical and very expensive.

+ +

Multi-Models

+

So I decided to focus my chatbot on this and created the first Multi-Models chatbot.

+

The idea is to use multiple models in the same conversation.

+

There is 2 things to understand about this:

+

1. When asking a question, you can ask it to multiple models. You can them compare and pick the best one.

+

2. The next message will use the text of the selected message for all models. So the response from GPT4 can be then + use by Claude Haiku for example.

+ +

Bots

+

Once an API key enter, you have access to all models from that provider.

+

If you open the Bots menu (next to send), you will find a list of all your Bots. A bot have a name, a model and some + parameters.

+

You can create a new bot by clicking on the "+" button. And enter a name and a model. Additionaly, you can add choose + a temperature and a system prompt.

+

Once created, you can select it by clicking on it and order it by draging it. You can keep SHIFT pressed and click on + 2 Bots to select them and all in between.

+

You can also delete selected Bots by clicking on the trash can.

+ +

Conversation

+

A conversation is a list of messages. You have a Default conversation that is created when you first sign in.

+

You can create a new conversation by clicking on the "+" button. You can also delete a conversation by clicking on + the trash can.

+

You can not delete the Default conversation but you can Archive it.

+ +

Usage

+

You can see the usage of your account in the Usage menu. You can see how many messages you have sent and received, + and how much the API costed you.

\ No newline at end of file diff --git a/views/partials/welcome-chat.html b/views/partials/welcome-chat.html index 72483a0..01ede7d 100644 --- a/views/partials/welcome-chat.html +++ b/views/partials/welcome-chat.html @@ -17,4 +17,4 @@
  • Multi-Models
  • -

    JADE start with a free tier that allow you to use ask 500 messages a month. You can then upgrade for $0.95/month.

    \ No newline at end of file +

    JADE start with a free tier that allow you to use ask 200 messages a month. You can then upgrade for $0.95/month.

    \ No newline at end of file