kit

Generated

Built revision v17.10.0

Phoenix
Topics

Human support

Bring a missing role, layout, or state, or a rendering against the standard, to the session working on kit. Name the package and the entry.

Generated

A reply, with its sources

Suggested

Written by the booking assistant from this enquiry and the hire rules.

It can be wrong. Check it before you send it.

Before you arrive

Ask @Aisha Khan to confirm the address for B-1042 Garden room before .
Read the hire terms first, then use 4721 at the gate.

  • Bring your own chairs.

  • Leave the hall by ten.

  1. Ring the bell by the side gate.

  2. Wait for the caretaker.

  • Done

    Deposit paid

  • Not done

    Key returned

The side door sticks in the cold.

Gate: 4721
Alarm: 0990

Floor plan: garden-room-plan.pdf

A reply while its actions wait

Suggested

Wait for the reply to save to see how it was made.

Written by the booking assistant from this enquiry and the hire rules.

It can be wrong. Check it before you send it.

Hello Aisha,

The Garden room is free on the evenings you rehearse that week. I have held it for the choir until Friday.

Oakmere Village Hall

Wait for the reply to save before copying.

Wait for the reply to save before trying again.

Wait for the reply to save before using it.

A summary, with no sources

Summary

Written by the booking assistant from the messages in this conversation.

It can be wrong. Check it against the messages.

The choir asks to move its rehearsals to the Garden room while the hall floor is sealed. The Garden room is free those evenings.

A field a model filled

Suggested

Chosen by the booking assistant from the rooms free that week.

It can be wrong. Check the room before you save.

Garden room
A model’s turn
Booking assistant

Summary

Written by the booking assistant from the messages in this conversation.

It can be wrong. Check it against the messages.

The choir asks to move its rehearsals to the Garden room while the hall floor is sealed. The Garden room is free those evenings.

A fact a model wrote
Access notes

Suggested

Written by the booking assistant from the hirer’s messages.

It can be wrong. Check it with the hirer.

Use the side door. The key is under the blue planter.

An open expansion

Enquiry · 

Enquiry summary

Summary

Written by the booking assistant from this enquiry.

It can be wrong. Check it against the enquiry.

The school asks for the main hall on two Fridays for its spring concert.

Source
<details>
  <summary>A reply, with its sources</summary>
  <Kit.Phoenix.Roles.Generated.generated value={Kit.Phoenix.Roles.Generated.whole(
    %Kit.Phoenix.Roles.Generated.Mark{
      id: "role-generated-reply",
      word: "Suggested",
      made_by: "Written by the booking assistant from this enquiry and the hire rules.",
      made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
      sources: [%{name: "Aisha Khan’s enquiry", href: "#role-generated"}, %{name: "Hire rules", href: "#role-generated"}],
      caution: "It can be wrong. Check it before you send it."
    },
    %{},
    %{}
  )} text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [ {:heading, [{:text, "Before you arrive", []}]}, {:paragraph, [{:text, "Ask ", []}, {:mention, %Kit.Phoenix.AuthoredText.Mention{kind: :person, id: "aisha-khan", label: "Aisha Khan"}}, {:text, " to confirm ", []}, {:text, "the address", [:bold]}, {:text, " for ", []}, {:mention, %Kit.Phoenix.AuthoredText.Mention{kind: :subject, id: "b-1042", label: "B-1042 Garden room"}}, {:text, " before ", []}, {:date, ~D[2025-03-14]}, {:text, ".", []}, :hard_break, {:text, "Read the ", []}, {:text, "hire terms", [{:link, "https://example.com/hire-terms"}]}, {:text, " first, ", []}, {:text, "then", [:italic]}, {:text, " use ", []}, {:text, "4721", [:code]}, {:text, " at the gate.", []}]}, {:bullet_list, [[{:paragraph, [{:text, "Bring your own chairs.", []}]}], [{:paragraph, [{:text, "Leave the hall by ten.", []}]}]]}, {:ordered_list, [[{:paragraph, [{:text, "Ring the bell by the side gate.", []}]}], [{:paragraph, [{:text, "Wait for the caretaker.", []}]}]]}, {:task_list, [{true, [{:paragraph, [{:text, "Deposit paid", []}]}]}, {false, [{:paragraph, [{:text, "Key returned", []}]}]}]}, {:blockquote, [{:paragraph, [{:text, "The side door sticks in the cold.", []}]}]}, {:code_block, "Gate: 4721\nAlarm: 0990"}, {:paragraph, [{:text, "Floor plan: ", []}, {:file, %Kit.Phoenix.AuthoredText.File{id: "floor-plan", name: "garden-room-plan.pdf"}}]} ]}, reader: reader(), mention_link: fn :person, _id -> "#role-generated"; :subject, _id -> nil end, file_link: fn _id -> "#role-generated" end}} />
