The evaluation's full data as files (crewai eval export): `{"id", "kind", "files": {relative path: text}}`. TIMEOUT replaces the default, which allows the two minutes a large comparison may take.
(
self, evaluation_id: str, *, timeout: httpx.Timeout | None = None
)
| 117 | ) |
| 118 | |
| 119 | def export_evaluation( |
| 120 | self, evaluation_id: str, *, timeout: httpx.Timeout | None = None |
| 121 | ) -> httpx.Response: |
| 122 | """The evaluation's full data as files (crewai eval export): |
| 123 | `{"id", "kind", "files": {relative path: text}}`. TIMEOUT replaces the |
| 124 | default, which allows the two minutes a large comparison may take.""" |
| 125 | return self._make_request( |
| 126 | "GET", |
| 127 | f"{self.EVALUATIONS_RESOURCE}/{evaluation_id}/export", |
| 128 | timeout=timeout or self.EVALUATION_EXPORT_TIMEOUT, |
| 129 | ) |
| 130 | |
| 131 | def _make_multipart_request( |
| 132 | self, |
no test coverage detected