|
37 | 37 | class EvaluationAssertionsResource(SyncAPIResource):
|
38 | 38 | @cached_property
|
39 | 39 | def with_raw_response(self) -> EvaluationAssertionsResourceWithRawResponse:
|
| 40 | + """ |
| 41 | + This property can be used as a prefix for any HTTP method call to return the |
| 42 | + the raw response object instead of the parsed content. |
| 43 | +
|
| 44 | + For more information, see https://www.github.com/prompt-foundry/python-sdk#accessing-raw-response-data-eg-headers |
| 45 | + """ |
40 | 46 | return EvaluationAssertionsResourceWithRawResponse(self)
|
41 | 47 |
|
42 | 48 | @cached_property
|
43 | 49 | def with_streaming_response(self) -> EvaluationAssertionsResourceWithStreamingResponse:
|
| 50 | + """ |
| 51 | + An alternative to `.with_raw_response` that doesn't eagerly read the response body. |
| 52 | +
|
| 53 | + For more information, see https://www.github.com/prompt-foundry/python-sdk#with_streaming_response |
| 54 | + """ |
44 | 55 | return EvaluationAssertionsResourceWithStreamingResponse(self)
|
45 | 56 |
|
46 | 57 | @overload
|
@@ -914,10 +925,21 @@ def get(
|
914 | 925 | class AsyncEvaluationAssertionsResource(AsyncAPIResource):
|
915 | 926 | @cached_property
|
916 | 927 | def with_raw_response(self) -> AsyncEvaluationAssertionsResourceWithRawResponse:
|
| 928 | + """ |
| 929 | + This property can be used as a prefix for any HTTP method call to return the |
| 930 | + the raw response object instead of the parsed content. |
| 931 | +
|
| 932 | + For more information, see https://www.github.com/prompt-foundry/python-sdk#accessing-raw-response-data-eg-headers |
| 933 | + """ |
917 | 934 | return AsyncEvaluationAssertionsResourceWithRawResponse(self)
|
918 | 935 |
|
919 | 936 | @cached_property
|
920 | 937 | def with_streaming_response(self) -> AsyncEvaluationAssertionsResourceWithStreamingResponse:
|
| 938 | + """ |
| 939 | + An alternative to `.with_raw_response` that doesn't eagerly read the response body. |
| 940 | +
|
| 941 | + For more information, see https://www.github.com/prompt-foundry/python-sdk#with_streaming_response |
| 942 | + """ |
921 | 943 | return AsyncEvaluationAssertionsResourceWithStreamingResponse(self)
|
922 | 944 |
|
923 | 945 | @overload
|
|
0 commit comments