</details>
<details>
  <summary>A reply while its actions wait</summary>
  <Kit.Phoenix.Roles.Generated.generated value={Kit.Phoenix.Roles.Generated.whole(
    %Kit.Phoenix.Roles.Generated.Mark{
      id: "role-generated-waiting",
      word: "Suggested",
      made_by: "Written by the booking assistant from this enquiry and the hire rules.",
      made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
      sources: [%{name: "Aisha Khan’s enquiry", href: "#role-generated"}, %{name: "Hire rules", href: "#role-generated"}],
      caution: "It can be wrong. Check it before you send it.",
      state: Kit.Phoenix.ActionState.inert("role-generated-waiting-how", "Wait for the reply to save to see how it was made.")
    },
    %{},
    %{},
    Kit.Phoenix.ActionState.inert("role-generated-waiting-copy", "Wait for the reply to save before copying."),
    Kit.Phoenix.ActionState.inert("role-generated-waiting-retry", "Wait for the reply to save before trying again."),
    Kit.Phoenix.ActionState.inert("role-generated-waiting-use", "Wait for the reply to save before using it.")
  )} text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "Hello Aisha,", []}]}, {:paragraph, [{:text, "The Garden room is free on the evenings you rehearse that week. I have held it for the choir until Friday.", []}]}, {:paragraph, [{:text, "Oakmere Village Hall", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} />
</details>
<details>
  <summary>A summary, with no sources</summary>
  <Kit.Phoenix.Roles.Generated.generated value={Kit.Phoenix.Roles.Generated.whole(
    %Kit.Phoenix.Roles.Generated.Mark{
      id: "role-generated-summary",
      word: "Summary",
      made_by: "Written by the booking assistant from the messages in this conversation.",
      made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 11:42:00Z]),
      sources: [],
      caution: "It can be wrong. Check it against the messages."
    },
    %{}
  )} text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "The choir asks to move its rehearsals to the Garden room while the hall floor is sealed. The Garden room is free those evenings.", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} />
</details>
<details>
  <summary>A field a model filled</summary>
  <Kit.Phoenix.Roles.FormGroup.form_group kind={Kit.Phoenix.Roles.FormGroup.Kind.text(:medium)} id="role-generated-room" control_rest={%{name: "room", value: "Garden room"}} generated={%Kit.Phoenix.Roles.Generated.Mark{
    id: "role-generated-field",
    word: "Suggested",
    made_by: "Chosen by the booking assistant from the rooms free that week.",
    made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
    sources: [],
    caution: "It can be wrong. Check the room before you save."
  }}><:printed_value>Garden room</:printed_value>
    <:label>Room</:label>
  </Kit.Phoenix.Roles.FormGroup.form_group>
</details>
<details>
  <summary>A model’s turn</summary>
  <Kit.Phoenix.Roles.MessageEntry.message_entry body={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "The choir asks to move its rehearsals to the Garden room while the hall floor is sealed. The Garden room is free those evenings.", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} time={Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 11:42:00Z])} generated={Kit.Phoenix.Roles.Generated.whole(
    %Kit.Phoenix.Roles.Generated.Mark{
      id: "role-generated-turn",
      word: "Summary",
      made_by: "Written by the booking assistant from the messages in this conversation.",
      made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 11:42:00Z]),
      sources: [],
      caution: "It can be wrong. Check it against the messages."
    },
    %{}
  )}>
    <:author>Booking assistant</:author>
  </Kit.Phoenix.Roles.MessageEntry.message_entry>
