GeezerVison is showing github.com — feat(api): api update · cleanlab/codex-python@7f283d7
File treeExpand file treeCollapse file tree Open diff view settings tests/api_resources/projects
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | configured_endpoints: 70 | 2 | | -openapi_spec_hash: 97ec07f3ab237f61ed0bbc359486cc0e | | 2 | +openapi_spec_hash: 11279400677011ad5dc1ebba33216ae4 | 3 | 3 | config_hash: aad16f20fed13ac50211fc1d0e2ea621 |
Collapse file Copy file name to clipboardExpand all lines: src/codex/resources/projects/query_logs.py -60Lines changed: 0 additions & 60 deletions Large diffs are not rendered by default. Collapse file Copy file name to clipboardExpand all lines: src/codex/types/project_retrieve_response.py +1-12Lines changed: 1 addition & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | 2 | 2 |
| 3 | | -from typing import Dict, List, Optional | | 3 | +from typing import Dict, Optional | 4 | 4 | from datetime import datetime | 5 | 5 | from typing_extensions import Literal | 6 | 6 |
| | 9 | 9 | __all__ = [ | 10 | 10 | "ProjectRetrieveResponse", | 11 | 11 | "Config", | 12 | | - "ConfigDeterministicEval", | 13 | 12 | "ConfigEvalConfig", | 14 | 13 | "ConfigEvalConfigCustomEvals", | 15 | 14 | "ConfigEvalConfigCustomEvalsEvals", | | 28 | 27 | ] | 29 | 28 |
| 30 | 29 |
| 31 | | -class ConfigDeterministicEval(BaseModel): | 32 | | - id: str | 33 | | - | 34 | | - name: str | 35 | | - | 36 | | - should_guardrail: bool | 37 | | - | 38 | | - | 39 | 30 | class ConfigEvalConfigCustomEvalsEvalsGuardrailedFallback(BaseModel): | 40 | 31 | message: str | 41 | 32 | """ | @@ -478,8 +469,6 @@ class ConfigEvalConfig(BaseModel): | 478 | 469 |
| 479 | 470 |
| 480 | 471 | class Config(BaseModel): | 481 | | - deterministic_evals: List[ConfigDeterministicEval] | 482 | | - | 483 | 472 | ai_guidance_threshold: Optional[float] = None | 484 | 473 |
| 485 | 474 | clustering_use_llm_matching: Optional[bool] = None | |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_list_by_group_params.py -12Lines changed: 0 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -39,12 +39,6 @@ class QueryLogListByGroupParams(TypedDict, total=False): | 39 | 39 | needs_review: Optional[bool] | 40 | 40 | """Filter logs that need review""" | 41 | 41 |
| 42 | | - non_triggered_deterministic_guardrail_ids: Optional[SequenceNotStr[str]] | 43 | | - """ | 44 | | - Filter logs where ANY of these deterministic guardrail IDs were checked but not | 45 | | - triggered (OR operation) | 46 | | - """ | 47 | | - | 48 | 42 | offset: int | 49 | 43 |
| 50 | 44 | order: Literal["asc", "desc"] | @@ -82,11 +76,5 @@ class QueryLogListByGroupParams(TypedDict, total=False): | 82 | 76 | tool_call_names: Optional[SequenceNotStr[str]] | 83 | 77 | """Filter by names of tools called in the assistant response""" | 84 | 78 |
| 85 | | - triggered_deterministic_guardrail_ids: Optional[SequenceNotStr[str]] | 86 | | - """ | 87 | | - Filter logs where ANY of these deterministic guardrail IDs were triggered (OR | 88 | | - operation) | 89 | | - """ | 90 | | - | 91 | 79 | was_cache_hit: Optional[bool] | 92 | 80 | """Filter by cache hit status""" |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_list_by_group_response.py -21Lines changed: 0 additions & 21 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -504,12 +504,6 @@ class QueryLogsByGroupQueryLog(BaseModel): | 504 | 504 | itself. | 505 | 505 | """ | 506 | 506 |
| 507 | | - non_triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 508 | | - """ | 509 | | - UUIDs of deterministic guardrails that were checked but not triggered for this | 510 | | - query | 511 | | - """ | 512 | | - | 513 | 507 | original_assistant_response: Optional[str] = None | 514 | 508 | """The original assistant response that would have been displayed to the user. | 515 | 509 |
| @@ -544,9 +538,6 @@ class QueryLogsByGroupQueryLog(BaseModel): | 544 | 538 | If not provided, it is assumed no tools were provided to the LLM. | 545 | 539 | """ | 546 | 540 |
| 547 | | - triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 548 | | - """UUIDs of deterministic guardrails that were triggered for this query""" | 549 | | - | 550 | 541 |
| 551 | 542 | class QueryLogsByGroup(BaseModel): | 552 | 543 | query_logs: List[QueryLogsByGroupQueryLog] | @@ -581,12 +572,6 @@ class Filters(BaseModel): | 581 | 572 | needs_review: Optional[bool] = None | 582 | 573 | """Filter logs that need review""" | 583 | 574 |
| 584 | | - non_triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 585 | | - """ | 586 | | - Filter logs where ANY of these deterministic guardrail IDs were checked but not | 587 | | - triggered (OR operation) | 588 | | - """ | 589 | | - | 590 | 575 | passed_evals: Optional[List[str]] = None | 591 | 576 | """Filter by evals that passed""" | 592 | 577 |
| @@ -604,12 +589,6 @@ class Filters(BaseModel): | 604 | 589 | tool_call_names: Optional[List[str]] = None | 605 | 590 | """Filter by names of tools called in the assistant response""" | 606 | 591 |
| 607 | | - triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 608 | | - """ | 609 | | - Filter logs where ANY of these deterministic guardrail IDs were triggered (OR | 610 | | - operation) | 611 | | - """ | 612 | | - | 613 | 592 | was_cache_hit: Optional[bool] = None | 614 | 593 | """Filter by cache hit status""" | 615 | 594 |
| |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_list_groups_params.py -12Lines changed: 0 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -39,12 +39,6 @@ class QueryLogListGroupsParams(TypedDict, total=False): | 39 | 39 | needs_review: Optional[bool] | 40 | 40 | """Filter log groups that need review""" | 41 | 41 |
| 42 | | - non_triggered_deterministic_guardrail_ids: Optional[SequenceNotStr[str]] | 43 | | - """ | 44 | | - Filter logs where ANY of these deterministic guardrail IDs were checked but not | 45 | | - triggered (OR operation) | 46 | | - """ | 47 | | - | 48 | 42 | offset: int | 49 | 43 |
| 50 | 44 | order: Literal["asc", "desc"] | @@ -80,11 +74,5 @@ class QueryLogListGroupsParams(TypedDict, total=False): | 80 | 74 | tool_call_names: Optional[SequenceNotStr[str]] | 81 | 75 | """Filter by names of tools called in the assistant response""" | 82 | 76 |
| 83 | | - triggered_deterministic_guardrail_ids: Optional[SequenceNotStr[str]] | 84 | | - """ | 85 | | - Filter logs where ANY of these deterministic guardrail IDs were triggered (OR | 86 | | - operation) | 87 | | - """ | 88 | | - | 89 | 77 | was_cache_hit: Optional[bool] | 90 | 78 | """Filter by cache hit status""" |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_list_groups_response.py -9Lines changed: 0 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -499,12 +499,6 @@ class QueryLogListGroupsResponse(BaseModel): | 499 | 499 | itself. | 500 | 500 | """ | 501 | 501 |
| 502 | | - non_triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 503 | | - """ | 504 | | - UUIDs of deterministic guardrails that were checked but not triggered for this | 505 | | - query | 506 | | - """ | 507 | | - | 508 | 502 | original_assistant_response: Optional[str] = None | 509 | 503 | """The original assistant response that would have been displayed to the user. | 510 | 504 |
| @@ -538,6 +532,3 @@ class QueryLogListGroupsResponse(BaseModel): | 538 | 532 |
| 539 | 533 | If not provided, it is assumed no tools were provided to the LLM. | 540 | 534 | """ | 541 | | - | 542 | | - triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 543 | | - """UUIDs of deterministic guardrails that were triggered for this query""" |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_list_params.py -12Lines changed: 0 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -36,12 +36,6 @@ class QueryLogListParams(TypedDict, total=False): | 36 | 36 |
| 37 | 37 | limit: int | 38 | 38 |
| 39 | | - non_triggered_deterministic_guardrail_ids: Optional[SequenceNotStr[str]] | 40 | | - """ | 41 | | - Filter logs where ANY of these deterministic guardrail IDs were checked but not | 42 | | - triggered (OR operation) | 43 | | - """ | 44 | | - | 45 | 39 | offset: int | 46 | 40 |
| 47 | 41 | order: Literal["asc", "desc"] | @@ -76,11 +70,5 @@ class QueryLogListParams(TypedDict, total=False): | 76 | 70 | tool_call_names: Optional[SequenceNotStr[str]] | 77 | 71 | """Filter by names of tools called in the assistant response""" | 78 | 72 |
| 79 | | - triggered_deterministic_guardrail_ids: Optional[SequenceNotStr[str]] | 80 | | - """ | 81 | | - Filter logs where ANY of these deterministic guardrail IDs were triggered (OR | 82 | | - operation) | 83 | | - """ | 84 | | - | 85 | 73 | was_cache_hit: Optional[bool] | 86 | 74 | """Filter by cache hit status""" |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_list_response.py -9Lines changed: 0 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -484,12 +484,6 @@ class QueryLogListResponse(BaseModel): | 484 | 484 | itself. | 485 | 485 | """ | 486 | 486 |
| 487 | | - non_triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 488 | | - """ | 489 | | - UUIDs of deterministic guardrails that were checked but not triggered for this | 490 | | - query | 491 | | - """ | 492 | | - | 493 | 487 | original_assistant_response: Optional[str] = None | 494 | 488 | """The original assistant response that would have been displayed to the user. | 495 | 489 |
| @@ -523,6 +517,3 @@ class QueryLogListResponse(BaseModel): | 523 | 517 |
| 524 | 518 | If not provided, it is assumed no tools were provided to the LLM. | 525 | 519 | """ | 526 | | - | 527 | | - triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 528 | | - """UUIDs of deterministic guardrails that were triggered for this query""" |
Collapse file Copy file name to clipboardExpand all lines: src/codex/types/projects/query_log_retrieve_response.py -9Lines changed: 0 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -498,12 +498,6 @@ class QueryLogRetrieveResponse(BaseModel): | 498 | 498 | itself. | 499 | 499 | """ | 500 | 500 |
| 501 | | - non_triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 502 | | - """ | 503 | | - UUIDs of deterministic guardrails that were checked but not triggered for this | 504 | | - query | 505 | | - """ | 506 | | - | 507 | 501 | original_assistant_response: Optional[str] = None | 508 | 502 | """The original assistant response that would have been displayed to the user. | 509 | 503 |
| @@ -537,6 +531,3 @@ class QueryLogRetrieveResponse(BaseModel): | 537 | 531 |
| 538 | 532 | If not provided, it is assumed no tools were provided to the LLM. | 539 | 533 | """ | 540 | | - | 541 | | - triggered_deterministic_guardrail_ids: Optional[List[str]] = None | 542 | | - """UUIDs of deterministic guardrails that were triggered for this query""" |
|