-
Notifications
You must be signed in to change notification settings - Fork 52
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
Intent classification with rasa-nlu #54
Open
gautamig54
wants to merge
4
commits into
scalability4all:master
Choose a base branch
from
gautamig54:intent_classification
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This files contains your custom actions which can be used to run | ||
# custom Python code. | ||
# | ||
# See this guide on how to implement these action: | ||
# https://rasa.com/docs/rasa/core/actions/#custom-actions/ | ||
|
||
|
||
# This is a simple example for a custom action which utters "Hello World!" | ||
|
||
# from typing import Any, Text, Dict, List | ||
# | ||
# from rasa_sdk import Action, Tracker | ||
# from rasa_sdk.executor import CollectingDispatcher | ||
# | ||
# | ||
# class ActionHelloWorld(Action): | ||
# | ||
# def name(self) -> Text: | ||
# return "action_hello_world" | ||
# | ||
# def run(self, dispatcher: CollectingDispatcher, | ||
# tracker: Tracker, | ||
# domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: | ||
# | ||
# dispatcher.utter_message(text="Hello World!") | ||
# | ||
# return [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Configuration for Rasa NLU. | ||
# https://rasa.com/docs/rasa/nlu/components/ | ||
language: en | ||
pipeline: | ||
- name: WhitespaceTokenizer | ||
- name: RegexFeaturizer | ||
- name: LexicalSyntacticFeaturizer | ||
- name: CountVectorsFeaturizer | ||
- name: CountVectorsFeaturizer | ||
analyzer: "char_wb" | ||
min_ngram: 1 | ||
max_ngram: 4 | ||
- name: DIETClassifier | ||
epochs: 100 | ||
- name: EntitySynonymMapper | ||
- name: ResponseSelector | ||
epochs: 100 | ||
|
||
# Configuration for Rasa Core. | ||
# https://rasa.com/docs/rasa/core/policies/ | ||
policies: | ||
- name: MemoizationPolicy | ||
- name: TEDPolicy | ||
max_history: 5 | ||
epochs: 100 | ||
- name: MappingPolicy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This file contains the credentials for the voice & chat platforms | ||
# which your bot is using. | ||
# https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/ | ||
|
||
rest: | ||
# # you don't need to provide anything here - this channel doesn't | ||
# # require any credentials | ||
|
||
|
||
#facebook: | ||
# verify: "<verify>" | ||
# secret: "<your secret>" | ||
# page-access-token: "<your page access token>" | ||
|
||
#slack: | ||
# slack_token: "<your slack token>" | ||
# slack_channel: "<the slack channel>" | ||
|
||
#socketio: | ||
# user_message_evt: <event name for user message> | ||
# bot_message_evt: <event name for but messages> | ||
# session_persistence: <true/false> | ||
|
||
#mattermost: | ||
# url: "https://<mattermost instance>/api/v4" | ||
# token: "<bot token>" | ||
# webhook_url: "<callback URL>" | ||
|
||
# This entry is needed if you are using Rasa X. The entry represents credentials | ||
# for the Rasa X "channel", i.e. Talk to your bot and Share with guest testers. | ||
rasa: | ||
url: "http://localhost:5002/api" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any use of this variable. Can we try replace intent with intent_rasa and check how better it is detecting. I would also like to see accuracy % in pr description.