diff --git a/README.md b/README.md
index 4a3b9cf3..233825e2 100644
--- a/README.md
+++ b/README.md
@@ -196,7 +196,6 @@ Dialoqbase nothing without the support of our wonderful sponsors. If you are int
-
And many more wonderful supporters from [Ko-fi](https://ko-fi.com/n4ze3m).
diff --git a/app/ui/package.json b/app/ui/package.json
index 73d2544c..d5091283 100644
--- a/app/ui/package.json
+++ b/app/ui/package.json
@@ -1,7 +1,7 @@
{
"name": "app",
"private": true,
- "version": "1.8.2",
+ "version": "1.8.3",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/app/ui/src/@types/bot.ts b/app/ui/src/@types/bot.ts
index 3cc8b6b9..ff342c41 100644
--- a/app/ui/src/@types/bot.ts
+++ b/app/ui/src/@types/bot.ts
@@ -5,7 +5,7 @@ export type BotSettings = {
model: string;
public_id: string;
temperature: number;
- embedding: string;
+ embedding: string;
noOfDocumentsToRetrieve: number;
qaPrompt: string;
questionGeneratorPrompt: string;
@@ -15,6 +15,8 @@ export type BotSettings = {
bot_protect: boolean;
use_rag: boolean;
bot_model_api_key: string;
+ noOfChatHistoryInContext: number;
+ semanticSearchSimilarityScore: string
},
chatModel: {
label: string;
diff --git a/app/ui/src/components/Bot/Settings/SettingsCard.tsx b/app/ui/src/components/Bot/Settings/SettingsCard.tsx
index 10d717e6..49503a8d 100644
--- a/app/ui/src/components/Bot/Settings/SettingsCard.tsx
+++ b/app/ui/src/components/Bot/Settings/SettingsCard.tsx
@@ -164,6 +164,8 @@ export const SettingsCard: React.FC = ({
use_rag: data.use_rag,
bot_model_api_key: data.bot_model_api_key,
noOfDocumentsToRetrieve: data.noOfDocumentsToRetrieve,
+ noOfChatHistoryInContext: data.noOfChatHistoryInContext,
+ semanticSearchSimilarityScore: data.semanticSearchSimilarityScore,
}}
form={form}
requiredMark={false}
@@ -297,6 +299,52 @@ export const SettingsCard: React.FC = ({
placeholder="Enter number of documents to retrieve"
/>
+ {/*
+
+ */}
+
+
= ({
>
+