You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When ai-service is initialized, table_contents error is reported
To Reproduce
Steps to reproduce the behavior:
Use wren-launcher-linux to start and set custom
docker logs -f wrenai-wren-ai-service-1
Expected behavior
success?
Screenshots
Desktop (please complete the following information):
OS: macos
Browser chrome:133
Wren AI Information
WREN_PRODUCT_VERSION=0.15.3
WREN_ENGINE_VERSION=0.13.1
WREN_AI_SERVICE_VERSION=0.15.17
IBIS_SERVER_VERSION=0.13.1
WREN_UI_VERSION=0.20.1
WREN_BOOTSTRAP_VERSION=0.1.5
Additional context
Use Alibaba Cloud API, compatible with OpenAI
Relevant log output
# you should rename this file to config.yaml and put it in ~/.wrenai# please pay attention to the comments starting with # and adjust the config accordinglytype: llmprovider: litellm_llmmodels:
# put OPENAI_API_KEY=<random_string> in ~/.wrenai/.env
- api_base: https://dashscope.aliyuncs.com/compatible-mode/v1 # change this to your ollama host, api_base should be <ollama_url>/v1api_key_name: LLM_OLLAMA_API_KEYmodel: openai/qwen-plus-2025-01-25 # openai/<ollama_model_name>timeout: 600kwargs:
n: 1temperature: 0
---
type: embedderprovider: litellm_embeddermodels:
# put OPENAI_API_KEY=<random_string> in ~/.wrenai/.env
- model: openai/text-embedding-v3 # put your ollama embedder model name here, openai/<ollama_model_name>api_base: https://dashscope.aliyuncs.com/compatible-mode/v1api_key_name: EMBEDDER_OLLAMA_API_KEYtimeout: 600
---
type: engineprovider: wren_uiendpoint: http://wren-ui:3000
---
type: document_storeprovider: qdrantlocation: http://qdrant:6333embedding_model_dim: 1024# put your embedding model dimension heretimeout: 120recreate_index: true
---
# please change the llm and embedder names to the ones you want to use# the format of llm and embedder should be <provider>.<model_name> such as litellm_llm.gpt-4o-2024-08-06# the pipes may be not the latest version, please refer to the latest version: https://raw.githubusercontent.com/canner/WrenAI/<WRENAI_VERSION_NUMBER>/docker/config.example.yamltype: pipelinepipes:
- name: db_schema_indexingembedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: historical_question_indexingembedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: table_description_indexingembedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: db_schema_retrievalllm: litellm_llm.openai/qwen-plus-2025-01-25embedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: historical_question_retrievalembedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: sql_generationllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: sql_correctionllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: followup_sql_generationllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: sql_summaryllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: sql_answerllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: sql_breakdownllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: sql_expansionllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: sql_explanationllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: semantics_descriptionllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: relationship_recommendationllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: question_recommendationllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: question_recommendation_db_schema_retrievalllm: litellm_llm.openai/qwen-plus-2025-01-25embedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: question_recommendation_sql_generationllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
- name: chart_generationllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: chart_adjustmentllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: intent_classificationllm: litellm_llm.openai/qwen-plus-2025-01-25embedder: litellm_embedder.openai/text-embedding-v3document_store: qdrant
- name: data_assistancellm: litellm_llm.openai/qwen-plus-2025-01-25
- name: sql_pairs_deletiondocument_store: qdrantembedder: litellm_embedder.openai/text-embedding-v3
- name: sql_pairs_indexingdocument_store: qdrantembedder: litellm_embedder.openai/text-embedding-v3
- name: sql_pairs_retrievaldocument_store: qdrantembedder: litellm_embedder.openai/text-embedding-v3llm: litellm_llm.openai/qwen-plus-2025-01-25
- name: sql_pairs_preparationdocument_store: qdrantembedder: litellm_embedder.openai/text-embedding-v3
- name: preprocess_sql_datallm: litellm_llm.openai/qwen-plus-2025-01-25
- name: sql_executorengine: wren_ui
- name: sql_question_generationllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: sql_generation_reasoningllm: litellm_llm.openai/qwen-plus-2025-01-25
- name: sql_regenerationllm: litellm_llm.openai/qwen-plus-2025-01-25engine: wren_ui
---
settings:
column_indexing_batch_size: 50table_retrieval_size: 10table_column_retrieval_size: 100allow_using_db_schemas_without_pruning: false # if you want to use db schemas without pruning, set this to true. It will be fasterquery_cache_maxsize: 1000query_cache_ttl: 3600langfuse_host: https://cloud.langfuse.comlangfuse_enable: truelogging_level: DEBUGdevelopment: true
The text was updated successfully, but these errors were encountered:
Describe the bug
When ai-service is initialized, table_contents error is reported
To Reproduce
Steps to reproduce the behavior:
Expected behavior
success?
Screenshots
Desktop (please complete the following information):
Wren AI Information
WREN_PRODUCT_VERSION=0.15.3
WREN_ENGINE_VERSION=0.13.1
WREN_AI_SERVICE_VERSION=0.15.17
IBIS_SERVER_VERSION=0.13.1
WREN_UI_VERSION=0.20.1
WREN_BOOTSTRAP_VERSION=0.1.5
Additional context
Use Alibaba Cloud API, compatible with OpenAI
Relevant log output
The text was updated successfully, but these errors were encountered: