RexWang

Results 88 comments of RexWang

遇到同样的问题:本地报错**函数未定义**,但 GitHub 测试正常,本地系统是 Ubuntu 20.04 1. 本地运行 `test` 时,如果出现 `Precompiling` ,则测试正常 ![深度截图_选择区域_20220217092527](https://cdn.jsdelivr.net/gh/zhihongecnu/PicBed2/picgo/深度截图_选择区域_20220217092527.png) 2. 如果加载阶段没显示“预编译”中,则测试报错 `UndefVarError` ![深度截图_选择区域_20220217120332](https://cdn.jsdelivr.net/gh/zhihongecnu/PicBed2/picgo/深度截图_选择区域_20220217120332.png) --- 权宜的办法是文件夹改名,但添加一两个 commit 后,仍会出现上边问题。

> ![image](https://user-images.githubusercontent.com/58110312/159115593-cc3e258f-ea68-426f-a025-3acf940fcf2c.png) 同样的问题,在push之后在没有关闭的REPL里test会出现未定义的情况,可能是筛选的逻辑不正确 报错 `UndefVarError` 应该是模块没有重新 `预编译 Precompiling` 导致的,文件夹改名可以暂时解决这个问题。上次修复后,我遇到这个问题频次很少了,但偶尔还会有,不清楚触发机制。

@songquanpeng 应该不是 OneAPI 的问题。和渠道有关,比如我用 ChatAnywhere 是正常的,但智谱只能字符串,不能字符列表: Ref 智谱文档: https://open.bigmodel.cn/dev/api#text_embedding

自定义一个 crontab 任务就行了吧,这样你想怎么定制都可以 --- 要建立一个自动清理任务,通常使用 cron 作业是最简单的方法。 下面是如何设置一个 cron 作业来定期清空 `/data/log` 目录下的 `one-api.log` 日志文件的步骤: 1. 打开终端。 2. 运行 `crontab -e` 命令来编辑当前用户的 cron 文件。 如果你是第一次运行 `crontab -e` 可能会让你选择一个文本编辑器来编辑这个文件。 3. 在打开的文件中,你要添加一行,指定 cron...

Same for me, using either docker or Python. ADD: In my case, **no model shows** in the frontend. ## config.toml ```bash ❯ cat config.toml [STORAGE] SQLITE_DB = "db/devika.db" SCREENSHOTS_DIR =...

I think the primary challenge is with the backend services. It works when connecting locally via localhost, but can run into cross-origin problems when going through a domain name. Generally,...

TGI 文档:https://huggingface.co/docs/text-generation-inference/messages_api 这里提到支持 OpenAI 了: Text Generation Inference (TGI) now supports the Messages API, which is fully compatible with the OpenAI Chat Completion API. This feature is available starting from...

同上,智谱把 `v1` 改成 `v4` 了。目前用 one-api 跑 embedding-2 和 cogview-3 都会有问题。

弄个 nginx 代理 ```conf server { listen 443 ssl; server_name zhipu.example.com; ssl_certificate cert/example.com.pem; ssl_certificate_key cert/example.com.key; # 重写 /v1 到 /v4 location ~ ^/v1(.*)$ { rewrite ^/v1(.*)$ /v4$1 last; } location...