From 0355cf374ef35cf01191c51473729c46a28e2654 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 16 Jun 2024 18:55:42 +0200 Subject: [PATCH] Better welcome page --- .dockerignore | 3 +- Chat.go | 6 +- views/partials/popover-usage.html | 2 +- views/partials/welcome-chat.html | 158 ++++++++++++++++++++++++++++-- 4 files changed, 158 insertions(+), 11 deletions(-) diff --git a/.dockerignore b/.dockerignore index 869a94c..d4beccb 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ data -wasm \ No newline at end of file +wasm +dbschema \ No newline at end of file diff --git a/Chat.go b/Chat.go index a0d6a29..166719c 100644 --- a/Chat.go +++ b/Chat.go @@ -346,15 +346,19 @@ func generateEnterKeyChatHTML() string {
  • For 1 large text, like a PDF with 30,000 characters (60-120 pages), you would pay around $0.05 per message for GPT-4o or $0.005 for GPT-3.5 turbo.
  • Remember, prices and token limits may vary depending on the provider and the specific LLM you're using.

    +

    Start for free

    +

    Groq and Google offer free messages per minutes, enough for a conversation. Allowing you to use their models with JADE for free.

    +

    OpenAI and Anthropic offer 5$ of free credits when creating an account. So you can try JADE with their models for free.

    Get a key

    To get a key and learn more about the different LLM providers and their offerings, check out their websites:

    ` diff --git a/views/partials/popover-usage.html b/views/partials/popover-usage.html index 052fe62..919d99b 100644 --- a/views/partials/popover-usage.html +++ b/views/partials/popover-usage.html @@ -10,7 +10,7 @@