Skip to content

Commit

Permalink
remove unwanted code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratikshakhandagale committed Jul 19, 2024
1 parent e6ab7a2 commit 00e4d55
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 34 deletions.
28 changes: 15 additions & 13 deletions configuration/environment.dev.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
export const environment = {
production: true
};

export const config = {
api: {
BASE_URL: 'http://152.67.162.156:9000/',
BASE_URL_NEW: 'https://dev.ejp.sunbird.org/',
SEARCH_BASE_URL: 'http://129.154.42.158:8000/',
BOT_BASE_URL: 'http://144.24.130.223:7081/',
STORY_BOT_BASE_URL: 'http://152.67.183.46:7081/',
CONFIG: 'v1/config/read',
PAGE_SEARCH_API: 'v1/page/search',
CONTEXT_SEARCH: 'v1/context',
CONTENT_SEARCH_API: 'v1/content/search',
TELEMETRY_SYNC: 'v1/telemetry',
BASE_URL: 'https://school-api-dev.tekdinext.com/',
BASE_URL_BOT: 'https://school-openai.tekdinext.com/',
TELEMETRY_BASE_URL: 'https://school-dev.tekdinext.com/',
CONFIG: 'seeker/configuration',
PAGE_SEARCH_API: 'content/search',
CONTEXT_SEARCH: 'api/aiutility/v1/context',
CONTENT_SEARCH_API: 'content/search',
TELEMETRY_SYNC: 'telemetry/v1/telemetry',
BOT_QUERY_API: 'v1/query',
SEARCH_API: 'api/content/v1/search',
SEARCH_API: 'content/search',
CONFIRM_API: 'confirm',
BOT_SAKHI_API_PATH: 'v1/query',
BOT_ACTIVITY_API_PATH: 'v1/query'
BOT_ACTIVITY_API_PATH: 'api/activitybot/v1/query',

REGISTER_DEVICE_API_PATH: 'api/registerMobileDevice',
KEY: 'myjp-0.1',
SECRET: '7tVOEu0xj0zYQiYtCYbauEkNC3NBXCpM'
},
telmetry: {
PRODUCER_ID: 'dev.ejp.mobileapp',
Expand Down
41 changes: 26 additions & 15 deletions src/assets/appConfig/localhost.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"tenantLogo": "assets/school/P_128x128.svg",
"siteName": "Prajayatna",
"siteByLine": "We learn. We live",
"splashImage": "assets/school/P_152x152.png",
"tenantLogo": "assets/school/DL_128x128.svg",
"siteName": "Dharma Life",
"siteByLine": "Listen, Learn & Grow !!!",
"splashImage": "assets/school/DL_152x152.png",
"bots": ["teacher"],

"defaultContentFilter": [
{
"agegroup": [
"3-6",
"6-8"
],
"language":["Kannada"]
"language":["English", "Hindi"]

}
],
Expand Down Expand Up @@ -58,27 +59,37 @@
],
"languages": [
{
"id": "kn",
"label": "ಕನ್ನಡ",
"id": "en",
"label": "English",
"default": true
},
{
"id": "hi",
"label": "हिंदी",
"default": false
}
],
"titleCode": [ "kn"
"titleCode": [
"en",
"hi"
],
"kn": {
"teacherTaraBotName": "ಅಂಗನವಾಡಿ ಕಾರ್ಯಕರ್ತೆ"
"en": {
"teacherTaraBotName": "Pre-School Teachers"
},
"hi": {
"teacherTaraBotName": "पूर्व-स्कूल शिक्षक"
},
"footerText": "Developed with ❤️ by Tekdi Technologies ",
"headerColor": "#A71028",
"headerColor": "#e98021ff",
"headerFontSize": "16",
"footerColor": "#A71028",
"footerColor": "#e98021ff",
"footerFontSize": "16",
"primaryCss" : {
"primary": "#A71028",
"shade": "#EEAA1F"
"primary": "#e98021ff",
"shade": "#186aaaff"
},
"secondaryCss" : {
"secondary": "#EEAA1F",
"secondary": "#186aaaff",
"shade": "#e98021ff"
}
}
11 changes: 5 additions & 6 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{


"e-Jaadui Pitara": "e-Jaadui Pitara",
"All": "All",
"Rhymes": "Rhymes",
Expand Down Expand Up @@ -40,11 +42,9 @@
"QR Scan Result": "QR Scan Result",
"edit": "Edit",
"delete": "Delete",
"WELCOME_TO_STORY_SAKHI": "Wecome to ${botName}! \n I can create a new story about whatever you ask for. \n For example you can ask: \n - Tell a story about a child prodigy\n - Tell a story about a girl who loves her mom\n - Tell a story about a Monkey and a Frog\n Ask me what story do you want. You can type or speak.",
"WELCOME_TO_TEACHER_SAKHI": "Wecome to ${botName}! \n I can suggest you activities that you can do with your students (of age 3 to 8 years) at schools. \n I can also answer your questions about the play based learning suggested in the new NCF for Foundational Stage.\n Here are few examples of what you can ask.\n Examples:\n - What activity can I do with students to teach sorting or counting numbers\n - How can I conduct my class with children with special needs\n - What can I do to engage a child who is always distracted.\n I can answer your questions about the new NCF\n Ask me about anything that you want. You can type or speak.",
"WELCOME_TO_PARENT_SAKHI": "Wecome to ${botName}! \n I can suggest you activities that you can do with your children at home. It can also suggest how to handle certain situations with your child.\n Here are few examples of what you can ask:\n - My child gets irritated easily. What should I do?\n - What activity can I do with my child using vegetables in my kitchen ?\n - Suggest how I can make my child interested in household activities\n - My child is not physically active. He only plays game on mobile\n Ask me about anything that you want me to suggest. You can type or speak.",


"WELCOME_TO_STORY_SAKHI": "Welcome to ${botName}! \n I can create a new story about whatever you ask for. \n For example you can ask: \n - Tell a story about a child prodigy\n - Tell a story about a girl who loves her mom\n - Tell a story about a Monkey and a Frog\n Ask me what story do you want. You can type or speak.",
"WELCOME_TO_TEACHER_SAKHI": "Welcome to ${botName}! \n I can suggest you activities that you can do with your students (of age 3 to 8 years) at schools. \n I can also answer your questions about the play based learning suggested in the new NCF for Foundational Stage.\n Here are few examples of what you can ask.\n Examples:\n - What activity can I do with students to teach sorting or counting numbers\n - How can I conduct my class with children with special needs\n - What can I do to engage a child who is always distracted.\n I can answer your questions about the new NCF\n Ask me about anything that you want. You can type or speak.",
"WELCOME_TO_PARENT_SAKHI": "Welcome to ${botName}! \n I can suggest you activities that you can do with your children at home. It can also suggest how to handle certain situations with your child.\n Here are few examples of what you can ask:\n - My child gets irritated easily. What should I do?\n - What activity can I do with my child using vegetables in my kitchen ?\n - Suggest how I can make my child interested in household activities\n - My child is not physically active. He only plays game on mobile\n Ask me about anything that you want me to suggest. You can type or speak.",
"Create": "Create",
"No contents": "No contents",
"Make a Story": "Make a Story",
Expand Down Expand Up @@ -92,5 +92,4 @@
"Add Youtube URL": "Add Youtube URL",
"Name": "Name",
"Version": "Version"

}

0 comments on commit 00e4d55

Please sign in to comment.