Systems and methods for restricting network interactions according to language model output
Described herein are systems and methods for generating restrictions for network interactions according to language model output. A system can receive a prompt from a client device associated with a player profile and, using a language model, generate an output message indicating values for creation of a wager opportunity. Based on the values, the system can generate the wager opportunity comprising a set of wager attributes. The system can determine that the wager opportunity fails to satisfy at least one restriction for generated wager opportunities. Using the language model and the wager attributes, the system can generate a second output message indicating the failure to satisfy the restriction and provide the second output message to the client device in response to the prompt.
1 . A system, comprising:
one or more processors coupled to non-transitory memory, the one or more processors configured to:
receive a prompt for a communication session from a client device associated with a first player profile of a plurality of player profiles;
maintain a data structure storing a plurality of restrictions associated with the first player profile;
maintain, for a plurality of live events, event data usable to determine odds values for wager opportunities associated with the plurality of live events;
generate, using a language model and the prompt, an output message indicating a set of values for generation of a wager opportunity, the set of values identifying at least one of an athlete or a team;
generate, using the set of values and the event data, the wager opportunity corresponding to the set of values, the wager opportunity comprising a set of wager attributes;
identify, from the plurality of restrictions associated with the first player profile, at least one restriction applicable to the wager opportunity based on the set of wager attributes;
determine, based on the set of wager attributes, that the wager opportunity fails to satisfy at least one restriction of the plurality of restrictions for generated wager opportunities;
generate, by providing to the language model, an input context comprising the set of wager attributes and an indication of the at least one restriction that the wager opportunity does not satisfy, a second output message indicating the wager opportunity fails to satisfy the at least one restriction and describing the at least one restriction in relation to the wager attributes; and
provide the second output message to the client device in response to the prompt.
2 . The system of claim 1 , wherein the wager opportunity comprises a parlay wager opportunity.
3 . The system of claim 2 , wherein the one or more processors are further configured to:
receive an indication of at least two legs for the parlay wager opportunity in the prompt; and
generate the output message to include a data structure identifying data for each of the at least two legs for the parlay wager opportunity.
4 . The system of claim 2 , wherein the one or more processors are further configured to:
determine an odds value for the parlay wager opportunity based on respective odds values of each leg of the parlay wager opportunity; and
determine that the wager opportunity fails to satisfy the at least one restriction based on the odds value exceeding a threshold of the at least one restriction.
5 . The system of claim 1 , wherein the one or more processors are further configured to:
identify the at least one restriction from the first player profile.
6 . The system of claim 1 , wherein the set of wager attributes of the wager opportunity corresponds to a first wager type, and wherein the one or more processors are further configured to:
select the at least one restriction from a plurality of restrictions based on the first wager type.
7 . The system of claim 1 , wherein the one or more processors are further configured to:
generate an input context for the language model using the set of wager attributes of the wager opportunity and the at least one restriction.
8 . The system of claim 1 , wherein the set of wager attributes comprise a time of the wager opportunity, an odds value of the wager opportunity, or a wager type of the wager opportunity.
9 . The system of claim 1 , wherein the at least one restriction comprises a restriction for a threshold number of wagers within a time period, wherein the one or more processors are further configured to:
determine, based on the first player profile, responsive to generating the wager opportunity, that the threshold number of wagers placed using the first player profile within the time period is exceeded; and
generate the second output message to include an indication that the threshold number of wagers within the time period is exceeded.
10 . The system of claim 9 , wherein the one or more processors are further configured to:
provide the second output message to the client device responsive to determining that the threshold number of wagers placed using the first player profile within the time period is exceeded.
11 . A method, comprising:
receiving, by one or more processors coupled to non-transitory memory, a prompt for a communication session from a client device associated with a first player profile of a plurality of player profiles;
maintaining, by the one or more processors, a data structure storing a plurality of restrictions associated with the first player profile;
maintaining, by the one or more processors, for a plurality of live events, event data usable to determine odds values for wager opportunities associated with the plurality of live events;
generating, by the one or more processors, using a language model and the prompt, an output message indicating a set of values for generation of a wager opportunity, the set of values identifying at least one of an athlete or a team;
generating, by the one or more processors, using the set of values and the event data, the wager opportunity corresponding to the set of values, the wager opportunity comprising a set of wager attributes
identifying, by the one or more processors, from the plurality of restrictions associated with the first player profile, at least one restriction applicable to the wager opportunity based on the set of wager attributes;
determining, by the one or more processors, based on the set of wager attributes, that the wager opportunity fails to satisfy at least one restriction of the plurality of restrictions for generated wager opportunities;
generating, by the one or more processors, by providing to the language model, an input context comprising the set of wager attributes and an indication of the at least one restriction that the wager opportunity does not satisfy, a second output message indicating the wager opportunity fails to satisfy the at least one restriction and describing the at least one restriction in relation to the wager attributes; and
providing, by the one or more processors, the second output message to the client device in response to the prompt.
12 . The method of claim 11 , wherein the wager opportunity comprises a parlay wager opportunity.
13 . The method of claim 12 , further comprising:
receiving, by the one or more processors, an indication of at least two legs for the parlay wager opportunity in the prompt; and
generating, by the one or more processors, the output message to include a data structure identifying data for each of the at least two legs for the parlay wager opportunity.
14 . The method of claim 12 , further comprising:
determining, by the one or more processors, an odds value for the parlay wager opportunity based on respective odds values of each leg of the parlay wager opportunity; and
determining, by the one or more processors, that the wager opportunity fails to satisfy the at least one restriction based on the odds value exceeding a threshold of the at least one restriction.
15 . The method of claim 11 , further comprising:
identifying, by the one or more processors, the at least one restriction from the first player profile.
16 . The method of claim 11 , wherein the set of wager attributes of the wager opportunity corresponds to a first wager type, and further comprising:
selecting, by the one or more processors, the at least one restriction from a plurality of restrictions based on the first wager type.
17 . The method of claim 11 , further comprising:
generating, by the one or more processors, an input context for the language model using the set of wager attributes of the wager opportunity and the at least one restriction.
18 . The method of claim 11 , wherein the set of wager attributes comprise a time of the wager opportunity, an odds value of the wager opportunity, or a wager type of the wager opportunity.
19 . The method of claim 11 , wherein the at least one restriction comprises a restriction for a threshold number of wagers within a time period, further comprising:
determining, by the one or more processors, based on the first player profile, responsive to generating the wager opportunity, that the threshold number of wagers placed using the first player profile within the time period is exceeded; and
generating, by the one or more processors, the second output message to include an indication that the threshold number of wagers within the time period is exceeded.
20 . The method of claim 19 , further comprising:
providing, by the one or more processors, the second output message to the client device responsive to determining that the threshold number of wagers placed using the first player profile within the time period is exceeded.