diff --git a/Chat.go b/Chat.go index 166719c..90cbfcc 100644 --- a/Chat.go +++ b/Chat.go @@ -419,6 +419,7 @@ func generateTermAndServiceChatHTML() string {

7. Data Privacy

- We are not responsible for any data leaks or breaches that may occur. Users are advised to use the App at their own risk.

- We do not store any personal data unless explicitly stated otherwise.

+

- Data includes messages, conversations, usage, keys, email, name, avatar.

8. Changes to the Terms

We reserve the right to modify these Terms at any time. Any changes will be effective immediately upon posting the updated Terms on our website or within the App. Your continued use of the App after any such changes constitutes your acceptance of the new Terms.

diff --git a/Stripe.go b/Stripe.go index 1c3ff2c..4d151d1 100644 --- a/Stripe.go +++ b/Stripe.go @@ -84,6 +84,9 @@ func CreateNewStripeCustomer(name string, email string) string { } func IsCurrentUserSubscribed(c *fiber.Ctx) (bool, bool) { + // Everybody is premium for now + return true, false + var user User err := edgeGlobalClient.WithGlobals(map[string]interface{}{"ext::auth::client_token": c.Cookies("jade-edgedb-auth-token")}).QuerySingle(edgeCtx, "SELECT global currentUser { stripe_id } LIMIT 1;", &user) if err != nil { diff --git a/views/partials/explain-llm-conv-chat.html b/views/partials/explain-llm-conv-chat.html index 3e4e8f6..955348b 100644 --- a/views/partials/explain-llm-conv-chat.html +++ b/views/partials/explain-llm-conv-chat.html @@ -1,95 +1,99 @@ -

JADE: The First Multi-Model Chatbot

-

JADE was built with simplicity in mind. The goal is to have a minimalist chatbot that supports all models without - unnecessary features like importing files or images. This focus on simplicity allows us to improve how we use AI - chatbots in other ways.

- -

One of my main concerns was the variety of models available, each excelling in different areas. Using all of them can - be impractical and very expensive.

- -

Multi-Models

-

To address this, I created the first Multi-Model chatbot. The idea is to use multiple models within the same - conversation. Here are the key points:

-
    -
  1. When asking a question, you can query multiple models and compare their responses to choose the best one.
  2. -
  3. The selected response can be used as the basis for the next message across all models. For example, a response - from GPT-4 can be used by Claude Haiku in the next interaction.
  4. -
-

API Keys

-

To use JADE, you need to sign up for an API key to providers. There is 5 providers available:

- -

You can enter an API key in the settings menu. One enter you get access to all models from this provider. Check the - appendix for more details about available models.

- -

Bots

-

Once you enter an API key, you gain access to all models from that provider. In the Bots menu (next to the send - button), you'll find a list of all your Bots.

-

To create a new bot, click the "+" button, enter a name and a model, and optionally set a temperature and a system - prompt. Once created, you can select a bot by clicking on it and reorder it by dragging. Hold SHIFT and click to - select multiple bots. You can delete selected bots by clicking the trash can icon.

+

+ To use JADE, you need to sign up for an API key. You can enter an API key in + the settings menu. Once enter you get access to all models from this provider. +

+ + Get OpenAI API key + + + Get Anthropic API key + + + Get Mistral API key + + + Get Groq API key + + + Get Google API key + + + Get Perplexity API key + + + Get Fireworks API key +

Conversations

-

A conversation is a list of messages. A Default conversation is created when you first sign in. You can create a new - conversation by clicking the "+" button and delete one by clicking the trash can icon. The Default conversation - cannot be deleted but can be renamed.

+

+ A conversation is a list of messages. A Default conversation is created when + you first sign in. You can create a new conversation by clicking the "+" + button and delete one by clicking the trash can icon. The Default conversation + cannot be deleted but can be renamed. +

+ +

Bots

+

+ In the Bot menu (next to the send button), you'll find a list of all your + Bots. +

+

+ To create a new bot, click the "+" button, enter a name and a model, and + optionally set a temperature and a system prompt. Once created, you can select + a bot by clicking on it and reorder it by dragging. Hold SHIFT and click to + select multiple bots. You can delete selected bots by clicking the trash can + icon. +

+ +

Multi-Models

+
    +
  1. + When asking a question, you can query multiple models and compare their + responses to choose the best one. +
  2. +
  3. + The selected response can be used as the basis for the next message across + all models. For example, a response from GPT-4 can be used by Claude Haiku + in the next interaction. +
  4. +

Usage

-

In the Usage menu, you can see the usage of your account, including the number of messages sent and received and the - associated API costs.

+

+ In the Usage menu, you can see the usage of your account, including the number + of messages sent and received and the associated API costs. +

-

Appendix

-

The following is a list of available models for each provider:

- - -

You can contact me at adrien.bouvais.pro@gmail.com if you want to add a new provider or if you have any questions. -

\ No newline at end of file +

+ You can contact me at adrien.bouvais@bouvai.com if you want to add a new + provider or if you have any questions. +

diff --git a/views/partials/popover-settings.html b/views/partials/popover-settings.html index b85badd..efbad79 100644 --- a/views/partials/popover-settings.html +++ b/views/partials/popover-settings.html @@ -110,6 +110,7 @@

+ diff --git a/views/partials/welcome-chat.html b/views/partials/welcome-chat.html index dbbe9b0..9c720cf 100644 --- a/views/partials/welcome-chat.html +++ b/views/partials/welcome-chat.html @@ -1,425 +1,477 @@ -

JADE: The First Multi-Model Chatbot

-

-

The world of Large Language Models (LLMs) is vast and exciting, with each model having unique strengths and - weaknesses. However, this variety presents a challenge: using all available LLMs is practically impossible due to - cost and complexity. Wouldn't it be incredible to have an easy way to experiment with different models, compare - their responses, and even choose the best model for a specific task?

+

JADE: Simple Multi-Model Chatbot

+

+

+ I often use LLMs and quickly found myself asking GPT4, Gemini and Claude the + same question. I wanted to be able to ask the same question to multiple + models, compare their answers and pick the best one. +

-

This is precisely why JADE was built. With a focus on simplicity, JADE eliminates unnecessary features like file or - image uploads, allowing you to interact with a variety of LLMs. This streamlined approach unlocks the - potential to compare models, leverage their individual strengths, and even mitigate biases through multi-message - conversations.

+

+ So I built a simple chatbot that use different LLM APIs. You can create bots + with a specific model and prompt. You can select as many bots to answer a + question. You can then compare the answers and choose the best one. You can + continue the conversation with the best answer, meaning using answer from one + model to ask another model. +

Multi-Models

-

JADE is the first Multi-Model chatbot. The idea is to use multiple models within the same conversation. Here are the - key points:

+

+ JADE a simple Multi-Model chatbot. The idea is to use multiple models within + the same conversation. Here are the key points: +

    -
  1. When asking a question, you can query multiple models and compare their responses to choose the best one.
  2. -
  3. The selected response can be used as the basis for the next message across all models.
  4. +
  5. + When asking a question, you can query multiple models and compare their + responses to choose the best one. +
  6. +
  7. + The selected response can be used for the next message across all models. +
-

For example, a response from GPT-4 Omni can be used by Claude Haiku in the next interaction.

- -

This approach offers several benefits. First, it ensures you always have access to the best possible response by - leveraging the strengths of different models. Second, it provides a more comprehensive understanding of a topic by - considering various perspectives. Finally, using responses from one model as context for another can lead to more - engaging and insightful conversations.

+

For example, a response from GPT-4 Omni can be used by Claude Haiku.

+

+ I am using the app myself for months now and it's been a great experience at + minimum price (around 4$/month) accross all APIs. The app itself is totally + free to use for now, I may add a paid and free tier with message limits in the + future. But I aim at like 1-3$ per month. +

- Try JADE now for free! + Try JADE now for free! -

+

More information

\ No newline at end of file + } +