mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
perf: embedding price and img
This commit is contained in:
@@ -11,4 +11,5 @@ chatgpt 上下文最长 4096 tokens, 会自动截取上下文,超过 4096 部
|
|||||||
服务器代理不稳定,可以过一会儿再尝试。 或者可以访问国外服务器: [FastGpt](https://fastgpt.run/)
|
服务器代理不稳定,可以过一会儿再尝试。 或者可以访问国外服务器: [FastGpt](https://fastgpt.run/)
|
||||||
**其他问题**
|
**其他问题**
|
||||||
请 WX 联系: fastgpt123
|
请 WX 联系: fastgpt123
|
||||||

|

|
||||||
|

|
||||||
|
@@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
### 交流群/问题反馈
|
### 交流群/问题反馈
|
||||||
|
|
||||||
扫码满了,加个小号,定时拉
|
如果群满了,可加个小号,定时拉
|
||||||
wx 号: fastgpt123
|
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
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
BIN
public/imgs/wxqun300.jpg
Normal file
BIN
public/imgs/wxqun300.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
@@ -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({
|
||||||
|
Reference in New Issue
Block a user