1616 DEFAULT_RUN_POLL_TIMEOUT ,
1717 Requirement ,
1818 Budget ,
19+ OutputOptions ,
1920)
2021from ai21 .types import NotGiven , NOT_GIVEN
2122
@@ -31,6 +32,7 @@ def create(
3132 context : Dict [str , Any ] | NotGiven = NOT_GIVEN ,
3233 requirements : List [Requirement ] | NotGiven = NOT_GIVEN ,
3334 budget : Budget | NotGiven = NOT_GIVEN ,
35+ include : List [OutputOptions ] | NotGiven = NOT_GIVEN ,
3436 ** kwargs ,
3537 ) -> RunResponse :
3638 body = self ._create_body (
@@ -41,6 +43,7 @@ def create(
4143 context = context ,
4244 requirements = requirements ,
4345 budget = budget ,
46+ include = include ,
4447 ** kwargs ,
4548 )
4649
@@ -76,6 +79,7 @@ def create_and_poll(
7679 context : Dict [str , Any ] | NotGiven = NOT_GIVEN ,
7780 requirements : List [Requirement ] | NotGiven = NOT_GIVEN ,
7881 budget : Budget | NotGiven = NOT_GIVEN ,
82+ include : List [OutputOptions ] | NotGiven = NOT_GIVEN ,
7983 poll_interval_sec : float = DEFAULT_RUN_POLL_INTERVAL ,
8084 poll_timeout_sec : float = DEFAULT_RUN_POLL_TIMEOUT ,
8185 ** kwargs ,
@@ -88,6 +92,7 @@ def create_and_poll(
8892 context = context ,
8993 requirements = requirements ,
9094 budget = budget ,
95+ include = include ,
9196 ** kwargs ,
9297 )
9398
@@ -105,6 +110,7 @@ async def create(
105110 context : Dict [str , Any ] | NotGiven = NOT_GIVEN ,
106111 requirements : List [Requirement ] | NotGiven = NOT_GIVEN ,
107112 budget : Budget | NotGiven = NOT_GIVEN ,
113+ include : List [OutputOptions ] | NotGiven = NOT_GIVEN ,
108114 ** kwargs ,
109115 ) -> RunResponse :
110116 body = self ._create_body (
@@ -115,6 +121,7 @@ async def create(
115121 context = context ,
116122 requirements = requirements ,
117123 budget = budget ,
124+ include = include ,
118125 ** kwargs ,
119126 )
120127
@@ -150,6 +157,7 @@ async def create_and_poll(
150157 context : Dict [str , Any ] | NotGiven = NOT_GIVEN ,
151158 requirements : List [Requirement ] | NotGiven = NOT_GIVEN ,
152159 budget : Budget | NotGiven = NOT_GIVEN ,
160+ include : List [OutputOptions ] | NotGiven = NOT_GIVEN ,
153161 poll_interval_sec : float = DEFAULT_RUN_POLL_INTERVAL ,
154162 poll_timeout_sec : float = DEFAULT_RUN_POLL_TIMEOUT ,
155163 ** kwargs ,
@@ -162,6 +170,7 @@ async def create_and_poll(
162170 context = context ,
163171 requirements = requirements ,
164172 budget = budget ,
173+ include = include ,
165174 ** kwargs ,
166175 )
167176
0 commit comments