Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
fac53923
authored
May 09, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: embedding price and img
parent
b200731d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
public/docs/chatProblem.md
+2
-1
public/docs/intro.md
+3
-2
public/imgs/wxerweima300.jpg
+0
-0
public/imgs/wxqun300.jpg
+0
-0
src/service/events/pushBill.ts
+3
-2
No files found.
public/docs/chatProblem.md
View file @
fac53923
...
@@ -11,4 +11,5 @@ chatgpt 上下文最长 4096 tokens, 会自动截取上下文,超过 4096 部
...
@@ -11,4 +11,5 @@ chatgpt 上下文最长 4096 tokens, 会自动截取上下文,超过 4096 部
服务器代理不稳定,可以过一会儿再尝试。 或者可以访问国外服务器:
[
FastGpt
](
https://fastgpt.run/
)
服务器代理不稳定,可以过一会儿再尝试。 或者可以访问国外服务器:
[
FastGpt
](
https://fastgpt.run/
)
**其他问题**
**其他问题**
请 WX 联系: fastgpt123
请 WX 联系: fastgpt123

!
[
](/imgs/wxqun300.jpg)
!
[
](/imgs/wx300.jpg)
public/docs/intro.md
View file @
fac53923
...
@@ -4,8 +4,9 @@
...
@@ -4,8 +4,9 @@
### 交流群/问题反馈
### 交流群/问题反馈
扫码满了,
加个小号,定时拉
如果群满了,可
加个小号,定时拉
wx 号: fastgpt123
wx 号: fastgpt123
!
[
](/imgs/wxqun300.jpg)
!
[
](/imgs/wx300.jpg)
!
[
](/imgs/wx300.jpg)
### 快速开始
### 快速开始
...
@@ -24,7 +25,7 @@ wx 号: fastgpt123
...
@@ -24,7 +25,7 @@ wx 号: fastgpt123
| claude - 对话 | 免费 |
| claude - 对话 | 免费 |
| chatgpt - 对话 | 0.03 |
| chatgpt - 对话 | 0.03 |
| 知识库 - 对话 | 0.03 |
| 知识库 - 对话 | 0.03 |
| 知识库 - 索引 |
0.004
|
| 知识库 - 索引 |
免费
|
| 文件拆分 | 0.03 |
| 文件拆分 | 0.03 |
### 定制 prompt
### 定制 prompt
...
...
public/imgs/wxerweima300.jpg
deleted
100644 → 0
View file @
b200731d
49.5 KB
public/imgs/wxqun300.jpg
0 → 100644
View file @
fac53923
29.7 KB
src/service/events/pushBill.ts
View file @
fac53923
...
@@ -128,8 +128,9 @@ export const pushGenerateVectorBill = async ({
...
@@ -128,8 +128,9 @@ export const pushGenerateVectorBill = async ({
try
{
try
{
const
unitPrice
=
0.4
;
const
unitPrice
=
0.4
;
// 计算价格. 至少为1
// 计算价格. 至少为1
let
price
=
unitPrice
*
tokenLen
;
const
price
=
0
;
price
=
price
>
1
?
price
:
1
;
// let price = unitPrice * tokenLen;
// price = price > 1 ? price : 1;
// 插入 Bill 记录
// 插入 Bill 记录
const
res
=
await
Bill
.
create
({
const
res
=
await
Bill
.
create
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment