Skip to content

Commit 176b6ee

Browse files
committed
chore: solve the codebase change after rebasing the main branch
1 parent c036653 commit 176b6ee

File tree

7 files changed

+11
-43
lines changed

7 files changed

+11
-43
lines changed

wren-ai-service/docs/config_examples/config.google_ai_studio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pipes:
8080
- name: sql_regeneration
8181
llm: litellm_llm.gemini/gemini-2.0-flash-exp
8282
engine: wren_ui
83-
- name: semantics_description
83+
- name: semantics_enrichment
8484
llm: litellm_llm.gemini/gemini-2.0-flash-exp
8585
- name: relationship_recommendation
8686
llm: litellm_llm.gemini/gemini-2.0-flash-exp

wren-ai-service/docs/config_examples/config.groq.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pipes:
8181
- name: sql_regeneration
8282
llm: litellm_llm.groq/llama-3.3-70b-specdec
8383
engine: wren_ui
84-
- name: semantics_description
84+
- name: semantics_enrichment
8585
llm: litellm_llm.groq/llama-3.3-70b-specdec
8686
- name: relationship_recommendation
8787
llm: litellm_llm.groq/llama-3.3-70b-specdec

wren-ai-service/docs/config_examples/config.ollama.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pipes:
8080
- name: sql_regeneration
8181
llm: litellm_llm.openai/phi4:14b
8282
engine: wren_ui
83-
- name: semantics_description
83+
- name: semantics_enrichment
8484
llm: litellm_llm.openai/phi4:14b
8585
- name: relationship_recommendation
8686
llm: litellm_llm.openai/phi4:14b

wren-ai-service/src/globals.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
class ServiceContainer:
3030
ask_service: AskService
3131
ask_details_service: AskDetailsService
32+
chart_service: ChartService
33+
chart_adjustment_service: ChartAdjustmentService
3234
question_recommendation: QuestionRecommendation
3335
relationship_recommendation: RelationshipRecommendation
3436
semantics_enrichment: SemanticsEnrichment
3537
semantics_preparation_service: SemanticsPreparationService
36-
chart_service: ChartService
37-
chart_adjustment_service: ChartAdjustmentService
3838
sql_answer_service: SqlAnswerService
3939
sql_expansion_service: SqlExpansionService
4040
sql_explanation_service: SqlExplanationService
41-
sql_regeneration_service: SqlRegenerationService
4241
sql_pairs_preparation_service: SqlPairsPreparationService
4342
sql_question_service: SqlQuestionService
43+
sql_regeneration_service: SqlRegenerationService
4444

4545

4646
@dataclass

wren-ai-service/src/pipelines/generation/__init__.py

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
from .question_recommendation import QuestionRecommendation
77
from .relationship_recommendation import RelationshipRecommendation
88
from .semantics_enrichment import SemanticsEnrichment
9-
from .chart_adjustment import ChartAdjustment
10-
from .chart_generation import ChartGeneration
11-
from .data_assistance import DataAssistance
12-
from .followup_sql_generation import FollowUpSQLGeneration
13-
from .intent_classification import IntentClassification
14-
from .question_recommendation import QuestionRecommendation
15-
from .relationship_recommendation import RelationshipRecommendation
16-
from .semantics_description import SemanticsDescription
179
from .sql_answer import SQLAnswer
1810
from .sql_breakdown import SQLBreakdown
1911
from .sql_correction import SQLCorrection
@@ -25,28 +17,6 @@
2517
from .sql_regeneration import SQLRegeneration
2618
from .sql_summary import SQLSummary
2719

28-
__all__ = [
29-
"SQLRegeneration",
30-
"ChartGeneration",
31-
"ChartAdjustment",
32-
"DataAssistance",
33-
"FollowUpSQLGeneration",
34-
"IntentClassification",
35-
"QuestionRecommendation",
36-
"RelationshipRecommendation",
37-
"SemanticsDescription",
38-
"SQLAnswer",
39-
"SQLBreakdown",
40-
"SQLCorrection",
41-
"SQLExpansion",
42-
"SQLExplanation",
43-
"SQLGeneration",
44-
"SQLGenerationReasoning",
45-
"SQLSummary",
46-
"SQLQuestion",
47-
]
48-
from .model_semantics import ModelSemantics
49-
5020
__all__ = [
5121
"ChartAdjustment",
5222
"ChartGeneration",
@@ -62,6 +32,8 @@
6232
"SQLExpansion",
6333
"SQLExplanation",
6434
"SQLGeneration",
35+
"SQLGenerationReasoning",
36+
"SQLQuestion",
6537
"SQLRegeneration",
6638
"SQLSummary",
6739
]

wren-ai-service/src/pipelines/indexing/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ async def run(
120120

121121
__all__ = [
122122
"DBSchema",
123-
"TableDescription",
124123
"HistoricalQuestion",
125-
"SqlPairsDeletion",
126124
"SqlPairs",
125+
"SqlPairsDeletion",
126+
"TableDescription",
127127
]

wren-ai-service/src/web/v1/routers/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
chart_adjustment,
88
question_recommendation,
99
relationship_recommendation,
10-
semantics_description,
11-
semantics_preparation,
1210
semantics_enrichment,
13-
semantics_preparations,
11+
semantics_preparation,
1412
sql_answers,
1513
sql_expansions,
1614
sql_explanations,
@@ -25,8 +23,6 @@
2523
router.include_router(question_recommendation.router)
2624
router.include_router(relationship_recommendation.router)
2725
router.include_router(semantics_enrichment.router)
28-
router.include_router(semantics_preparations.router)
29-
router.include_router(semantics_description.router)
3026
router.include_router(semantics_preparation.router)
3127
router.include_router(sql_answers.router)
3228
router.include_router(sql_expansions.router)

0 commit comments

Comments
 (0)