Commit c5fd5706 by archer

svg logo

parent d4d9e1fe
<div align="center"> <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 # FastGPT
......
<div align="center"> <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 # 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(包含上下文)| | 计费项 | 价格: 元/ 1K tokens(包含上下文)|
| --- | --- | | --- | --- |
......
### Fast GPT V4.0-beta ### Fast GPT V4.0
1. 全新交互,增加采用模块组合的方式构建知识库,同时保留表单的简易模式。 1. 全新交互,增加采用模块组合的方式构建知识库,同时保留表单的简易模式。
2. 问题分类 - 可以对用户的问题进行分类,再执行不同的操作。 2. 问题分类 - 可以对用户的问题进行分类,再执行不同的操作。
......
...@@ -64,8 +64,8 @@ export enum OutLinkTypeEnum { ...@@ -64,8 +64,8 @@ export enum OutLinkTypeEnum {
'iframe' = 'iframe' 'iframe' = 'iframe'
} }
export const HUMAN_ICON = `https://fastgpt.run/icon/human.png`; export const HUMAN_ICON = `/icon/human.png`;
export const LOGO_ICON = `https://fastgpt.run/icon/logo.png`; export const LOGO_ICON = `/icon/logo.svg`;
export const getDefaultChatVariables = () => ({ export const getDefaultChatVariables = () => ({
cTime: dayjs().format('YYYY/MM/DD HH:mm:ss') cTime: dayjs().format('YYYY/MM/DD HH:mm:ss')
......
...@@ -4,7 +4,7 @@ export const defaultKbDetail: KbItemType = { ...@@ -4,7 +4,7 @@ export const defaultKbDetail: KbItemType = {
_id: '', _id: '',
userId: '', userId: '',
updateTime: new Date(), updateTime: new Date(),
avatar: '/icon/logo.png', avatar: '/icon/logo.svg',
name: '', name: '',
tags: '', tags: '',
totalData: 0, totalData: 0,
......
...@@ -13,7 +13,7 @@ export const defaultApp: AppSchema = { ...@@ -13,7 +13,7 @@ export const defaultApp: AppSchema = {
userId: 'userId', userId: 'userId',
name: '模型加载中', name: '模型加载中',
type: 'basic', type: 'basic',
avatar: '/icon/logo.png', avatar: '/icon/logo.svg',
intro: '', intro: '',
updateTime: Date.now(), updateTime: Date.now(),
share: { share: {
......
...@@ -57,7 +57,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse< ...@@ -57,7 +57,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse<
{ {
$project: { $project: {
_id: 1, _id: 1,
avatar: { $ifNull: ['$avatar', '/icon/logo.png'] }, avatar: { $ifNull: ['$avatar', '/icon/logo.svg'] },
name: 1, name: 1,
userId: 1, userId: 1,
intro: 1, intro: 1,
......
...@@ -21,7 +21,7 @@ type Props = { ...@@ -21,7 +21,7 @@ type Props = {
const NodeCard = ({ const NodeCard = ({
children, children,
logo = '/icon/logo.png', logo = '/icon/logo.svg',
name = '未知模块', name = '未知模块',
description, description,
minW = '300px', minW = '300px',
......
...@@ -39,7 +39,7 @@ const CreateModal = ({ onClose, onSuccess }: { onClose: () => void; onSuccess: ( ...@@ -39,7 +39,7 @@ const CreateModal = ({ onClose, onSuccess }: { onClose: () => void; onSuccess: (
const { isPc } = useGlobalStore(); const { isPc } = useGlobalStore();
const { register, setValue, getValues, handleSubmit } = useForm<FormType>({ const { register, setValue, getValues, handleSubmit } = useForm<FormType>({
defaultValues: { defaultValues: {
avatar: '/icon/logo.png', avatar: '/icon/logo.svg',
name: '', name: '',
templateId: appTemplates[0].id templateId: appTemplates[0].id
} }
......
...@@ -84,7 +84,7 @@ const Footer = () => { ...@@ -84,7 +84,7 @@ const Footer = () => {
> >
<Box flex={1}> <Box flex={1}>
<Flex alignItems={'center'}> <Flex alignItems={'center'}>
<Avatar src="/icon/logo.png" w={['24px', '30px']} /> <Avatar src="/icon/logo.svg" w={['24px', '30px']} />
<Box <Box
className="textlg" className="textlg"
fontSize={['xl', '2xl']} fontSize={['xl', '2xl']}
......
...@@ -84,7 +84,7 @@ const Navbar = () => { ...@@ -84,7 +84,7 @@ const Navbar = () => {
h={isOpenMenu ? '100vh' : 'auto'} h={isOpenMenu ? '100vh' : 'auto'}
> >
<Flex maxW={'1300px'} m={'auto'} alignItems={'center'}> <Flex maxW={'1300px'} m={'auto'} alignItems={'center'}>
<Avatar src="/icon/logo.png" w={['30px', '38px']} /> <Avatar src="/icon/logo.svg" w={['30px', '38px']} />
<Box <Box
className="textlg" className="textlg"
fontSize={['3xl', '4xl']} fontSize={['3xl', '4xl']}
......
...@@ -18,7 +18,7 @@ const AppSchema = new Schema({ ...@@ -18,7 +18,7 @@ const AppSchema = new Schema({
}, },
avatar: { avatar: {
type: String, type: String,
default: '/icon/logo.png' default: '/icon/logo.svg'
}, },
intro: { intro: {
type: String, type: String,
......
...@@ -13,7 +13,7 @@ const kbSchema = new Schema({ ...@@ -13,7 +13,7 @@ const kbSchema = new Schema({
}, },
avatar: { avatar: {
type: String, type: String,
default: '/icon/logo.png' default: '/icon/logo.svg'
}, },
name: { name: {
type: String, type: String,
......
...@@ -25,7 +25,7 @@ const defaultChatData: InitChatResponse = { ...@@ -25,7 +25,7 @@ const defaultChatData: InitChatResponse = {
appId: '', appId: '',
app: { app: {
name: 'FastGPT', name: 'FastGPT',
avatar: '/icon/logo.png', avatar: '/icon/logo.svg',
intro: '', intro: '',
canUse: false canUse: false
}, },
......
...@@ -31,7 +31,7 @@ const defaultShareChatData: ShareChatType = { ...@@ -31,7 +31,7 @@ const defaultShareChatData: ShareChatType = {
userAvatar: HUMAN_ICON, userAvatar: HUMAN_ICON,
app: { app: {
name: '', name: '',
avatar: '/icon/logo.png', avatar: '/icon/logo.svg',
intro: '' intro: ''
}, },
history: defaultHistory history: defaultHistory
......
...@@ -46,7 +46,7 @@ const config = { ...@@ -46,7 +46,7 @@ const config = {
title: 'FastGpt', title: 'FastGpt',
logo: { logo: {
alt: 'My Logo', alt: 'My Logo',
src: 'img/logo.png' src: 'img/logo.svg'
}, },
items: [ 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