2121from ...types .extractions import qa_create_params
2222from ...types .extractions .answer_extraction_response import AnswerExtractionResponse
2323
24- __all__ = ["QaResource " , "AsyncQaResource " ]
24+ __all__ = ["QAResource " , "AsyncQAResource " ]
2525
2626
27- class QaResource (SyncAPIResource ):
27+ class QAResource (SyncAPIResource ):
2828 @cached_property
29- def with_raw_response (self ) -> QaResourceWithRawResponse :
29+ def with_raw_response (self ) -> QAResourceWithRawResponse :
3030 """
3131 This property can be used as a prefix for any HTTP method call to return
3232 the raw response object instead of the parsed content.
3333
3434 For more information, see https://www.github.com/isaacus-dev/isaacus-python#accessing-raw-response-data-eg-headers
3535 """
36- return QaResourceWithRawResponse (self )
36+ return QAResourceWithRawResponse (self )
3737
3838 @cached_property
39- def with_streaming_response (self ) -> QaResourceWithStreamingResponse :
39+ def with_streaming_response (self ) -> QAResourceWithStreamingResponse :
4040 """
4141 An alternative to `.with_raw_response` that doesn't eagerly read the response body.
4242
4343 For more information, see https://www.github.com/isaacus-dev/isaacus-python#with_streaming_response
4444 """
45- return QaResourceWithStreamingResponse (self )
45+ return QAResourceWithStreamingResponse (self )
4646
4747 def create (
4848 self ,
@@ -115,7 +115,7 @@ def create(
115115 "top_k" : top_k ,
116116 "chunking_options" : chunking_options ,
117117 },
118- qa_create_params .QaCreateParams ,
118+ qa_create_params .QACreateParams ,
119119 ),
120120 options = make_request_options (
121121 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
@@ -124,25 +124,25 @@ def create(
124124 )
125125
126126
127- class AsyncQaResource (AsyncAPIResource ):
127+ class AsyncQAResource (AsyncAPIResource ):
128128 @cached_property
129- def with_raw_response (self ) -> AsyncQaResourceWithRawResponse :
129+ def with_raw_response (self ) -> AsyncQAResourceWithRawResponse :
130130 """
131131 This property can be used as a prefix for any HTTP method call to return
132132 the raw response object instead of the parsed content.
133133
134134 For more information, see https://www.github.com/isaacus-dev/isaacus-python#accessing-raw-response-data-eg-headers
135135 """
136- return AsyncQaResourceWithRawResponse (self )
136+ return AsyncQAResourceWithRawResponse (self )
137137
138138 @cached_property
139- def with_streaming_response (self ) -> AsyncQaResourceWithStreamingResponse :
139+ def with_streaming_response (self ) -> AsyncQAResourceWithStreamingResponse :
140140 """
141141 An alternative to `.with_raw_response` that doesn't eagerly read the response body.
142142
143143 For more information, see https://www.github.com/isaacus-dev/isaacus-python#with_streaming_response
144144 """
145- return AsyncQaResourceWithStreamingResponse (self )
145+ return AsyncQAResourceWithStreamingResponse (self )
146146
147147 async def create (
148148 self ,
@@ -215,7 +215,7 @@ async def create(
215215 "top_k" : top_k ,
216216 "chunking_options" : chunking_options ,
217217 },
218- qa_create_params .QaCreateParams ,
218+ qa_create_params .QACreateParams ,
219219 ),
220220 options = make_request_options (
221221 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
@@ -224,35 +224,35 @@ async def create(
224224 )
225225
226226
227- class QaResourceWithRawResponse :
228- def __init__ (self , qa : QaResource ) -> None :
227+ class QAResourceWithRawResponse :
228+ def __init__ (self , qa : QAResource ) -> None :
229229 self ._qa = qa
230230
231231 self .create = to_raw_response_wrapper (
232232 qa .create ,
233233 )
234234
235235
236- class AsyncQaResourceWithRawResponse :
237- def __init__ (self , qa : AsyncQaResource ) -> None :
236+ class AsyncQAResourceWithRawResponse :
237+ def __init__ (self , qa : AsyncQAResource ) -> None :
238238 self ._qa = qa
239239
240240 self .create = async_to_raw_response_wrapper (
241241 qa .create ,
242242 )
243243
244244
245- class QaResourceWithStreamingResponse :
246- def __init__ (self , qa : QaResource ) -> None :
245+ class QAResourceWithStreamingResponse :
246+ def __init__ (self , qa : QAResource ) -> None :
247247 self ._qa = qa
248248
249249 self .create = to_streamed_response_wrapper (
250250 qa .create ,
251251 )
252252
253253
254- class AsyncQaResourceWithStreamingResponse :
255- def __init__ (self , qa : AsyncQaResource ) -> None :
254+ class AsyncQAResourceWithStreamingResponse :
255+ def __init__ (self , qa : AsyncQAResource ) -> None :
256256 self ._qa = qa
257257
258258 self .create = async_to_streamed_response_wrapper (
0 commit comments