Skip to content

Commit c5cafe5

Browse files
feat(api): api update
1 parent bdaffee commit c5cafe5

12 files changed

+30
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
configured_endpoints: 55
2-
openapi_spec_hash: d555131ff52c78852f82acda3348224b
2+
openapi_spec_hash: 218b257d101099fcf62b8afde2fc5d8c
33
config_hash: 48c3812186c899cdef23cc8de76bd2aa

src/codex/types/project_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ class ConfigEvalConfig(TypedDict, total=False):
354354

355355

356356
class Config(TypedDict, total=False):
357+
ai_guidance_threshold: float
358+
357359
clustering_use_llm_matching: bool
358360

359361
eval_config: ConfigEvalConfig

src/codex/types/project_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ class ProjectConfigEvalConfig(BaseModel):
381381

382382

383383
class ProjectConfig(BaseModel):
384+
ai_guidance_threshold: Optional[float] = None
385+
384386
clustering_use_llm_matching: Optional[bool] = None
385387

386388
eval_config: Optional[ProjectConfigEvalConfig] = None

src/codex/types/project_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ class ConfigEvalConfig(BaseModel):
379379

380380

381381
class Config(BaseModel):
382+
ai_guidance_threshold: Optional[float] = None
383+
382384
clustering_use_llm_matching: Optional[bool] = None
383385

384386
eval_config: Optional[ConfigEvalConfig] = None

src/codex/types/project_return_schema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ class ConfigEvalConfig(BaseModel):
379379

380380

381381
class Config(BaseModel):
382+
ai_guidance_threshold: Optional[float] = None
383+
382384
clustering_use_llm_matching: Optional[bool] = None
383385

384386
eval_config: Optional[ConfigEvalConfig] = None

src/codex/types/project_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ class ConfigEvalConfig(TypedDict, total=False):
352352

353353

354354
class Config(TypedDict, total=False):
355+
ai_guidance_threshold: float
356+
355357
clustering_use_llm_matching: bool
356358

357359
eval_config: ConfigEvalConfig

src/codex/types/projects/query_log_list_by_group_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ class QueryLogsByGroupQueryLog(BaseModel):
374374
was_cache_hit: Optional[bool] = None
375375
"""If similar query already answered, or None if cache was not checked"""
376376

377+
ai_guidance_id: Optional[str] = None
378+
"""ID of the AI guidance remediation that was created from this query log."""
379+
377380
context: Optional[List[QueryLogsByGroupQueryLogContext]] = None
378381
"""RAG context used for the query"""
379382

src/codex/types/projects/query_log_list_groups_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ class QueryLogListGroupsResponse(BaseModel):
369369
was_cache_hit: Optional[bool] = None
370370
"""If similar query already answered, or None if cache was not checked"""
371371

372+
ai_guidance_id: Optional[str] = None
373+
"""ID of the AI guidance remediation that was created from this query log."""
374+
372375
context: Optional[List[Context]] = None
373376
"""RAG context used for the query"""
374377

src/codex/types/projects/query_log_list_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ class QueryLogListResponse(BaseModel):
357357
was_cache_hit: Optional[bool] = None
358358
"""If similar query already answered, or None if cache was not checked"""
359359

360+
ai_guidance_id: Optional[str] = None
361+
"""ID of the AI guidance remediation that was created from this query log."""
362+
360363
context: Optional[List[Context]] = None
361364
"""RAG context used for the query"""
362365

src/codex/types/projects/query_log_retrieve_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ class QueryLogRetrieveResponse(BaseModel):
361361
was_cache_hit: Optional[bool] = None
362362
"""If similar query already answered, or None if cache was not checked"""
363363

364+
ai_guidance_id: Optional[str] = None
365+
"""ID of the AI guidance remediation that was created from this query log."""
366+
364367
context: Optional[List[Context]] = None
365368
"""RAG context used for the query"""
366369

0 commit comments

Comments
 (0)