small rename

This commit is contained in:
Ashwin Bharambe 2024-07-11 00:07:19 -07:00
parent 631328f556
commit 86c2993296
3 changed files with 39 additions and 46 deletions

View file

@ -967,7 +967,7 @@ components:
properties:
k_scored_generations:
items:
$ref: '#/components/schemas/MessageScore'
$ref: '#/components/schemas/ScoredMessage'
type: array
prompt:
$ref: '#/components/schemas/Message'
@ -1075,18 +1075,6 @@ components:
- tool_calls
- tool_responses
type: object
MessageScore:
additionalProperties: false
properties:
message:
$ref: '#/components/schemas/Message'
score:
type: number
required:
- message
- score
title: A single message and its score.
type: object
OptimizerConfig:
additionalProperties: false
properties:
@ -1374,6 +1362,17 @@ components:
title: Response from the reward scoring. Batch of (prompt, response, score)
tuples that pass the threshold.
type: object
ScoredMessage:
additionalProperties: false
properties:
message:
$ref: '#/components/schemas/Message'
score:
type: number
required:
- message
- score
type: object
ShieldConfig:
additionalProperties: false
properties:
@ -1917,13 +1916,13 @@ security:
servers:
- url: http://llama.meta.com
tags:
- name: AgenticSystem
- name: RewardScoring
- name: Inference
- name: SyntheticDataGeneration
- name: Datasets
- name: PostTraining
- name: MemoryBanks
- name: AgenticSystem
- name: PostTraining
- name: Inference
- name: RewardScoring
- name: Datasets
- description: <SchemaDefinition schemaRef="#/components/schemas/ShieldConfig" />
name: ShieldConfig
- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemCreateRequest"
@ -2038,11 +2037,8 @@ tags:
- description: <SchemaDefinition schemaRef="#/components/schemas/KScoredPromptGenerations"
/>
name: KScoredPromptGenerations
- description: 'A single message and its score.
<SchemaDefinition schemaRef="#/components/schemas/MessageScore" />'
name: MessageScore
- description: <SchemaDefinition schemaRef="#/components/schemas/ScoredMessage" />
name: ScoredMessage
- description: 'Response from the synthetic data generation. Batch of (prompt, response,
score) tuples that pass the threshold.
@ -2125,7 +2121,6 @@ x-tagGroups:
- LoraFinetuningConfig
- MemoryBank
- Message
- MessageScore
- OptimizerConfig
- PostTrainingJobArtifactsResponse
- PostTrainingJobLogStream
@ -2135,6 +2130,7 @@ x-tagGroups:
- QLoraFinetuningConfig
- RewardScoringRequest
- RewardScoringResponse
- ScoredMessage
- ShieldConfig
- SyntheticDataGenerationRequest
- SyntheticDataGenerationResponse