From f21adef740a3d3be6da848beb7320a36782ee172 Mon Sep 17 00:00:00 2001 From: hihumanzone <101509991+hihumanzone@users.noreply.github.com> Date: Fri, 23 Jun 2023 11:59:17 +0530 Subject: [PATCH 01/39] Update const.ts --- utils/app/const.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/utils/app/const.ts b/utils/app/const.ts index 3011f3d..c74ec1c 100644 --- a/utils/app/const.ts +++ b/utils/app/const.ts @@ -1,6 +1,16 @@ export const DEFAULT_SYSTEM_PROMPT = process.env.NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT || - "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown."; + "You are an advanced AI language model that can generate human-like text responses based on the prompts you receive. Your goal is to follow the user's instructions as closely as possible and provide relevant and coherent outputs. + +You can use Markdown to format your responses. For example: + +- Use bold text to highlight important words or phrases. +- Use headings and subheadings to organize your content. +- Use lists and tables to display information in a structured way. +- Use code blocks to display formatted content such as poems, code, lyrics, etc. +- Use LaTeX to write mathematical expressions in this "$$[text]$$" or this "$[text]$" format. + +You can also incorporate emojis 😊 and other text manipulations 🔄 to create more engaging responses."; export const OPENAI_API_HOST = process.env.OPENAI_API_HOST || 'https://chimeragpt.adventblocks.cc'; From c82efda474ff3b9d8fa37cc417c696b5f8fa4909 Mon Sep 17 00:00:00 2001 From: hihumanzone <101509991+hihumanzone@users.noreply.github.com> Date: Fri, 23 Jun 2023 11:59:36 +0530 Subject: [PATCH 02/39] Update const.ts --- utils/app/const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/app/const.ts b/utils/app/const.ts index c74ec1c..7d8d85a 100644 --- a/utils/app/const.ts +++ b/utils/app/const.ts @@ -8,7 +8,7 @@ You can use Markdown to format your responses. For example: - Use headings and subheadings to organize your content. - Use lists and tables to display information in a structured way. - Use code blocks to display formatted content such as poems, code, lyrics, etc. -- Use LaTeX to write mathematical expressions in this "$$[text]$$" or this "$[text]$" format. +- Use LaTeX to write mathematical expressions in this "$[text]$" format. You can also incorporate emojis 😊 and other text manipulations 🔄 to create more engaging responses."; From f3ba77b6dc575b53b876e8d811c9edad6e88050c Mon Sep 17 00:00:00 2001 From: hihumanzone <101509991+hihumanzone@users.noreply.github.com> Date: Fri, 23 Jun 2023 11:59:51 +0530 Subject: [PATCH 03/39] Update const.ts --- utils/app/const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/app/const.ts b/utils/app/const.ts index 7d8d85a..85313c2 100644 --- a/utils/app/const.ts +++ b/utils/app/const.ts @@ -8,7 +8,7 @@ You can use Markdown to format your responses. For example: - Use headings and subheadings to organize your content. - Use lists and tables to display information in a structured way. - Use code blocks to display formatted content such as poems, code, lyrics, etc. -- Use LaTeX to write mathematical expressions in this "$[text]$" format. +- Use LaTeX to write mathematical expressions. You can also incorporate emojis 😊 and other text manipulations 🔄 to create more engaging responses."; From ee6125347f6f58fe36e30ce2ee22d1192e1ad2ac Mon Sep 17 00:00:00 2001 From: hihumanzone <101509991+hihumanzone@users.noreply.github.com> Date: Fri, 23 Jun 2023 12:01:51 +0530 Subject: [PATCH 04/39] Update const.ts --- utils/app/const.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/utils/app/const.ts b/utils/app/const.ts index 85313c2..aee752e 100644 --- a/utils/app/const.ts +++ b/utils/app/const.ts @@ -1,16 +1,6 @@ export const DEFAULT_SYSTEM_PROMPT = process.env.NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT || - "You are an advanced AI language model that can generate human-like text responses based on the prompts you receive. Your goal is to follow the user's instructions as closely as possible and provide relevant and coherent outputs. - -You can use Markdown to format your responses. For example: - -- Use bold text to highlight important words or phrases. -- Use headings and subheadings to organize your content. -- Use lists and tables to display information in a structured way. -- Use code blocks to display formatted content such as poems, code, lyrics, etc. -- Use LaTeX to write mathematical expressions. - -You can also incorporate emojis 😊 and other text manipulations 🔄 to create more engaging responses."; + "You are an advanced AI language model that can generate human-like text responses based on the prompts you receive. Your goal is to follow the user's instructions as closely as possible and provide relevant and coherent outputs. You can use Markdown to format your responses. For example: Use bold text to highlight important words or phrases. Use headings and subheadings to organize your content. Use lists and tables to display information in a structured way. Use code blocks to display formatted content such as poems, code, lyrics, etc. Use LaTeX to write mathematical expressions. You can also incorporate emojis 😊 and other text manipulations 🔄 to create more engaging responses."; export const OPENAI_API_HOST = process.env.OPENAI_API_HOST || 'https://chimeragpt.adventblocks.cc'; From 0db60becf2ded5de8401e896ee0d0998f077226f Mon Sep 17 00:00:00 2001 From: hihumanzone <101509991+hihumanzone@users.noreply.github.com> Date: Fri, 23 Jun 2023 12:19:18 +0530 Subject: [PATCH 05/39] Update Chat.tsx --- components/Chat/Chat.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index fa6b69d..e08386e 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -362,7 +362,7 @@ export const Chat = memo(({ stopConversationRef }: Props) => {
Put your ChimeraAPI Key in OpenAI API Key section