Compare commits
3 Commits
colonelpan
...
loewy/sess
| Author | SHA1 | Date | |
|---|---|---|---|
| a05614e4d1 | |||
|
|
9ec52d9d94 | ||
| 650b3bc13c |
17680
src/index.tsx
17680
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -20,6 +20,18 @@ query GetSessionCoach($videoId: Int!) {
|
|||||||
candidates {
|
candidates {
|
||||||
...SessionCoachCandidateFields
|
...SessionCoachCandidateFields
|
||||||
}
|
}
|
||||||
|
agentGeneration {
|
||||||
|
...SessionCoachGenerationFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
||||||
|
requestSessionCoachGeneration(videoId: $videoId) {
|
||||||
|
state
|
||||||
|
agentGeneration {
|
||||||
|
...SessionCoachGenerationFields
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,3 +61,39 @@ 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,53 +85,3 @@ 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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
3300
src/schema.gql
3300
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user