Intent Classification #430
pythiantech
started this conversation in
General
Replies: 1 comment 1 reply
-
https://jxnl.github.io/instructor/examples/batch_classification/ |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@jxnl Firstly thank you so much for building something as cool as this!
I work in the maritime domain and was wondering if something like this is even possible:
Based on what a user writes, I want to be able to extract his intention and use that as an input parameter for an API call. For the sake of simplicity, let us assume that there are certain
activity types
that the API responds to. As an example, these could be:Now if a user writes something like,
Show me all vessels that sailed below 3 knots in the Arabian Sea
, I want to classify the intent asSLOW_SPEED
. Similarly, a user input likeHow many tankers were anchored in the port waiting area in the past one week
would translate toANCHORING
as the activity.Is this something that can be achieved using pydantic and instructor?
Beta Was this translation helpful? Give feedback.
All reactions