fix
This commit is contained in:
parent
453220ddbe
commit
419eacc0bb
6
Chat.go
6
Chat.go
@ -282,7 +282,7 @@ func generateWelcomeChatHTML() string {
|
|||||||
NextMessages := []TemplateMessage{}
|
NextMessages := []TemplateMessage{}
|
||||||
nextMsg := TemplateMessage{
|
nextMsg := TemplateMessage{
|
||||||
Icon: "icons/bouvai2.png", // Assuming Icon is a field you want to include from Message
|
Icon: "icons/bouvai2.png", // Assuming Icon is a field you want to include from Message
|
||||||
Content: "<br>" + welcomeMessage,
|
Content: welcomeMessage,
|
||||||
Hidden: false, // Assuming Hidden is a field you want to include from Message
|
Hidden: false, // Assuming Hidden is a field you want to include from Message
|
||||||
Id: "0",
|
Id: "0",
|
||||||
Name: "JADE",
|
Name: "JADE",
|
||||||
@ -361,8 +361,8 @@ func generateEnterKeyChatHTML() string {
|
|||||||
<li>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.</li>
|
<li>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.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Remember, prices and token limits may vary depending on the provider and the specific LLM you're using.</p>
|
<p>Remember, prices and token limits may vary depending on the provider and the specific LLM you're using.</p>
|
||||||
<h2>Learn More</h2>
|
<h2>Get a key</h2>
|
||||||
<p>To learn more about the different LLM providers and their offerings, check out their websites:</p>
|
<p>To get a key and learn more about the different LLM providers and their offerings, check out their websites:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://platform.openai.com/docs/overview" target="https://platform.openai.com/docs/overview">OpenAI</a></li>
|
<li><a href="https://platform.openai.com/docs/overview" target="https://platform.openai.com/docs/overview">OpenAI</a></li>
|
||||||
<li><a href="https://console.anthropic.com/" target="https://console.anthropic.com/">Anthropic</a></li>
|
<li><a href="https://console.anthropic.com/" target="https://console.anthropic.com/">Anthropic</a></li>
|
||||||
|
@ -78,6 +78,7 @@
|
|||||||
|
|
||||||
function toggleConversationSelection(element, name) {
|
function toggleConversationSelection(element, name) {
|
||||||
const elements = Array.from(document.getElementsByClassName('icon-conv'));
|
const elements = Array.from(document.getElementsByClassName('icon-conv'));
|
||||||
|
document.getElementById('conversation-dropdown').classList.remove('is-active');
|
||||||
|
|
||||||
// If the conversation is already selected, keep it
|
// If the conversation is already selected, keep it
|
||||||
if (element.classList.contains('unselected')) {
|
if (element.classList.contains('unselected')) {
|
||||||
|
@ -15,15 +15,13 @@
|
|||||||
from GPT-4 can be used by Claude Haiku in the next interaction.</li>
|
from GPT-4 can be used by Claude Haiku in the next interaction.</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p>To start using JADE, please sign in.</p>
|
|
||||||
|
|
||||||
<a class="button is-primary mt-2 mb-2" href="/signin">
|
<a class="button is-primary mt-2 mb-2" href="/signin">
|
||||||
Sign in
|
Sign in
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<p>You can find more information about JADE below:</p>
|
<h2>More information</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<h3>Variety of AI models from different providers.<button class="button ml-2 is-small is-primary is-outlined"
|
<h3>Variety of AI models from different providers.<button class="button ml-2 is-small is-primary is-outlined"
|
||||||
@ -58,10 +56,8 @@
|
|||||||
</span>
|
</span>
|
||||||
</button></h3>
|
</button></h3>
|
||||||
<p id="reduce-hallucination-details" style="display:none;">AI models sometimes generate information that is
|
<p id="reduce-hallucination-details" style="display:none;">AI models sometimes generate information that is
|
||||||
inaccurate or misleading, a phenomenon known as "hallucination." By using multiple models, JADE helps you
|
inaccurate or misleading, a phenomenon known as "hallucination." By using multiple models, JADE reduces each
|
||||||
cross-verify the information provided, significantly reducing the risk of such errors. This ensures that the
|
model's bias. This ensures that the responses you receive are more reliable and trustworthy.<br><br></p>
|
||||||
responses you receive are more reliable and trustworthy, making JADE a more dependable tool for your
|
|
||||||
conversational needs.<br><br></p>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>Pay only for what you use.<button class="button ml-2 is-small is-primary is-outlined"
|
<h3>Pay only for what you use.<button class="button ml-2 is-small is-primary is-outlined"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user