Coder Social home page Coder Social logo

jrasa's People

Contributors

uncle-lv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jrasa's Issues

DomainTest中domain结构和官网不一致

源码中:{
"version": "3.1",
"session_config": {
"session_expiration_time": 60,
"carry_over_slots_to_new_session": true
},
"intents": [
{
"chitchat": {
"use_entities": ["address", "date"]
}
},
"deny",
"goodbye",
"greet"
],
"entities": ["address", "date"],
"slots": {
"address": {
"type": "text",
"influence_conversation": false,
"mappings": [{"entity": "address", "type": "from_entity"}]},
"date": {
"type": "text",
"influence_conversation": false,
"mappings": [{"entity": "date", "type": "from_entity"}]}
},
"responses": {
"utter_greet": [{"text": "您好"}],
"utter_goodbye": [{"text": "再见!"}],
"utter_default": [{"text": "我不明白您说的话"}],
"utter_chitchat/whoyouare": [{"text": "你好,我是Rasa,一个智能对话机器人。"}]
},
"actions": [
"utter_goodbye",
"utter_greet",
"utter_default",
"utter_chitchat"
],
"forms": {
"ask_form": {"required_slots": ["address", "date"], "ignored_intents": ["goodbye"]}
}
}

官网:
{
"next_action": "string",
"sender_id": "string",
"tracker": {
"conversation_id": "default",
"slots": [
{
"slot_name": "slot_value"
}
],
"latest_message": {
"entities": [
{
"start": 0,
"end": 0,
"value": "string",
"entity": "string",
"confidence": 0
}
],
"intent": {
"confidence": 0.6323,
"name": "greet"
},
"intent_ranking": [
{
"confidence": 0.6323,
"name": "greet"
}
],
"text": "Hello!"
},
"latest_event_time": 1537645578.314389,
"followup_action": "string",
"paused": false,
"events": [
{
"event": "user",
"timestamp": null,
"metadata": {
"arbitrary_metadata_key": "some string",
"more_metadata": 1
},
"text": "string",
"input_channel": "string",
"message_id": "string",
"parse_data": {
"entities": [
{
"start": 0,
"end": 0,
"value": "string",
"entity": "string",
"confidence": 0
}
],
"intent": {
"confidence": 0.6323,
"name": "greet"
},
"intent_ranking": [
{
"confidence": 0.6323,
"name": "greet"
}
],
"text": "Hello!"
}
}
],
"latest_input_channel": "rest",
"latest_action_name": "action_listen",
"latest_action": {
"action_name": "string",
"action_text": "string"
},
"active_loop": {
"name": "restaurant_form"
}
},
"domain": {
"config": {
"store_entities_as_slots": false
},
"intents": [
{
"property1": {
"use_entities": true
},
"property2": {
"use_entities": true
}
}
],
"entities": [
"person",
"location"
],
"slots": {
"property1": {
"auto_fill": true,
"initial_value": "string",
"type": "string",
"values": [
"string"
]
},
"property2": {
"auto_fill": true,
"initial_value": "string",
"type": "string",
"values": [
"string"
]
}
},
"responses": {
"property1": {
"text": "string"
},
"property2": {
"text": "string"
}
},
"actions": [
"action_greet",
"action_goodbye",
"action_listen"
]
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.