Skip to content

Commit

Permalink
docs: Modify some content
Browse files Browse the repository at this point in the history
  • Loading branch information
RubuJam authored Jul 12, 2024
1 parent 3a1a02e commit f9b2815
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 42 deletions.
8 changes: 4 additions & 4 deletions docs/faq-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ API KEY 有问题。余额不足。

为了减少首屏白屏时间,默认启用了分块编译,技术原理见下:

- https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- https://github.com/vercel/next.js/issues/38507
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- [Next.js Lazy Loading](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)
- [Vercel Issue 38507](https://github.com/vercel/next.js/issues/38507)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)

然而 NextJS 的兼容性比较差,在比较老的浏览器上会导致此报错,可以在编译时关闭分块编译。

Expand Down
22 changes: 11 additions & 11 deletions docs/faq-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Deployment Related Questions

For detailed tutorials on various deployment methods, please refer to: https://rptzik3toh.feishu.cn/docx/XtrdduHwXoSCGIxeFLlcEPsdn8b
For detailed tutorials on various deployment methods, please refer to: [link](https://rptzik3toh.feishu.cn/docx/XtrdduHwXoSCGIxeFLlcEPsdn8b)

## Why does the Docker deployment version always prompt for updates

Expand Down Expand Up @@ -81,7 +81,7 @@ You can, but you need to solve the following problems:

## Why do I get network errors after Docker deployment?

See discussion: https://github.com/Yidadaa/ChatGPT-Next-Web/issues/1569
See discussion: [link](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/1569)

# Usage Related Issues

Expand Down Expand Up @@ -110,12 +110,12 @@ There is a problem with the API KEY. Insufficient balance.

In order to reduce the white screen time on the first screen, chunk compilation is enabled by default. The technical principle is as follows:

- https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- https://github.com/vercel/next.js/issues/38507
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- [Next.js Lazy Loading](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)
- [Vercel Issue 38507](https://github.com/vercel/next.js/issues/38507)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)

However, NextJS's compatibility is relatively poor, which can cause this error on older browsers. You can turn off chunk compilation during compilation.
However, Next.js's compatibility is relatively poor, which can cause this error on older browsers. You can turn off chunk compilation during compilation.

For the Vercel platform, add `DISABLE_CHUNK=1` to the environment variables and redeploy.
For self-compiled deployment projects, use `DISABLE_CHUNK=1 yarn build` to build during construction.
Expand Down Expand Up @@ -193,8 +193,8 @@ Please refer to: [#371](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/371)
- If the Docker log shows a large number of got access code brute-force attempts, your password has been cracked.
| Model | User input (Prompt) billing | Model output (Completion) billing | Maximum number of tokens per interaction |
|----|----|----|----|
| gpt-3.5-turbo | $0.0005 / 1 thousand tokens | $0.0015 / 1 thousand tokens | 16384 |
| gpt-4 | $0.030 / 1 thousand tokens | $0.060 / 1 thousand tokens | 8192 |
| gpt-4-turbo | $0.010 / 1 thousand tokens | $0.030 / 1 thousand tokens | 128000 |
| gpt-4o | $0.005 / 1 thousand tokens | $0.015 / 1 thousand tokens | 128000 |
| gpt-3.5-turbo | $0.0005 / 1k tokens | $0.0015 / 1k tokens | 16384 |
| gpt-4 | $0.030 / 1k tokens | $0.060 / 1k tokens | 8192 |
| gpt-4-turbo | $0.010 / 1k tokens | $0.030 / 1k tokens | 128000 |
| gpt-4o | $0.005 / 1k tokens | $0.015 / 1k tokens | 128000 |

8 changes: 4 additions & 4 deletions docs/faq-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Instrucciones de facturación del sitio web de OpenAI: https://openai.com/pricin
OpenAI cobra en función del número de tokens, y 1,000 tokens generalmente representan 750 palabras en inglés o 500 caracteres chinos. Prompt y Completion cuentan los costos por separado.\
|Modelo|Facturación de entrada de usuario (aviso)|Facturación de salida del modelo (finalización)|Número máximo de tokens por interacción|
|----|----|----|----|
|gpt-3.5-turbo|$0.0005 / 1 mil tokens|$0.0015 / 1 mil tokens|16384|
|gpt-4|$0.030 / 1 mil tokens|$0.060 / 1 mil tokens|8192|
|gpt-4-turbo|$0.010 / 1 mil tokens|$0.030 / 1 mil tokens|128000|
|gpt-4o|$0.005 / 1 mil tokens|$0.015 / 1 mil tokens|128000|
|gpt-3.5-turbo|$0.0005 / 1k tokens|$0.0015 / 1k tokens|16384|
|gpt-4|$0.030 / 1k tokens|$0.060 / 1k tokens|8192|
|gpt-4-turbo|$0.010 / 1k tokens|$0.030 / 1k tokens|128000|
|gpt-4o|$0.005 / 1k tokens|$0.015 / 1k tokens|128000|
28 changes: 14 additions & 14 deletions docs/faq-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# デプロイ関連の問題

さまざまなデプロイ方法の詳細なチュートリアルについては、以下を参照してください。https://rptzik3toh.feishu.cn/docx/XtrdduHwXoSCGIxeFLlcEPsdn8b
さまざまなデプロイ方法の詳細なチュートリアルについては、以下を参照してください。[リンク](https://rptzik3toh.feishu.cn/docx/XtrdduHwXoSCGIxeFLlcEPsdn8b)

## Docker デプロイバージョンで常に更新を促されるのはなぜですか?

Expand Down Expand Up @@ -80,7 +80,7 @@ OpenAI の IP 制限により、中国やその他の国/地域では OpenAI API

## docker デプロイ後にネットワークエラーが発生するのはなぜですか?

詳細については、次の議論を参照してください。https://github.com/Yidadaa/ChatGPT-Next-Web/issues/1569
詳細については、次の議論を参照してください。[リンク](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/1569)

# 使用関連の問題

Expand Down Expand Up @@ -109,12 +109,12 @@ API キーに問題があります。残高が不足しています。

最初の画面の白紙時間を短縮するために、デフォルトでチャンクコンパイルが有効になっています。技術的な原理については、以下を参照してください。

- https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- https://github.com/vercel/next.js/issues/38507
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- [Next.js Lazy Loading](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)
- [Vercel Issue 38507](https://github.com/vercel/next.js/issues/38507)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)

ただし、NextJS の互換性はあまり高くなく、古いブラウザではこのエラーが発生する可能性があります。コンパイル時にチャンクコンパイルを無効にすることができます。
ただし、Next.JS の互換性はあまり高くなく、古いブラウザではこのエラーが発生する可能性があります。コンパイル時にチャンクコンパイルを無効にできます。

Vercel プラットフォームの場合、環境変数に `DISABLE_CHUNK=1` を追加して、再デプロイします。
自分でコンパイルしてデプロイするプロジェクトの場合、ビルド時に `DISABLE_CHUNK=1 yarn build` を使用してビルドします。
Expand Down Expand Up @@ -145,7 +145,7 @@ Vercel は、開発者が最新の Web アプリケーションをより迅速
## サーバーを取得するにはどうすればよいですか?

- 海外のサーバープロバイダーの例:Amazon Web Services、Google Cloud Platform、Vultr、Bandwagon、Hostdare など。
海外のサーバーに関する注意事項:サーバーの回線は、中国国内からのアクセス速度に影響します。CN2 GIA および CN2 回線のサーバーをお勧めします。サーバーへのアクセスが困難な場合(パケットロスが多いなど)、CDN(Cloudflare などのプロバイダー)の使用を試みることができます
海外のサーバーに関する注意事項:サーバーの回線は、中国国内からのアクセス速度に影響します。CN2 GIA および CN2 回線のサーバーをお勧めします。サーバーへのアクセスが困難な場合(パケットロスが多いなど)、CDN(Cloudflare などのプロバイダー)を使用できます
- 中国国内のサーバープロバイダー:Alibaba Cloud、Tencent Cloud など。
中国国内のサーバーに関する注意事項:ドメインを解決するには备案が必要です。中国国内のサーバーの帯域幅は高価です。海外の Web サイト(Github、openAI など)にアクセスするには、プロキシが必要です。

Expand Down Expand Up @@ -173,7 +173,7 @@ chat.openai.com にアクセスして登録します。次のものが必要で

## OpenAI API を有効にするにはどうすればよいですか?API の残高を確認するにはどうすればよいですか?

公式サイトのアドレス(プロキシが必要):https://platform.openai.com/account/usage
公式サイトのアドレス(プロキシが必要):[OpenAI Usage](https://platform.openai.com/account/usage)
一部のユーザーは、プロキシなしで残高を確認できるプロキシを構築しています。ユーザーに問い合わせてください。API キーの漏洩を防ぐため、情報源が信頼できるものであることを確認してください。

## 新しく登録した OpenAI アカウントに API の残高が表示されないのはなぜですか?
Expand Down Expand Up @@ -206,11 +206,11 @@ OpenAI は、指定された地域のクレジットカードのみを受け付

## API はどのように課金されますか?

OpenAI Web サイトの課金に関する説明:https://openai.com/pricing#language-models
OpenAI Web サイトの課金に関する説明:[OpenAI Pricing](https://openai.com/pricing#language-models)
OpenAI は、トークン数に基づいて課金します。1,000 トークンは、通常 750 語の英語または 500 文字の中国語に相当します。入力(プロンプト)と出力(完了)は、それぞれ個別に課金されます。
|モデル|ユーザー入力(プロンプト)の課金|モデル出力(完了)の課金|1 回のインタラクションあたりの最大トークン数|
|----|----|----|----|
|gpt-3.5-turbo|1,000 トークンあたり 0.0005 ドル|1,000 トークンあたり 0.0015 ドル|16384|
|gpt-4|1,000 トークンあたり 0.030 ドル|1,000 トークンあたり 0.060 ドル|8192|
|gpt-4-turbo|1,000 トークンあたり 0.010 ドル|1,000 トークンあたり 0.030 ドル|128000|
|gpt-4o|1,000 トークンあたり 0.005 ドル|1,000 トークンあたり 0.015 ドル|128000|
|gpt-3.5-turbo|$0.0005 / 1k tokens|$0.0015 / 1k tokens|16384|
|gpt-4|$0.030 / 1k tokens|$0.060 / 1k tokens|8192|
|gpt-4-turbo|$0.010 / 1k tokens|$0.030 / 1k tokens|128000|
|gpt-4o|$0.005 / 1k tokens|$0.015 / 1k tokens|128000|
16 changes: 8 additions & 8 deletions docs/faq-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ API 키에 문제가 있습니다. 잔액이 부족합니다.

첫 번째 화이트 스크린 시간을 줄이기 위해 청크 컴파일이 기본적으로 활성화되어 있으며, 기술 원칙은 아래를 참조하세요:

- https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- https://github.com/vercel/next.js/issues/38507
- https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4
- [Next.js Lazy Loading](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)
- [Vercel Issue 38507](https://github.com/vercel/next.js/issues/38507)
- [Stack Overflow: Disable Chunk Code Splitting](https://stackoverflow.com/questions/55993890/how-can-i-disable-chunkcode-splitting-with-webpack4)

그러나 NextJS는 호환성이 좋지 않아 구형 브라우저에서 이 오류가 발생할 수 있으므로 컴파일 시 청크 컴파일을 비활성화할 수 있습니다.

Expand Down Expand Up @@ -211,7 +211,7 @@ OpenAI는 토큰 수에 따라 요금을 청구하며, 일반적으로 1000토

|모델|사용자 입력(프롬프트) 청구 |모델 출력(완료) 청구 |인터랙션당 최대 토큰 수 |
|----|----|----|----|
|gpt-3.5-turbo|$0.0005 / 1천 토큰|$0.0015 / 1천 토큰|16384|
|gpt-4|$0.030 / 1천 토큰|$0.060 / 1천 토큰|8192|
|gpt-4-turbo|$0.010 / 1천 토큰|$0.030 / 1천 토큰|128000|
|gpt-4o|$0.005 / 1천 토큰|$0.015 / 1천 토큰|128000|
|gpt-3.5-turbo|$0.0005 / 1k tokens|$0.0015 / 1k tokens|16384|
|gpt-4|$0.030 / 1k tokens|$0.060 / 1k tokens|8192|
|gpt-4-turbo|$0.010 / 1k tokens|$0.030 / 1k tokens|128000|
|gpt-4o|$0.005 / 1k tokens|$0.015 / 1k tokens|128000|
2 changes: 1 addition & 1 deletion docs/vercel-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ After you fork this project from Github, you need to create a new Vercel project
2. Add environment variables named "OPENAI_API_KEY" and "CODE" ([Access Password](https://github.com/Yidadaa/ChatGPT-Next-Web/blob/357296986609c14de10bf210871d30e2f67a8784/docs/faq-cn.md#%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F-code-%E6%98%AF%E4%BB%80%E4%B9%88%E5%BF%85%E9%A1%BB%E8%AE%BE%E7%BD%AE%E5%90%97)) respectively.
3. Fill in the corresponding values for the environment variables.
4. Click "Add" to confirm adding the environment variables.
5. Make sure you have added the "OPENAI_API_KEY", otherwise it will not work.
5. Make sure you have added the "OPENAI_API_KEY". Otherwise, it will not work.
6. Click "Deploy", the creation is complete, please wait patiently for about 5 minutes for the deployment to complete.

## How to Add a Custom Domain
Expand Down

0 comments on commit f9b2815

Please sign in to comment.