</details>
<details>
  <summary>A fact a model wrote</summary>
  <Kit.Phoenix.Roles.FactGroup.fact_group>
  <Kit.Phoenix.Roles.LabelledFact.labelled_fact>
    <:name>Access notes</:name>
    <:authored_text text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "Use the side door. The key is under the blue planter.", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} generated={Kit.Phoenix.Roles.Generated.whole(
      %Kit.Phoenix.Roles.Generated.Mark{
        id: "role-generated-fact",
        word: "Suggested",
        made_by: "Written by the booking assistant from the hirer’s messages.",
        made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
        sources: [],
        caution: "It can be wrong. Check it with the hirer."
      },
      %{}
    )} />
  </Kit.Phoenix.Roles.LabelledFact.labelled_fact>
  </Kit.Phoenix.Roles.FactGroup.fact_group>
</details>
<details>
  <summary>An open expansion</summary>
  <Kit.Phoenix.Roles.Row.row>
    <:subject href="#role-generated">Oakmere Primary School</:subject>
    <:facts>Enquiry ·&nbsp;<Kit.Phoenix.Roles.Time.time value={Kit.Phoenix.Time.day(reader(), ~D[2025-02-03])} /></:facts>
    <:expansion_summary>Enquiry summary</:expansion_summary>
    <:expansion expanded>
      <Kit.Phoenix.Roles.Generated.generated value={Kit.Phoenix.Roles.Generated.whole(
        %Kit.Phoenix.Roles.Generated.Mark{
          id: "role-generated-expansion",
          word: "Summary",
          made_by: "Written by the booking assistant from this enquiry.",
          made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
          sources: [],
          caution: "It can be wrong. Check it against the enquiry."
        },
        %{}
      )} text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "The school asks for the main hall on two Fridays for its spring concert.", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} />
    </:expansion>
  </Kit.Phoenix.Roles.Row.row>
</details>

Generated, streaming

Suggested

Written by the booking assistant from this enquiry and the hire rules.

It can be wrong. Check it before you send it.

Hello Aisha,

The Garden room is free on both evenings you asked about, and it seats up to forty. I can hold it for you

While the page loads, Stop and How this was made wait.

Suggested

Wait for the page to load to see how this was made.

Written by the booking assistant from this enquiry and the hire rules.

It can be wrong. Check it before you send it.

Hello Aisha,

The Garden room is free on both evenings you asked about, and it seats up to forty. I can hold it for you

Wait for the page to load before stopping the reply.

Source
<Kit.Phoenix.Roles.Generated.generated value={Kit.Phoenix.Roles.Generated.streaming(
  %Kit.Phoenix.Roles.Generated.Mark{
    id: "role-generated-streaming-reply",
    word: "Suggested",
    made_by: "Written by the booking assistant from this enquiry and the hire rules.",
    made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
    sources: [%{name: "Aisha Khan’s enquiry", href: "#role-generated-streaming"}, %{name: "Hire rules", href: "#role-generated-streaming"}],
    caution: "It can be wrong. Check it before you send it."
  },
  %{}
)} text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "Hello Aisha,", []}]}, {:paragraph, [{:text, "The Garden room is free on both evenings you asked about, and it seats up to forty. I can hold it for you", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} />
<p class="specimen-case-line">While the page loads, Stop and How this was made wait.</p>
<Kit.Phoenix.Roles.Generated.generated value={Kit.Phoenix.Roles.Generated.streaming(
  %Kit.Phoenix.Roles.Generated.Mark{
    id: "role-generated-streaming-waiting",
    word: "Suggested",
    made_by: "Written by the booking assistant from this enquiry and the hire rules.",
    made_at: Kit.Phoenix.Time.moment(reader(), ~U[2025-02-03 09:14:00Z]),
    sources: [%{name: "Aisha Khan’s enquiry", href: "#role-generated-streaming"}, %{name: "Hire rules", href: "#role-generated-streaming"}],
    caution: "It can be wrong. Check it before you send it.",
    state: Kit.Phoenix.ActionState.inert("role-generated-streaming-waiting-how", "Wait for the page to load to see how this was made.")
  },
  %{},
  Kit.Phoenix.ActionState.inert("role-generated-streaming-waiting-stop", "Wait for the page to load before stopping the reply.")
)} text={%Kit.Phoenix.AuthoredText.Shown{value: %Kit.Phoenix.AuthoredText{content: [{:paragraph, [{:text, "Hello Aisha,", []}]}, {:paragraph, [{:text, "The Garden room is free on both evenings you asked about, and it seats up to forty. I can hold it for you", []}]}]}, reader: reader(), mention_link: fn _kind, _id -> nil end, file_link: fn _id -> nil end}} />