Skip to content
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
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Abstract:-
The aim of the project is to create a friendly bot that can solve some simple queries coming from followers of the GDG official page. We are using Google consoled Dialogflow to create the interface. The bot works on Natural Language Processing, backed by Machine Learning.
![12345](https://user-images.githubusercontent.com/47710928/63646044-e7051500-c728-11e9-94f3-6383a3d53c05.png)
Problem statement:-
To solve some simple but general asked questions by the followers of the page.

Introduction:-
Chatbot is basically a software that conducts a conversation via auditory or textual methods. They are typically used in dialog systems for various practical purposes including customer service or information acquisition.
The process of building, testing and deploying chatbots can be done on cloud based chatbot development platforms. These cloud platforms provide NLP, AI, and mobile backend as a service for chatbot development.

Purpose of the Project:-
To create a central hub and platform for followers of the GDG siliguri community page in order to solve their simple but generally asked queries so they may resolve their doubts in a much easier manner.

Working Principle:-
Dialogflow (previously known as API.AI) works on the natural language processing and backed by machine learning. At Dialogflow the whole conversation take place, is backed by Google and runs on Google infrastructure. The process of Dialogflow agent follows from invocation to fulfilment is similar to someone answering a question, with some liberaries taken of course.
Agents are best described as NLU modules. It is basically the name of our app we are creating. Whenever the user asks a question, it will try to match in corresponding intent. The Dialogflow agent needs to know what information is useful for answering the users request.
Dialogflow backed by Google hence it works on cloud functions. Context plays vital role in the success of assistant.

Limitations:-
As the database, used for output generation is fixed and limited, chatbots can fail while dealing with an unsaved query.
It is unable to deal with multiple questions at the same time and so conversation oppurtunities are limited.
55 changes: 55 additions & 0 deletions agent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"description": "Assistant for queries",
"language": "en",
"shortDescription": "",
"examples": "",
"linkToDocs": "",
"activeAssistantAgents": [
"smalltalk-domain-on"
],
"disableInteractionLogs": false,
"disableStackdriverLogs": true,
"googleAssistant": {
"googleAssistantCompatible": true,
"project": "coco-vwgenq",
"welcomeIntentSignInRequired": false,
"startIntents": [],
"systemIntents": [],
"endIntentIds": [],
"oAuthLinking": {
"required": false,
"providerId": "",
"authorizationUrl": "",
"tokenUrl": "",
"scopes": "",
"privacyPolicyUrl": "",
"grantType": "AUTH_CODE_GRANT"
},
"voiceType": "MALE_1",
"capabilities": [],
"env": "",
"protocolVersion": "V2",
"autoPreviewEnabled": false,
"isDeviceAgent": false
},
"defaultTimezone": "Asia/Almaty",
"webhook": {
"url": "",
"username": "",
"headers": {},
"available": false,
"useForDomains": false,
"cloudFunctionsEnabled": false,
"cloudFunctionsInitialized": false
},
"isPrivate": true,
"customClassifierMode": "use.after",
"mlMinConfidence": 0.3,
"supportedLanguages": [],
"onePlatformApiVersion": "v2beta1",
"analyzeQueryTextSentiment": false,
"enabledKnowledgeBaseNames": [],
"knowledgeServiceConfidenceAdjustment": -0.4,
"dialogBuilderMode": false,
"baseActionPackagesUrl": ""
}
50 changes: 50 additions & 0 deletions customSmalltalkResponses_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"action": "smalltalk.agent.acquaintance",
"customAnswers": [
"I am Coco Assistant"
]
},
{
"action": "smalltalk.agent.age",
"customAnswers": [
"My creator knows that"
]
},
{
"action": "smalltalk.agent.annoying",
"customAnswers": [
"I am Sad."
]
},
{
"action": "smalltalk.agent.answer_my_question",
"customAnswers": [
"Ok !"
]
},
{
"action": "smalltalk.agent.be_clever",
"customAnswers": [
"Yes."
]
},
{
"action": "smalltalk.agent.beautiful",
"customAnswers": [
"Thank You."
]
},
{
"action": "smalltalk.agent.birth_date",
"customAnswers": [
"25 August 2019"
]
},
{
"action": "smalltalk.agent.boss",
"customAnswers": [
"Gdg Siliguri Community."
]
}
]
9 changes: 9 additions & 0 deletions entities/Community.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "53b20f28-6361-4087-adb0-4b8da24b2ca5",
"name": "Community",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
13 changes: 13 additions & 0 deletions entities/Community_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"value": "Gdg community",
"synonyms": [
"Gdg community",
"community",
"gdg",
"gdg siliguri",
"group",
"siliguri community"
]
}
]
9 changes: 9 additions & 0 deletions entities/Github.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "78657ad8-c85b-4454-9895-a4602a2e3687",
"name": "Github",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
9 changes: 9 additions & 0 deletions entities/Github_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"value": "github",
"synonyms": [
"git",
"github"
]
}
]
9 changes: 9 additions & 0 deletions entities/LinkedIn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "71e05f30-af2b-4620-bb5d-261db0236b25",
"name": "LinkedIn",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
9 changes: 9 additions & 0 deletions entities/LinkedIn_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"value": "linkedin",
"synonyms": [
"Linked in",
"linkedin"
]
}
]
9 changes: 9 additions & 0 deletions entities/Location.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "d6785391-22c2-4a8a-b738-902b7e60c4fe",
"name": "Location",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
15 changes: 15 additions & 0 deletions entities/Location_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"value": "Location",
"synonyms": [
"Location",
"address",
"area",
"location",
"map",
"place",
"site",
"situated"
]
}
]
9 changes: 9 additions & 0 deletions entities/Members.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "fc98663b-2f20-4283-98d7-82a458e14b25",
"name": "Members",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
14 changes: 14 additions & 0 deletions entities/Members_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"value": "members",
"synonyms": [
"communities",
"community",
"group member",
"groups",
"member",
"team",
"team members"
]
}
]
9 changes: 9 additions & 0 deletions entities/Objective_devfest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "05135a9f-ba58-449c-bfe7-3b45ebe9523d",
"name": "Objective_devfest",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
18 changes: 18 additions & 0 deletions entities/Objective_devfest_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"value": "Objective",
"synonyms": [
"Objective",
"advantages",
"aim",
"goal",
"intention",
"mission",
"motive",
"outcome",
"purpose",
"target",
"vision"
]
}
]
9 changes: 9 additions & 0 deletions entities/Upcoming_events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "aa415ab6-19f2-4755-a8f1-eb46c7a7f033",
"name": "Upcoming_events",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
11 changes: 11 additions & 0 deletions entities/Upcoming_events_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"value": "events",
"synonyms": [
"contest",
"events",
"upcoming",
"upcoming events"
]
}
]
9 changes: 9 additions & 0 deletions entities/twitter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "9897b2e0-0ec1-4361-971e-dd222c70e28a",
"name": "twitter",
"isOverridable": true,
"isEnum": false,
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
11 changes: 11 additions & 0 deletions entities/twitter_entries_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"value": "twitter",
"synonyms": [
"Twitter",
"twitter",
"twitter account",
"twitter handle"
]
}
]
40 changes: 40 additions & 0 deletions intents/About twitter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"id": "09eee2ab-99df-46e4-8ee6-00c6bbab1909",
"name": "About twitter",
"auto": true,
"contexts": [],
"responses": [
{
"resetContexts": false,
"affectedContexts": [],
"parameters": [
{
"id": "9f3c5c2a-13be-45ea-bd57-32f01f20eda9",
"required": true,
"dataType": "@twitter",
"name": "twitter",
"value": "$twitter",
"promptMessages": [],
"noMatchPromptMessages": [],
"noInputPromptMessages": [],
"outputDialogContexts": [],
"isList": false
}
],
"messages": [
{
"type": 0,
"lang": "en",
"speech": "Twitter is a free social networking microblogging service that allows registered members to broadcast short posts called tweets."
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": true,
"webhookForSlotFilling": true,
"fallbackIntent": false,
"events": []
}
Loading