Skip to content

Commit a5048e4

Browse files
add initial sample agent use case
1 parent 0a37194 commit a5048e4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

genaisrc/agentz3.genai.ts

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
script({
2+
tools: ["agent_z3"],
3+
})
4+
5+
$`Solve the following problems using Z3:
6+
7+
Twenty golfers wish to play in foursomes for 5 days. Is it possible for each golfer to play no more
8+
than once with any other golfer?
9+
10+
Use SMTLIB2 to formulate the problem as a quantifier free formula over linear integer arithmetic,
11+
also known as QF_LIA. The formula should produce an assignemnt to the twenty golfers for the 5 days of foursomes. The SMTLIB2 formula must not contain forall or exists.
12+
`

0 commit comments

Comments
 (0)