Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q&A] 可能遇到的问题 #3

Closed
okisdev opened this issue May 2, 2023 · 0 comments
Closed

[Q&A] 可能遇到的问题 #3

okisdev opened this issue May 2, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@okisdev
Copy link
Owner

okisdev commented May 2, 2023

可能遇到的问题

Application error: a client-side exception has occurred (see the browser console for more information).

未完整填写所有所需环境变量导致,请看 https://docs.okis.dev/zh-CN/chat/deployment/

输出内容杂乱

这通常是相关模型不完善导致的。

所以你可能看到以下情况:

CleanShot 2023-05-02 at 03 50 18@2x

这是因为模型返回的内容本身如下:
CleanShot 2023-05-02 at 03 49 59@2x
CleanShot 2023-05-02 at 03 33 01@2x

抓取网页(返回成功,但是生成 AI 内容)失败

基本上是页面投喂的内容超过了当前 AI 模型最大的 token 限制

搜索配置

需要获取 Google Programmable Search Engine ID 和 API Key,分别在 https://programmablesearchengine.google.com/controlpanel/allhttps://developers.google.com/custom-search/v1/introduction

@okisdev okisdev added the documentation Improvements or additions to documentation label May 2, 2023
@okisdev okisdev pinned this issue May 2, 2023
@okisdev okisdev closed this as completed Apr 14, 2024
@okisdev okisdev unpinned this issue May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant