Commit c5fd5706 by archer

svg logo

parent d4d9e1fe
<div align="center">
<a href="https://fastgpt.run/"><img src="/.github/imgs/logo.png" width="100" height="100" alt="fastgpt logo"></a>
<a href="https://fastgpt.run/"><img src="/.github/imgs/logo.svg" width="120" height="120" alt="fastgpt logo"></a>
# FastGPT
......
<div align="center">
<a href="https://fastgpt.run/"><img src="/.github/imgs/logo.png" width="100" height="100" alt="fastgpt logo"></a>
<a href="https://fastgpt.run/"><img src="/.github/imgs/logo.svg" width="120" height="120" alt="fastgpt logo"></a>
# FastGPT
......
### 常见问题
**一键部署**:V4 版本未正式开源,目前仅提供一键部署方案:
- [**Git 地址**,点击查看项目地址](https://github.com/labring/FastGPT)
- [本地部署 FastGPT](https://doc.fastgpt.run/docs/category/deploy)
- [API 文档](https://kjqvjse66l.feishu.cn/docx/DmLedTWtUoNGX8xui9ocdUEjnNh?pre_pathname=%2Fdrive%2Fhome%2F)
- **反馈问卷**: 如果你遇到任何使用问题或有期望的功能,可以[填写该问卷](https://www.wjx.cn/vm/rLIw1uD.aspx#)
- **问题文档**: [先看文档,再提问](https://kjqvjse66l.feishu.cn/docx/HtrgdT0pkonP4kxGx8qcu6XDnGh)
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Dfastgpt)
**Git 地址**: [项目地址。V4-beta 暂未开源,在正式版发布后会开源。](https://github.com/labring/FastGPT)
**反馈问卷**: 如果你遇到任何使用问题或有期望的功能,可以[填写该问卷](https://www.wjx.cn/vm/rLIw1uD.aspx#)
**问题文档**: [先看文档,再提问](https://kjqvjse66l.feishu.cn/docx/HtrgdT0pkonP4kxGx8qcu6XDnGh)
**价格表**
| 计费项 | 价格: 元/ 1K tokens(包含上下文)|
| --- | --- |
......
### Fast GPT V4.0-beta
### Fast GPT V4.0
1. 全新交互,增加采用模块组合的方式构建知识库,同时保留表单的简易模式。
2. 问题分类 - 可以对用户的问题进行分类,再执行不同的操作。
......
......@@ -64,8 +64,8 @@ export enum OutLinkTypeEnum {
'iframe' = 'iframe'
}
export const HUMAN_ICON = `https://fastgpt.run/icon/human.png`;
export const LOGO_ICON = `https://fastgpt.run/icon/logo.png`;
export const HUMAN_ICON = `/icon/human.png`;
export const LOGO_ICON = `/icon/logo.svg`;
export const getDefaultChatVariables = () => ({
cTime: dayjs().format('YYYY/MM/DD HH:mm:ss')
......
......@@ -4,7 +4,7 @@ export const defaultKbDetail: KbItemType = {
_id: '',
userId: '',
updateTime: new Date(),
avatar: '/icon/logo.png',
avatar: '/icon/logo.svg',
name: '',
tags: '',
totalData: 0,
......
......@@ -13,7 +13,7 @@ export const defaultApp: AppSchema = {
userId: 'userId',
name: '模型加载中',
type: 'basic',
avatar: '/icon/logo.png',
avatar: '/icon/logo.svg',
intro: '',
updateTime: Date.now(),
share: {
......
......@@ -57,7 +57,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse<
{
$project: {
_id: 1,
avatar: { $ifNull: ['$avatar', '/icon/logo.png'] },
avatar: { $ifNull: ['$avatar', '/icon/logo.svg'] },
name: 1,
userId: 1,
intro: 1,
......
......@@ -21,7 +21,7 @@ type Props = {
const NodeCard = ({
children,
logo = '/icon/logo.png',
logo = '/icon/logo.svg',
name = '未知模块',
description,
minW = '300px',
......
......@@ -39,7 +39,7 @@ const CreateModal = ({ onClose, onSuccess }: { onClose: () => void; onSuccess: (
const { isPc } = useGlobalStore();
const { register, setValue, getValues, handleSubmit } = useForm<FormType>({
defaultValues: {
avatar: '/icon/logo.png',
avatar: '/icon/logo.svg',
name: '',
templateId: appTemplates[0].id
}
......
......@@ -84,7 +84,7 @@ const Footer = () => {
>
<Box flex={1}>
<Flex alignItems={'center'}>
<Avatar src="/icon/logo.png" w={['24px', '30px']} />
<Avatar src="/icon/logo.svg" w={['24px', '30px']} />
<Box
className="textlg"
fontSize={['xl', '2xl']}
......
......@@ -84,7 +84,7 @@ const Navbar = () => {
h={isOpenMenu ? '100vh' : 'auto'}
>
<Flex maxW={'1300px'} m={'auto'} alignItems={'center'}>
<Avatar src="/icon/logo.png" w={['30px', '38px']} />
<Avatar src="/icon/logo.svg" w={['30px', '38px']} />
<Box
className="textlg"
fontSize={['3xl', '4xl']}
......
......@@ -18,7 +18,7 @@ const AppSchema = new Schema({
},
avatar: {
type: String,
default: '/icon/logo.png'
default: '/icon/logo.svg'
},
intro: {
type: String,
......
......@@ -13,7 +13,7 @@ const kbSchema = new Schema({
},
avatar: {
type: String,
default: '/icon/logo.png'
default: '/icon/logo.svg'
},
name: {
type: String,
......
......@@ -25,7 +25,7 @@ const defaultChatData: InitChatResponse = {
appId: '',
app: {
name: 'FastGPT',
avatar: '/icon/logo.png',
avatar: '/icon/logo.svg',
intro: '',
canUse: false
},
......
......@@ -31,7 +31,7 @@ const defaultShareChatData: ShareChatType = {
userAvatar: HUMAN_ICON,
app: {
name: '',
avatar: '/icon/logo.png',
avatar: '/icon/logo.svg',
intro: ''
},
history: defaultHistory
......
......@@ -46,7 +46,7 @@ const config = {
title: 'FastGpt',
logo: {
alt: 'My Logo',
src: 'img/logo.png'
src: 'img/logo.svg'
},
items: [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment