‹ BackHN Continuity

Thread

Introducing System One Models and Jev

1989 points · 520 comments · albelfio

  1. maltalex · · focus · HN ↗
    This is a very promising idea - a model that takes arbitrary text input (which can be a complex json), plus a set of questions (yes/no, multiple-choice, or score) and quickly (milliseconds) and cheaply ($0.042/MTok) answers those questions.

    Unfortunately, none of this is explained in the announcement, but the documentation [0] is pretty good.

    [0]: <a href="https:&#x2F;&#x2F;docs.typesafe.ai&#x2F;concepts&#x2F;how-to-build-with-system-one" rel="nofollow">https:&#x2F;&#x2F;docs.typesafe.ai&#x2F;concepts&#x2F;how-to-build-with-system-o...

    1. 18al · · focus · HN ↗
      API example[0] makes it clear how it&#x27;d be used:

        from typesafe_sdk import Choice, Noul, Score, TypeSafeClient
        
        with TypeSafeClient() as client:
            response = client.system_one(
                state={&quot;document&quot;: &quot;I was charged twice. Please fix this ASAP.&quot;},
                questions={
                    &quot;billing&quot;: Noul(instructions=&quot;Is this ticket about billing?&quot;),
                    &quot;tone&quot;: Choice(
                        instructions=&quot;What is the customer&#x27;s tone?&quot;,
                        criteria={&quot;calm&quot;: None, &quot;frustrated&quot;: None, &quot;angry&quot;: None},
                    ),
                    &quot;urgency&quot;: Score(
                        instructions=&quot;How urgent is this ticket?&quot;,
                        criteria=[&quot;can wait&quot;, &quot;this week&quot;, &quot;today&quot;],
                    ),
                },
            )
        
        print(response.nouls[&quot;billing&quot;].noul)
        print(response.choices[&quot;tone&quot;].choice)
        print(response.scores[&quot;urgency&quot;].score)
      
      [0]: <a href="https:&#x2F;&#x2F;docs.typesafe.ai&#x2F;sdk&#x2F;python" rel="nofollow">https:&#x2F;&#x2F;docs.typesafe.ai&#x2F;sdk&#x2F;python
      1. lostmsu · · focus · HN ↗

        [dead]

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.