Skip to content
TheChatArchiveThe Chat Archive
Metacodellama-34b-instruct· MetaHugging Face Arena Human Preference 55K

version: "3.0" rules: - rule: activate weather form steps: - intent: weather - action:…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with gpt-4-1106-preview’s answer.
  1. User

    version: "3.0" rules:

    • rule: activate weather form steps:
      • intent: weather
      • action: weather_form
      • active_loop: weather_form
    • rule: Submit form condition:

      Condition that form is active.

      • active_loop: weather_form steps:
      • action: weather_form
      • active_loop: null
      • slot_was_set:
        • requested_slot: null

      The action we want to run when the form is submitted.

      • action: action_weather_form_submit 上面的我没看懂,为什么要写成两个rule?为什么 condition:

      Condition that form is active.

      • active_loop: weather_form steps:
      • action: weather_form 上面的condition已经表明在active_loop中了,为什么steps后面上来还是weather_form?
  2. Meta Assistant

    I apologize for any confusion caused by the previous response. The two rules are not necessary and can be combined into one rule.

    Here's an updated version of the rule:

    • rule: Submit form condition:
      • active_loop: weather_form steps:
      • action: weather_form
      • active_loop: null
      • slot_was_set:
        • requested_slot: null
      • action: action_weather_form_submit

    This rule will activate the weather form and submit it when the user provides all the required information. The active_loop condition ensures that the form is active, and the slot_was_set condition checks if all the required slots have been filled. If both conditions are met, the action_weather_form_submit action will be executed.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.