Skip to content

feature(wren-ai-service+wren-ui): Added Italian to available project languages for prompting #1468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions wren-ai-service/demo/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def onchange_timezone():
"Russian",
"Japanese",
"Korean",
"Italian"
],
index=0,
on_change=onchange_language,
Expand Down
1 change: 1 addition & 0 deletions wren-ai-service/eval/llm_trace_analysis/chart_eval_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ async def main():
"Russian",
"Japanese",
"Korean",
"Italian",
]
st.selectbox(
"Select chart-rerun output language",
Expand Down
1 change: 1 addition & 0 deletions wren-ui/src/apollo/client/graphql/__types__.ts
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ export enum ProjectLanguage {
EN = 'EN',
ES = 'ES',
FR = 'FR',
IT = 'IT',
JA = 'JA',
KO = 'KO',
PT = 'PT',
Expand Down
1 change: 1 addition & 0 deletions wren-ui/src/apollo/server/models/adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export enum WrenAILanguage {
RU = 'Russian',
JA = 'Japanese',
KO = 'Korean',
IT = 'Italian',
}

export interface DeployData {
Expand Down
1 change: 1 addition & 0 deletions wren-ui/src/apollo/server/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const typeDefs = gql`
RU
JA
KO
IT
}

type DataSource {
Expand Down
1 change: 1 addition & 0 deletions wren-ui/src/utils/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export const getLanguageText = (language: ProjectLanguage) =>
[ProjectLanguage.RU]: 'Russian',
[ProjectLanguage.JA]: 'Japanese',
[ProjectLanguage.KO]: 'Korean',
[ProjectLanguage.IT]: 'Italian',
})[language] || language;