File size: 2,098 Bytes
56856ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  "state": "Summarize a supplied earnings-call transcript, add current company news, and store the final brief. Constraints: total_budget_usd=0.150000; preferred_network=mixed; verified_only=yes; human_approval=not-allowed.",
  "questions": {
    "need_acquire": {
      "type": "noul",
      "instructions": "Need a service to obtain raw source material? False if the caller supplies it or its URL."
    },
    "need_enrich": {
      "type": "noul",
      "instructions": "Does the request need outside web, market, chain, or reference data?"
    },
    "pick_enrich": {
      "type": "choice",
      "instructions": "Choose by capability, then I/O, constraints, and price.",
      "criteria": {
        "company_news_1": "cap=company news data; in=json; out=json; price=0.010000",
        "weather_1": "cap=weather forecast; in=json; out=json; price=0.005000"
      }
    },
    "need_analyze": {
      "type": "noul",
      "instructions": "Does the request need analysis, judgment, summary, rating, comparison, or written output?"
    },
    "pick_analyze": {
      "type": "choice",
      "instructions": "Choose by capability, then I/O, constraints, and price.",
      "criteria": {
        "summarizer_1": "cap=text summarization; in=text; out=json; price=0.030000",
        "translator_1": "cap=language translation; in=text; out=json; price=0.020000"
      }
    },
    "need_deliver": {
      "type": "noul",
      "instructions": "Must the result be sent, published, or stored outside this system?"
    },
    "pick_deliver": {
      "type": "choice",
      "instructions": "Choose by capability, then I/O, constraints, and price.",
      "criteria": {
        "storage_1": "cap=object storage; in=text; out=json; price=0.010000",
        "email_1": "cap=email delivery; in=json; out=json; price=0.001000"
      }
    },
    "needs_clarification": {
      "type": "noul",
      "instructions": "Is an essential capability or outcome missing?"
    },
    "has_valid_flow": {
      "type": "noul",
      "instructions": "Does every required stage have a matching candidate?"
    }
  }
}