How can i get the intent_rankings in the response from http://localhost:5005/rest/webhooks api call

http://localhost:5005/webhooks/rest/webhook body: { “sender”:“456”, “message”:“hey?” }

response: [ { “recipient_id”: “456”, “custom”: { “blocks”: [ { “intent”: “greet”, “text”: “Hi there!”, “type”: “response” } ] } } ]

config.yml

Configuration for Rasa NLU.

Components

language: en pipeline:

  • name: “WhitespaceTokenizer”
  • name: “RegexFeaturizer”
  • name: “CRFEntityExtractor”
  • name: “EntitySynonymMapper”
  • name: “CountVectorsFeaturizer”
  • name: “CountVectorsFeaturizer” analyzer: “char_wb” min_ngram: 1 max_ngram: 4
  • name: “DIETClassifiers”

Configuration for Rasa Core.

Policies

policies:

  • name: MemoizationPolicy
  • name: KerasPolicy
  • name: MappingPolicy
  • name: FallbackPolicy nlu_threshold: 0.7 core_threshold: 0.5 fallback_action_name: “fallback_action”

i tried with Spacy, Embedding intent classifier also.

i want intent_ranking in the response. please help me as i am new to this.

Thanks.