mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-27 02:08:10 +08:00
87b0bca30c
* cloud doc * doc refactor * doc move * seo * remove doc * yml * doc * fix: tsconfig * fix: tsconfig
21 lines
711 B
Plaintext
21 lines
711 B
Plaintext
---
|
|
title: V4.2.1
|
|
description: Upgrade guide from older versions to FastGPT V4.2.1
|
|
---
|
|
|
|
For self-hosted deployments with a custom configuration file, you need to update the `VectorModels` field. Add `defaultToken` and `maxToken` — these correspond to the default token count for direct chunking and the maximum token limit supported by the model (generally recommended not to exceed 3000).
|
|
|
|
```json
|
|
"VectorModels": [
|
|
{
|
|
"model": "text-embedding-ada-002",
|
|
"name": "Embedding-2",
|
|
"price": 0,
|
|
"defaultToken": 500,
|
|
"maxToken": 3000
|
|
}
|
|
]
|
|
```
|
|
|
|
The rationale behind this change is that there's no need to offer multiple choices — just pick the most suitable model for the task.
|