feat: Add export/import functions for chat history, promt and knowledge

This commit is contained in:
n4ze3m
2024-05-08 13:42:59 +05:30
parent 11147fd951
commit 677aa6ef51
11 changed files with 159 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ import { useTranslation } from "react-i18next"
import { Link, useLocation } from "react-router-dom"
import { OllamaIcon } from "../Icons/Ollama"
import { Tag } from "antd"
import { BetaTag } from "../Common/Beta"
function classNames(...classes: string[]) {
return classes.filter(Boolean).join(" ")
@@ -81,7 +82,7 @@ export const SettingsLayout = ({ children }: { children: React.ReactNode }) => {
name={
<div className="inline-flex items-center gap-2">
{t("manageKnowledge.title")}
<Tag color="yellow">{t("common:beta")}</Tag>
<BetaTag />
</div>
}
icon={BlocksIcon}