-
Notifications
You must be signed in to change notification settings - Fork 2
Contribution
Sharan Babu edited this page Jul 13, 2021
·
6 revisions
Guidelines to Contribute:
- Feel free to contribute to any part of this repository right from the code that forms the library to documentation or Github Actions.
- The major contribution you can make to the repository is adding new intents with corresponding utterances so that the scope of the queries that the library can tackle increases. In other words, you would be helping
easygitbe able to solve more kinds of git related queries 😄 .- What are intents?
A) Intents are what let us understand what the user wants. In other words, they help us infer user needs. - What are utterances?
A) Utterances are simply the text or input which the user may use to interact with the bot, or library, in our case. - To know more about intents, utterances and how to create a chatbot using Wit AI, read this.
- What are intents?
- To do this, head over to the
new_intents.txtfile in theeasygitdirectory. Here, you can see the format to be followed in the first 6 lines. 2 examples have been filled for you. - Let us dig deeper. In the first example in this file, you can see the following:
##
Intent name and response: git_clone=git clone <repo_url>.
How to clone my repo?
How to get the repo on my local machine?
What is the syntax/command for cloning a repository in git?
- Here, the intent name is
git_cloneand the response to be returned by the library isgit clone <repo_url>. - The following 3 lines are the possible user utterances for the
git cloneintent. - By following the same
intent,responsetemplate, you can add more intents and send us a pull request 💪 . - The maintainers would review your pull request and merge it if all changes look good 💻.
easygit by Sharan Babu and Silvoj Rajesh