Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nabinno/b49de2561816b1656e0c0f218a5e429b to your computer and use it in GitHub Desktop.
Save nabinno/b49de2561816b1656e0c0f218a5e429b to your computer and use it in GitHub Desktop.
item content
Commentary
調査の精度向上, 調査の工数削減

ユーザー・エージェントパターン

  • ユーザー: エージェントに調査情報・回答をわたす、並行処理可能
  • エージェント: 質問・回答のセットを管理、ユーザーから調査情報・回答を取得ごとに推論サービスを実行
  • 推論サービス: 質問生成のために推論情報を管理

@startuml
skinparam monochrome true
skinparam backgroundColor #EEEEFF

actor "ユーザ2" as U2
actor "ユーザ1" as U1
actor "エージェント" as A
participant "推論サービス" as D

activate U1
U1 -> A: 調査情報入力 (input)
deactivate U1

activate A
A <-> D: 推論 (reason)
activate D

A -> U1: 質問 (query)
activate U1
U1 -> A: 回答 (answer)
deactivate U1

A <-> D: 推論

A -> U1: 質問
activate U1
A -> U2: 質問
activate U2
U1 -> A: 回答
deactivate U1
U2 -> A: 回答
deactivate U2

A <-> D: 推論
A -> U1: 調査結果出力 (output)
deactivate D
deactivate A

activate U1

@enduml

参考

e-QRAQ: A Multi-turn Reasoning Dataset and Simulator with Explanations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment