在使用自定义 LLM 提供程序 (Groq / OpenAI 兼容 API) 时, wren-ai-service 会发生总线错误 (核心已丢弃)
Hi team, I’m trying to run Wren AI with Groq’s OpenAI-compatible API as the LLM provider instead of OpenAI. I configured my .env like this: COMPOSE_PROJECT_NAME=wrenai PLATFORM=linux/amd64 PROJECT_DIR=. # service port WREN_ENGINE_PORT=8080 WREN_ENGINE_SQL_PORT=7432 WREN_AI_SERVICE_PORT=5555 WREN_UI_PORT=3000 IBIS_SERVER_PORT=8000 WREN_UI_ENDPOINT=http://wren-ui:${WREN_UI_PORT} # ai service settings QDRANT_HOST=qdrant SHOULD_FORCE_DEPLOY=1 # vendor keys OPENAI_API_KEY= GROQ_API_KEY=gsk_******************************************************************* # version # CHANGE THIS TO THE LATEST VERSION WREN_PRODUCT_VERSION=0.27.0 WREN_ENGINE_VERSION=0.18.3 WREN_AI_SERVICE_VERSION=0.27.1 IBIS_SERVER_VERSION=0.18.3 WREN_UI_VERSION=0.31.1 WREN_BOOTSTRAP_VERSION=0.1.5 # user id (uuid v4) USER_UUID= # for other services POSTHOG_API_KEY=phc_nhF32aj4xHXOZb0oqr2cn4Oy9uiWzz6CCP4KZmRq9aE POSTHOG_HOST=https://app.posthog.com TELEMETRY_ENABLED=true # this is for telemetry to know the model, i think ai-service might be able to provide a endpoint to get the information GENERATION_MODEL=llama3-70b-8192 LANGFUSE_SECRET_KEY= LANGFUSE_PUBLIC_KEY= # the port exposes to the host # OPTIONAL: change the port if you have a conflict HOST_PORT=3000 AI_SERVICE_FORWARD_PORT=5555 # Wren UI EXPERIMENTAL_ENGINE_RUST_VERSION=false # Wren Engine # OPTIONAL: set if you want to use local storage for the Wren Engine LOCAL_STORAGE=.
内容来源: Canner/WrenAI