Show HN: jev-bisect – Find answers with Jev via higher, lower, or
A Python library that uses Jev to find a numeric answer through repeated higher, lower, or exactly decisions. - mkly/jev-bisect
Summary not yet generated for this article.
Original Text
! pip install jev-bisect
! export TYPESAFE_API_KEY="your-typesafe-api-key"
------- from jev_bisect import bisect
result = bisect(
"How many slices in a pizza?",
min=0,
max=100,
)
print(result.answer)
print(result.turns)
------- $ 8
$ 5
Comments (0 of ) ⌛