Compare commits
2 Commits
loewy/sess
...
colonelpan
| Author | SHA1 | Date | |
|---|---|---|---|
| e86dd1900f | |||
| 6d9cb4126e |
16498
src/index.tsx
16498
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -20,18 +20,6 @@ query GetSessionCoach($videoId: Int!) {
|
|||||||
candidates {
|
candidates {
|
||||||
...SessionCoachCandidateFields
|
...SessionCoachCandidateFields
|
||||||
}
|
}
|
||||||
agentGeneration {
|
|
||||||
...SessionCoachGenerationFields
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
|
||||||
requestSessionCoachGeneration(videoId: $videoId) {
|
|
||||||
state
|
|
||||||
agentGeneration {
|
|
||||||
...SessionCoachGenerationFields
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,39 +49,3 @@ fragment SessionCoachCandidateFields on SessionCoachCandidateGQL {
|
|||||||
rankReason
|
rankReason
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment SessionCoachGenerationFields on SessionCoachGenerationGQL {
|
|
||||||
id
|
|
||||||
state
|
|
||||||
createdAt
|
|
||||||
completedAt
|
|
||||||
decision {
|
|
||||||
selectedCandidateId
|
|
||||||
title
|
|
||||||
body
|
|
||||||
suggestedAction
|
|
||||||
drillId
|
|
||||||
drillReason
|
|
||||||
practiceAttemptCount
|
|
||||||
practiceTarget
|
|
||||||
}
|
|
||||||
diagnostics {
|
|
||||||
analysisVersion
|
|
||||||
promptVersion
|
|
||||||
providerKey
|
|
||||||
modelName
|
|
||||||
inputHash
|
|
||||||
attemptCount
|
|
||||||
maxAttempts
|
|
||||||
enqueueCount
|
|
||||||
latencyMs
|
|
||||||
inputTokens
|
|
||||||
cachedInputTokens
|
|
||||||
outputTokens
|
|
||||||
failureCode
|
|
||||||
updatedAt
|
|
||||||
startedAt
|
|
||||||
lastEnqueuedAt
|
|
||||||
abstentionReason
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -85,3 +85,53 @@ query ComputePotAim(
|
|||||||
occludingBallIds
|
occludingBallIds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fragment PositionShotCandidate on PositionShotCandidateGQL {
|
||||||
|
strike {
|
||||||
|
v0
|
||||||
|
phi
|
||||||
|
theta
|
||||||
|
a
|
||||||
|
b
|
||||||
|
}
|
||||||
|
cueFinalPosition
|
||||||
|
inTargetArea
|
||||||
|
distanceToTargetArea
|
||||||
|
robustness
|
||||||
|
potted
|
||||||
|
scratched
|
||||||
|
projection {
|
||||||
|
trajectories {
|
||||||
|
ballId
|
||||||
|
points {
|
||||||
|
time
|
||||||
|
position
|
||||||
|
}
|
||||||
|
}
|
||||||
|
events {
|
||||||
|
eventType
|
||||||
|
time
|
||||||
|
ballIds
|
||||||
|
position
|
||||||
|
}
|
||||||
|
finalState {
|
||||||
|
ballId
|
||||||
|
position
|
||||||
|
}
|
||||||
|
pottedBallIds
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query SuggestPositionShot($suggestionInput: SuggestPositionShotInputGQL!) {
|
||||||
|
suggestPositionShot(suggestionInput: $suggestionInput) {
|
||||||
|
achievable
|
||||||
|
evaluatedCount
|
||||||
|
successfulCount
|
||||||
|
best {
|
||||||
|
...PositionShotCandidate
|
||||||
|
}
|
||||||
|
alternates {
|
||||||
|
...PositionShotCandidate
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
3280
src/schema.gql
3280
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user