Skip to content
Snippets Groups Projects
Select Git revision
  • ffdae063af1a3eae5555363567a2d7a28aa1a454
  • develop default protected
  • master protected
  • rodin2
  • rodin3
  • feature/theory_plugin
  • feature/multiview
  • csp
  • feature/newcore
  • feature/csp
  • 3.0.11
  • 3.0.8
  • 3.0.5
  • 2.4.1
  • 2.3.3
  • 2.3.2
  • 2.3.1
  • 2.3.0_fix1
  • 2.3.0
19 results

de.bmotionstudio.gef.editor

  • Open with
  • Download source code
  • Download directory
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..
    convlab2/dialcrowd_server/AgentFactory.py
    convlab2/dialcrowd_server/DialcrowdTaskGen.py
    convlab2/dialcrowd_server/DialogueServer.py
    convlab2/dialcrowd_server/Goal.py
    convlab2/dialcrowd_server/README
    convlab2/dialcrowd_server/SubjectiveFeedbackManager.py
    convlab2/dialcrowd_server/__init__.py
    convlab2/dialcrowd_server/awac_agent_bc.py
    convlab2/dialcrowd_server/awac_agent_gamma.py
    convlab2/dialcrowd_server/awac_agent_static.py
    convlab2/dialcrowd_server/ddpt_agent.py
    convlab2/dialcrowd_server/dialogueServer.cfg
    convlab2/dialcrowd_server/dialogueServer_DDPT.cfg
    convlab2/dialcrowd_server/dialogueServer_MLP.cfg
    convlab2/dialcrowd_server/dialogueServer_MLP_En.cfg
    convlab2/dialcrowd_server/dialogueServer_Sem.cfg
    convlab2/dialcrowd_server/dialogueServer_awac_bc.cfg
    convlab2/dialcrowd_server/dialogueServer_awac_gamma.cfg
    convlab2/dialcrowd_server/dialogueServer_awac_static.cfg
    convlab2/dialcrowd_server/dialogueServer_gentus_ppo.cfg
    convlab2/dialcrowd_server/dialogueServer_lava.cfg
    convlab2/dialcrowd_server/dialogueServer_mel.cfg
    convlab2/dialcrowd_server/dialogueServer_ppo.cfg
    convlab2/dialcrowd_server/dialogueServer_ppo_rnn.cfg
    convlab2/dialcrowd_server/dialogueServer_ppo_transformer.cfg
    convlab2/dialcrowd_server/dialogueServer_rule.cfg
    convlab2/dialcrowd_server/dialogueServer_rule_ppo.cfg
    convlab2/dialcrowd_server/dialogueServer_rule_template_ppo.cfg
    convlab2/dialcrowd_server/dialogueServer_setsumbt_lava.cfg
    convlab2/dialcrowd_server/dialogueServer_setsumbt_ppo_entropy_ln.cfg
    convlab2/dialcrowd_server/dialogueServer_tus_ppo.cfg
    convlab2/dialcrowd_server/dialogueServer_vtrace_rnn_continual.cfg
    convlab2/dialcrowd_server/gentus_ppo_agent.py
    convlab2/dialcrowd_server/lava_agent.py
    convlab2/dialcrowd_server/mel_agent.py
    convlab2/dialcrowd_server/mle_agent.py
    convlab2/dialcrowd_server/mlpEn_agent.py
    convlab2/dialcrowd_server/mlp_agent.py
    convlab2/dialcrowd_server/ppo_agent.py
    convlab2/dialcrowd_server/ppo_agent_with_transformer.py
    convlab2/dialcrowd_server/ppo_rnn_agent_continual.py
    convlab2/dialcrowd_server/rule_agent.py
    convlab2/dialcrowd_server/rule_ppo_agent.py
    convlab2/dialcrowd_server/rule_template_agent.py
    convlab2/dialcrowd_server/sem_agent.py
    convlab2/dialcrowd_server/setsumbt_lava_agent.py
    convlab2/dialcrowd_server/setsumbt_ppo_entropy_label_agent.py
    convlab2/dialcrowd_server/task.out
    convlab2/dialcrowd_server/tus_ppo_agent.py
    convlab2/dialcrowd_server/vtrace_rnn_agent_continual.py
    How to set up a convlab-2 server.
    
    ## 1 Implement your own dialogue agent like agent.py.
    
    ## 2 Create your new config or edit your agent path in dialogueServer.cfg.
    
    ## 3 Deploy your server
        python DialogueServer.py --config dialogueServer_rule.cfg
    
    Depending on your setting, logs are printed to console or stored in ./DialogueServer_LOG/
    
    ## 4 to test the server, you can send request using curl or Postman
    
    With Postman
    1) Create Request
    2) In the create request dialogue box, 
        
    a. to start the session
        POST <external_ip>:<port>/init
        body {"sessionID": <some digits>, "userID": "userID", "text":""}
        You will see the dialogue response on the Response box
    
    b. to continue the dialogue
        POST <external_ip>:<port>/next
        body {"sessionID": <some digits>, "userID": "userID", "text":"Hello can you help me find ... "}
       
    c. to end the dialogue
        POST <external_ip>:<port>/next
        body {"sessionID": <some digits>, "userID": "userID", "text":"bye."}
       
    etc.
    
    ## 5 to connect to dialcrowd, use the dialcrowd GUI
    
    1) Add system using the external IP and port number
    
    2) Create task, add the above system into the task