Open suiquantong opened 1 month ago
@suiquantong sorry, content of the logs is empty, it seems that you are not using launcher to start WrenAI, right? So, the container names are wrong.
我想知道 我如何在启动前更改我的 openai 的地址
〆落花ァ笑彷徨ㄟ @.***
@suiquantong it's good timing haha. we'll release this next week. I'll provide documentation here.
还有个问题,我再重启后容器后 会重新加载/root/.wrenai/.env 里面的配置参数嘛 夏笙 @. ---- Replied Message ---- FromChih-Yu @.>Date6/27/2024 @.>@.>, @.>SubjectRe: [Canner/WrenAI] No relevant SQL found for the given query. Please check your query and try again. (Issue #446) @suiquantong it's good timing haha. we'll release this next week. I'll provide documentation here. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>
还有个问题,我再重启后容器后 会重新加载/root/.wrenai/.env 里面的配置参数嘛
I don't think restarting container will reload env.
You'll have to re-run the launcher again. The launcher will do a docker-compose up
again, which should recreate the containers with the new environment variables.
每次 执行./wren-launcher-linux 都会执行如下操作 会覆盖我的修改 Downloading docker-compose file to /root/.wrenai/docker-compose.yaml Downloading env file to /root/.wrenai/.env.example 我不想让他覆盖的我配置 夏笙 @. ---- Replied Message ---- Fromwilliam @.>Date6/27/2024 @.>@.>, @.>SubjectRe: [Canner/WrenAI] No relevant SQL found for the given query. Please check your query and try again. (Issue #446) 还有个问题,我再重启后容器后 会重新加载/root/.wrenai/.env 里面的配置参数嘛 I don't think restarting container will reload env. You'll have to re-run the launcher again. The launcher will do a docker-compose up again, which should recreate the containers with the new environment variables. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>
@suiquantong I see. May I know what adjustments you made to the env file ?
Maybe you could start Wren AI without launcher. Just cd to ~/.wrenai
and run docker-compose up
. This way you could control the env file content yourself and reload env by running docker-compose up
again.
Check StackOverflow here for reference: https://stackoverflow.com/a/42150882/1191953
Describe the bug No relevant SQL No relevant SQL found for the given query. Please check your query and try again. To Reproduce Steps to reproduce the behavior:
Expected behavior 我请求了接口,看到数据也有返回,但是最后页面并没有显示数据
Screenshots If applicable, add screenshots to help explain your problem.
Container Logs
Desktop (please complete the following information):
Wren AI Information
wren-engine.log wren-ai-service.log wrenai-ibis-server-1.log wren-ui.log
Additional context Add any other context about the problem here.