WrenAI icon indicating copy to clipboard operation
WrenAI copied to clipboard

UI prompts "Failed to create asking task."

Open bowlvan opened this issue 1 year ago • 5 comments

Describe the bug Unable to get ask question. Pending on “Understanding question”

Desktop (please complete the following information):

  • OS: Ubuntu Linux
  • Browser chrome

Wren AI Information

  • Version: nightly
  • LLM_PROVIDER= openai_llm
  • GENERATION_MODEL= # gpt-3.5-turbo

Relevant log output logs.zip

bowlvan avatar Jan 12 '25 12:01 bowlvan

@cyyeh could you take a look ? thx!

wwwy3y3 avatar Jan 12 '25 13:01 wwwy3y3

@bowlvan seems the deployment is failed and there was timeout in deployment. What embedding model are u using and how many tables do you have?

cyyeh avatar Jan 13 '25 13:01 cyyeh

I'm using OpenAI model to process around 25 tables. Where can I get the detail logs start from UI request?

@bowlvan seems the deployment is failed and there was timeout in deployment. What embedding model are u using and how many tables do you have?

bowlvan avatar Jan 14 '25 01:01 bowlvan

@bowlvan

docker logs wrenai-wren-ui-1 >& wrenai-wren-ui.log && \
docker logs wrenai-wren-ai-service-1 >& wrenai-wren-ai-service.log && \
docker logs wrenai-wren-engine-1 >& wrenai-wren-engine.log && \
docker logs wrenai-ibis-server-1 >& wrenai-ibis-server.log

cyyeh avatar Jan 14 '25 02:01 cyyeh

I had the same problem with on-premises deployment. How to test whether LLM and Embedding are configured successfully? Is there a button on the interface? If not, can you add it in the next version?

555chy avatar Feb 06 '25 06:02 555chy

In Chinese

感谢,我以及解决了这个问题了。确实是由于配置导致的。我使用的是azure_openai, 后面下载源码,然后用/wren-ai-service/docs/config_examples/config.azure.yaml进行配置,然后成功了 要注意的是,密码只能在yaml里面配置字段名api_key_name,然后在.env里面配置值。不要在yaml里面既配置api_key又api_key_name,这样会冲突导致出错


In English

Thank you, I have resolved this issue. It is indeed caused by configuration. I am using Azure openai, Later, download the source code and configure it using/ren ai service/docs/config.examples/config.azure. yaml, and successfully It should be noted that the password can only be configured in YAML with the field name api_key_name, and then in. env with the value. Do not configure both api_key and api_key_name in YAML, as this may cause conflicts and errors

555chy avatar Feb 14 '25 08:02 555chy