| 1 | components: |
| 2 | responses: {} |
| 3 | schemas: |
| 4 | AgentConfig: |
| 5 | additionalProperties: false |
| 6 | properties: |
| 7 | input_shields: |
| 8 | items: |
| 9 | $ref: '#/components/schemas/ShieldDefinition' |
| 10 | type: array |
| 11 | instructions: |
| 12 | type: string |
| 13 | model: |
| 14 | type: string |
| 15 | output_shields: |
| 16 | items: |
| 17 | $ref: '#/components/schemas/ShieldDefinition' |
| 18 | type: array |
| 19 | sampling_params: |
| 20 | $ref: '#/components/schemas/SamplingParams' |
| 21 | tool_choice: |
| 22 | $ref: '#/components/schemas/ToolChoice' |
| 23 | tool_prompt_format: |
| 24 | $ref: '#/components/schemas/ToolPromptFormat' |
| 25 | tools: |
| 26 | items: |
| 27 | oneOf: |
| 28 | - $ref: '#/components/schemas/SearchToolDefinition' |
| 29 | - $ref: '#/components/schemas/WolframAlphaToolDefinition' |
| 30 | - $ref: '#/components/schemas/PhotogenToolDefinition' |
| 31 | - $ref: '#/components/schemas/CodeInterpreterToolDefinition' |
| 32 | - $ref: '#/components/schemas/FunctionCallToolDefinition' |
| 33 | - additionalProperties: false |
| 34 | properties: |
| 35 | input_shields: |
| 36 | items: |
| 37 | $ref: '#/components/schemas/ShieldDefinition' |
| 38 | type: array |
| 39 | max_chunks: |
| 40 | type: integer |
| 41 | max_tokens_in_context: |
| 42 | type: integer |
| 43 | memory_bank_configs: |
| 44 | items: |
| 45 | oneOf: |
| 46 | - additionalProperties: false |
| 47 | properties: |
| 48 | bank_id: |
| 49 | type: string |
| 50 | type: |
| 51 | const: vector |
| 52 | type: string |
| 53 | required: |
| 54 | - bank_id |
| 55 | - type |
| 56 | type: object |
| 57 | - additionalProperties: false |
| 58 | properties: |
| 59 | bank_id: |
| 60 | type: string |
| 61 | keys: |
| 62 | items: |
| 63 | type: string |
| 64 | type: array |
| 65 | type: |
| 66 | const: keyvalue |
| 67 | type: string |
| 68 | required: |
| 69 | - bank_id |
| 70 | - type |
| 71 | - keys |
| 72 | type: object |
| 73 | - additionalProperties: false |
| 74 | properties: |
| 75 | bank_id: |
| 76 | type: string |
| 77 | type: |
| 78 | const: keyword |
| 79 | type: string |
| 80 | required: |
| 81 | - bank_id |
| 82 | - type |
| 83 | type: object |
| 84 | - additionalProperties: false |
| 85 | properties: |
| 86 | bank_id: |
| 87 | type: string |
| 88 | entities: |
| 89 | items: |
| 90 | type: string |
| 91 | type: array |
| 92 | type: |
| 93 | const: graph |
| 94 | type: string |
| 95 | required: |
| 96 | - bank_id |
| 97 | - type |
| 98 | - entities |
| 99 | type: object |
| 100 | type: array |
| 101 | output_shields: |
| 102 | items: |
| 103 | $ref: '#/components/schemas/ShieldDefinition' |
| 104 | type: array |
| 105 | query_generator_config: |
| 106 | oneOf: |
| 107 | - additionalProperties: false |
| 108 | properties: |
| 109 | sep: |
| 110 | type: string |
| 111 | type: |
| 112 | const: default |
| 113 | type: string |
| 114 | required: |
| 115 | - type |
| 116 | - sep |
| 117 | type: object |
| 118 | - additionalProperties: false |
| 119 | properties: |
| 120 | model: |
| 121 | type: string |
| 122 | template: |
| 123 | type: string |
| 124 | type: |
| 125 | const: llm |
| 126 | type: string |
| 127 | required: |
| 128 | - type |
| 129 | - model |
| 130 | - template |
| 131 | type: object |
| 132 | - additionalProperties: false |
| 133 | properties: |
| 134 | type: |
| 135 | const: custom |
| 136 | type: string |
| 137 | required: |
| 138 | - type |
| 139 | type: object |
| 140 | type: |
| 141 | const: memory |
| 142 | type: string |
| 143 | required: |
| 144 | - type |
| 145 | - memory_bank_configs |
| 146 | - query_generator_config |
| 147 | - max_tokens_in_context |
| 148 | - max_chunks |
| 149 | type: object |
| 150 | type: array |
| 151 | required: |
| 152 | - model |
| 153 | - instructions |
| 154 | type: object |
| 155 | AgentCreateResponse: |
| 156 | additionalProperties: false |
| 157 | properties: |
| 158 | agent_id: |
| 159 | type: string |
| 160 | required: |
| 161 | - agent_id |
| 162 | type: object |
| 163 | AgentSessionCreateResponse: |
| 164 | additionalProperties: false |
| 165 | properties: |
| 166 | session_id: |
| 167 | type: string |
| 168 | required: |
| 169 | - session_id |
| 170 | type: object |
| 171 | AgentStepResponse: |
| 172 | additionalProperties: false |
| 173 | properties: |
| 174 | step: |
| 175 | oneOf: |
| 176 | - $ref: '#/components/schemas/InferenceStep' |
| 177 | - $ref: '#/components/schemas/ToolExecutionStep' |
| 178 | - $ref: '#/components/schemas/ShieldCallStep' |
| 179 | - $ref: '#/components/schemas/MemoryRetrievalStep' |
| 180 | required: |
| 181 | - step |
| 182 | type: object |
| 183 | AgentTurnResponseEvent: |
| 184 | additionalProperties: false |
| 185 | properties: |
| 186 | payload: |
| 187 | oneOf: |
| 188 | - $ref: '#/components/schemas/AgentTurnResponseStepStartPayload' |
| 189 | - $ref: '#/components/schemas/AgentTurnResponseStepProgressPayload' |
| 190 | - $ref: '#/components/schemas/AgentTurnResponseStepCompletePayload' |
| 191 | - $ref: '#/components/schemas/AgentTurnResponseTurnStartPayload' |
| 192 | - $ref: '#/components/schemas/AgentTurnResponseTurnCompletePayload' |
| 193 | required: |
| 194 | - payload |
| 195 | title: Streamed agent execution response. |
| 196 | type: object |
| 197 | AgentTurnResponseStepCompletePayload: |
| 198 | additionalProperties: false |
| 199 | properties: |
| 200 | event_type: |
| 201 | const: step_complete |
| 202 | type: string |
| 203 | step_details: |
| 204 | oneOf: |
| 205 | - $ref: '#/components/schemas/InferenceStep' |
| 206 | - $ref: '#/components/schemas/ToolExecutionStep' |
| 207 | - $ref: '#/components/schemas/ShieldCallStep' |
| 208 | - $ref: '#/components/schemas/MemoryRetrievalStep' |
| 209 | step_type: |
| 210 | enum: |
| 211 | - inference |
| 212 | - tool_execution |
| 213 | - shield_call |
| 214 | - memory_retrieval |
| 215 | type: string |
| 216 | required: |
| 217 | - event_type |
| 218 | - step_type |
| 219 | - step_details |
| 220 | type: object |
| 221 | AgentTurnResponseStepProgressPayload: |
| 222 | additionalProperties: false |
| 223 | properties: |
| 224 | event_type: |
| 225 | const: step_progress |
| 226 | type: string |
| 227 | model_response_text_delta: |
| 228 | type: string |
| 229 | step_id: |
| 230 | type: string |
| 231 | step_type: |
| 232 | enum: |
| 233 | - inference |
| 234 | - tool_execution |
| 235 | - shield_call |
| 236 | - memory_retrieval |
| 237 | type: string |
| 238 | tool_call_delta: |
| 239 | $ref: '#/components/schemas/ToolCallDelta' |
| 240 | tool_response_text_delta: |
| 241 | type: string |
| 242 | required: |
| 243 | - event_type |
| 244 | - step_type |
| 245 | - step_id |
| 246 | type: object |
| 247 | AgentTurnResponseStepStartPayload: |
| 248 | additionalProperties: false |
| 249 | properties: |
| 250 | event_type: |
| 251 | const: step_start |
| 252 | type: string |
| 253 | metadata: |
| 254 | additionalProperties: |
| 255 | oneOf: |
| 256 | - type: 'null' |
| 257 | - type: boolean |
| 258 | - type: number |
| 259 | - type: string |
| 260 | - type: array |
| 261 | - type: object |
| 262 | type: object |
| 263 | step_id: |
| 264 | type: string |
| 265 | step_type: |
| 266 | enum: |
| 267 | - inference |
| 268 | - tool_execution |
| 269 | - shield_call |
| 270 | - memory_retrieval |
| 271 | type: string |
| 272 | required: |
| 273 | - event_type |
| 274 | - step_type |
| 275 | - step_id |
| 276 | type: object |
| 277 | AgentTurnResponseStreamChunk: |
| 278 | additionalProperties: false |
| 279 | properties: |
| 280 | event: |
| 281 | $ref: '#/components/schemas/AgentTurnResponseEvent' |
| 282 | required: |
| 283 | - event |
| 284 | type: object |
| 285 | AgentTurnResponseTurnCompletePayload: |
| 286 | additionalProperties: false |
| 287 | properties: |
| 288 | event_type: |
| 289 | const: turn_complete |
| 290 | type: string |
| 291 | turn: |
| 292 | $ref: '#/components/schemas/Turn' |
| 293 | required: |
| 294 | - event_type |
| 295 | - turn |
| 296 | type: object |
| 297 | AgentTurnResponseTurnStartPayload: |
| 298 | additionalProperties: false |
| 299 | properties: |
| 300 | event_type: |
| 301 | const: turn_start |
| 302 | type: string |
| 303 | turn_id: |
| 304 | type: string |
| 305 | required: |
| 306 | - event_type |
| 307 | - turn_id |
| 308 | type: object |
| 309 | Attachment: |
| 310 | additionalProperties: false |
| 311 | properties: |
| 312 | content: |
| 313 | oneOf: |
| 314 | - type: string |
| 315 | - items: |
| 316 | type: string |
| 317 | type: array |
| 318 | - $ref: '#/components/schemas/URL' |
| 319 | mime_type: |
| 320 | type: string |
| 321 | required: |
| 322 | - content |
| 323 | - mime_type |
| 324 | type: object |
| 325 | BatchChatCompletionRequest: |
| 326 | additionalProperties: false |
| 327 | properties: |
| 328 | logprobs: |
| 329 | additionalProperties: false |
| 330 | properties: |
| 331 | top_k: |
| 332 | type: integer |
| 333 | type: object |
| 334 | messages_batch: |
| 335 | items: |
| 336 | items: |
| 337 | oneOf: |
| 338 | - $ref: '#/components/schemas/UserMessage' |
| 339 | - $ref: '#/components/schemas/SystemMessage' |
| 340 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 341 | - $ref: '#/components/schemas/CompletionMessage' |
| 342 | type: array |
| 343 | type: array |
| 344 | model: |
| 345 | type: string |
| 346 | sampling_params: |
| 347 | $ref: '#/components/schemas/SamplingParams' |
| 348 | tool_choice: |
| 349 | $ref: '#/components/schemas/ToolChoice' |
| 350 | tool_prompt_format: |
| 351 | $ref: '#/components/schemas/ToolPromptFormat' |
| 352 | tools: |
| 353 | items: |
| 354 | $ref: '#/components/schemas/ToolDefinition' |
| 355 | type: array |
| 356 | required: |
| 357 | - model |
| 358 | - messages_batch |
| 359 | type: object |
| 360 | BatchChatCompletionResponse: |
| 361 | additionalProperties: false |
| 362 | properties: |
| 363 | completion_message_batch: |
| 364 | items: |
| 365 | $ref: '#/components/schemas/CompletionMessage' |
| 366 | type: array |
| 367 | required: |
| 368 | - completion_message_batch |
| 369 | type: object |
| 370 | BatchCompletionRequest: |
| 371 | additionalProperties: false |
| 372 | properties: |
| 373 | content_batch: |
| 374 | items: |
| 375 | oneOf: |
| 376 | - type: string |
| 377 | - items: |
| 378 | type: string |
| 379 | type: array |
| 380 | type: array |
| 381 | logprobs: |
| 382 | additionalProperties: false |
| 383 | properties: |
| 384 | top_k: |
| 385 | type: integer |
| 386 | type: object |
| 387 | model: |
| 388 | type: string |
| 389 | sampling_params: |
| 390 | $ref: '#/components/schemas/SamplingParams' |
| 391 | required: |
| 392 | - model |
| 393 | - content_batch |
| 394 | type: object |
| 395 | BatchCompletionResponse: |
| 396 | additionalProperties: false |
| 397 | properties: |
| 398 | completion_message_batch: |
| 399 | items: |
| 400 | $ref: '#/components/schemas/CompletionMessage' |
| 401 | type: array |
| 402 | required: |
| 403 | - completion_message_batch |
| 404 | type: object |
| 405 | BuiltinShield: |
| 406 | enum: |
| 407 | - llama_guard |
| 408 | - code_scanner_guard |
| 409 | - third_party_shield |
| 410 | - injection_shield |
| 411 | - jailbreak_shield |
| 412 | type: string |
| 413 | BuiltinTool: |
| 414 | enum: |
| 415 | - brave_search |
| 416 | - wolfram_alpha |
| 417 | - photogen |
| 418 | - code_interpreter |
| 419 | type: string |
| 420 | CancelEvaluationJobRequest: |
| 421 | additionalProperties: false |
| 422 | properties: |
| 423 | job_uuid: |
| 424 | type: string |
| 425 | required: |
| 426 | - job_uuid |
| 427 | type: object |
| 428 | CancelTrainingJobRequest: |
| 429 | additionalProperties: false |
| 430 | properties: |
| 431 | job_uuid: |
| 432 | type: string |
| 433 | required: |
| 434 | - job_uuid |
| 435 | type: object |
| 436 | ChatCompletionRequest: |
| 437 | additionalProperties: false |
| 438 | properties: |
| 439 | logprobs: |
| 440 | additionalProperties: false |
| 441 | properties: |
| 442 | top_k: |
| 443 | type: integer |
| 444 | type: object |
| 445 | messages: |
| 446 | items: |
| 447 | oneOf: |
| 448 | - $ref: '#/components/schemas/UserMessage' |
| 449 | - $ref: '#/components/schemas/SystemMessage' |
| 450 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 451 | - $ref: '#/components/schemas/CompletionMessage' |
| 452 | type: array |
| 453 | model: |
| 454 | type: string |
| 455 | sampling_params: |
| 456 | $ref: '#/components/schemas/SamplingParams' |
| 457 | stream: |
| 458 | type: boolean |
| 459 | tool_choice: |
| 460 | $ref: '#/components/schemas/ToolChoice' |
| 461 | tool_prompt_format: |
| 462 | $ref: '#/components/schemas/ToolPromptFormat' |
| 463 | tools: |
| 464 | items: |
| 465 | $ref: '#/components/schemas/ToolDefinition' |
| 466 | type: array |
| 467 | required: |
| 468 | - model |
| 469 | - messages |
| 470 | type: object |
| 471 | ChatCompletionResponse: |
| 472 | additionalProperties: false |
| 473 | properties: |
| 474 | completion_message: |
| 475 | $ref: '#/components/schemas/CompletionMessage' |
| 476 | logprobs: |
| 477 | items: |
| 478 | $ref: '#/components/schemas/TokenLogProbs' |
| 479 | type: array |
| 480 | required: |
| 481 | - completion_message |
| 482 | title: Chat completion response. |
| 483 | type: object |
| 484 | ChatCompletionResponseEvent: |
| 485 | additionalProperties: false |
| 486 | properties: |
| 487 | delta: |
| 488 | oneOf: |
| 489 | - type: string |
| 490 | - $ref: '#/components/schemas/ToolCallDelta' |
| 491 | event_type: |
| 492 | $ref: '#/components/schemas/ChatCompletionResponseEventType' |
| 493 | logprobs: |
| 494 | items: |
| 495 | $ref: '#/components/schemas/TokenLogProbs' |
| 496 | type: array |
| 497 | stop_reason: |
| 498 | $ref: '#/components/schemas/StopReason' |
| 499 | required: |
| 500 | - event_type |
| 501 | - delta |
| 502 | title: Chat completion response event. |
| 503 | type: object |
| 504 | ChatCompletionResponseEventType: |
| 505 | enum: |
| 506 | - start |
| 507 | - complete |
| 508 | - progress |
| 509 | type: string |
| 510 | ChatCompletionResponseStreamChunk: |
| 511 | additionalProperties: false |
| 512 | properties: |
| 513 | event: |
| 514 | $ref: '#/components/schemas/ChatCompletionResponseEvent' |
| 515 | required: |
| 516 | - event |
| 517 | title: SSE-stream of these events. |
| 518 | type: object |
| 519 | Checkpoint: |
| 520 | description: Checkpoint created during training runs |
| 521 | CodeInterpreterToolDefinition: |
| 522 | additionalProperties: false |
| 523 | properties: |
| 524 | enable_inline_code_execution: |
| 525 | type: boolean |
| 526 | input_shields: |
| 527 | items: |
| 528 | $ref: '#/components/schemas/ShieldDefinition' |
| 529 | type: array |
| 530 | output_shields: |
| 531 | items: |
| 532 | $ref: '#/components/schemas/ShieldDefinition' |
| 533 | type: array |
| 534 | remote_execution: |
| 535 | $ref: '#/components/schemas/RestAPIExecutionConfig' |
| 536 | type: |
| 537 | const: code_interpreter |
| 538 | type: string |
| 539 | required: |
| 540 | - type |
| 541 | - enable_inline_code_execution |
| 542 | type: object |
| 543 | CompletionMessage: |
| 544 | additionalProperties: false |
| 545 | properties: |
| 546 | content: |
| 547 | oneOf: |
| 548 | - type: string |
| 549 | - items: |
| 550 | type: string |
| 551 | type: array |
| 552 | role: |
| 553 | const: assistant |
| 554 | type: string |
| 555 | stop_reason: |
| 556 | $ref: '#/components/schemas/StopReason' |
| 557 | tool_calls: |
| 558 | items: |
| 559 | $ref: '#/components/schemas/ToolCall' |
| 560 | type: array |
| 561 | required: |
| 562 | - role |
| 563 | - content |
| 564 | - stop_reason |
| 565 | - tool_calls |
| 566 | type: object |
| 567 | CompletionRequest: |
| 568 | additionalProperties: false |
| 569 | properties: |
| 570 | content: |
| 571 | oneOf: |
| 572 | - type: string |
| 573 | - items: |
| 574 | type: string |
| 575 | type: array |
| 576 | logprobs: |
| 577 | additionalProperties: false |
| 578 | properties: |
| 579 | top_k: |
| 580 | type: integer |
| 581 | type: object |
| 582 | model: |
| 583 | type: string |
| 584 | sampling_params: |
| 585 | $ref: '#/components/schemas/SamplingParams' |
| 586 | stream: |
| 587 | type: boolean |
| 588 | required: |
| 589 | - model |
| 590 | - content |
| 591 | type: object |
| 592 | CompletionResponse: |
| 593 | additionalProperties: false |
| 594 | properties: |
| 595 | completion_message: |
| 596 | $ref: '#/components/schemas/CompletionMessage' |
| 597 | logprobs: |
| 598 | items: |
| 599 | $ref: '#/components/schemas/TokenLogProbs' |
| 600 | type: array |
| 601 | required: |
| 602 | - completion_message |
| 603 | title: Completion response. |
| 604 | type: object |
| 605 | CompletionResponseStreamChunk: |
| 606 | additionalProperties: false |
| 607 | properties: |
| 608 | delta: |
| 609 | type: string |
| 610 | logprobs: |
| 611 | items: |
| 612 | $ref: '#/components/schemas/TokenLogProbs' |
| 613 | type: array |
| 614 | stop_reason: |
| 615 | $ref: '#/components/schemas/StopReason' |
| 616 | required: |
| 617 | - delta |
| 618 | title: streamed completion response. |
| 619 | type: object |
| 620 | CreateAgentRequest: |
| 621 | additionalProperties: false |
| 622 | properties: |
| 623 | agent_config: |
| 624 | $ref: '#/components/schemas/AgentConfig' |
| 625 | required: |
| 626 | - agent_config |
| 627 | type: object |
| 628 | CreateAgentSessionRequest: |
| 629 | additionalProperties: false |
| 630 | properties: |
| 631 | agent_id: |
| 632 | type: string |
| 633 | session_name: |
| 634 | type: string |
| 635 | required: |
| 636 | - agent_id |
| 637 | - session_name |
| 638 | type: object |
| 639 | CreateAgentTurnRequest: |
| 640 | additionalProperties: false |
| 641 | properties: |
| 642 | agent_id: |
| 643 | type: string |
| 644 | attachments: |
| 645 | items: |
| 646 | $ref: '#/components/schemas/Attachment' |
| 647 | type: array |
| 648 | messages: |
| 649 | items: |
| 650 | oneOf: |
| 651 | - $ref: '#/components/schemas/UserMessage' |
| 652 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 653 | type: array |
| 654 | session_id: |
| 655 | type: string |
| 656 | stream: |
| 657 | type: boolean |
| 658 | required: |
| 659 | - agent_id |
| 660 | - session_id |
| 661 | - messages |
| 662 | type: object |
| 663 | CreateDatasetRequest: |
| 664 | additionalProperties: false |
| 665 | properties: |
| 666 | dataset: |
| 667 | $ref: '#/components/schemas/TrainEvalDataset' |
| 668 | uuid: |
| 669 | type: string |
| 670 | required: |
| 671 | - uuid |
| 672 | - dataset |
| 673 | type: object |
| 674 | CreateMemoryBankRequest: |
| 675 | additionalProperties: false |
| 676 | properties: |
| 677 | config: |
| 678 | oneOf: |
| 679 | - additionalProperties: false |
| 680 | properties: |
| 681 | chunk_size_in_tokens: |
| 682 | type: integer |
| 683 | embedding_model: |
| 684 | type: string |
| 685 | overlap_size_in_tokens: |
| 686 | type: integer |
| 687 | type: |
| 688 | const: vector |
| 689 | type: string |
| 690 | required: |
| 691 | - type |
| 692 | - embedding_model |
| 693 | - chunk_size_in_tokens |
| 694 | type: object |
| 695 | - additionalProperties: false |
| 696 | properties: |
| 697 | type: |
| 698 | const: keyvalue |
| 699 | type: string |
| 700 | required: |
| 701 | - type |
| 702 | type: object |
| 703 | - additionalProperties: false |
| 704 | properties: |
| 705 | type: |
| 706 | const: keyword |
| 707 | type: string |
| 708 | required: |
| 709 | - type |
| 710 | type: object |
| 711 | - additionalProperties: false |
| 712 | properties: |
| 713 | type: |
| 714 | const: graph |
| 715 | type: string |
| 716 | required: |
| 717 | - type |
| 718 | type: object |
| 719 | name: |
| 720 | type: string |
| 721 | url: |
| 722 | $ref: '#/components/schemas/URL' |
| 723 | required: |
| 724 | - name |
| 725 | - config |
| 726 | type: object |
| 727 | DPOAlignmentConfig: |
| 728 | additionalProperties: false |
| 729 | properties: |
| 730 | epsilon: |
| 731 | type: number |
| 732 | gamma: |
| 733 | type: number |
| 734 | reward_clip: |
| 735 | type: number |
| 736 | reward_scale: |
| 737 | type: number |
| 738 | required: |
| 739 | - reward_scale |
| 740 | - reward_clip |
| 741 | - epsilon |
| 742 | - gamma |
| 743 | type: object |
| 744 | DeleteAgentsRequest: |
| 745 | additionalProperties: false |
| 746 | properties: |
| 747 | agent_id: |
| 748 | type: string |
| 749 | required: |
| 750 | - agent_id |
| 751 | type: object |
| 752 | DeleteAgentsSessionRequest: |
| 753 | additionalProperties: false |
| 754 | properties: |
| 755 | agent_id: |
| 756 | type: string |
| 757 | session_id: |
| 758 | type: string |
| 759 | required: |
| 760 | - agent_id |
| 761 | - session_id |
| 762 | type: object |
| 763 | DeleteDatasetRequest: |
| 764 | additionalProperties: false |
| 765 | properties: |
| 766 | dataset_uuid: |
| 767 | type: string |
| 768 | required: |
| 769 | - dataset_uuid |
| 770 | type: object |
| 771 | DeleteDocumentsRequest: |
| 772 | additionalProperties: false |
| 773 | properties: |
| 774 | bank_id: |
| 775 | type: string |
| 776 | document_ids: |
| 777 | items: |
| 778 | type: string |
| 779 | type: array |
| 780 | required: |
| 781 | - bank_id |
| 782 | - document_ids |
| 783 | type: object |
| 784 | DialogGenerations: |
| 785 | additionalProperties: false |
| 786 | properties: |
| 787 | dialog: |
| 788 | items: |
| 789 | oneOf: |
| 790 | - $ref: '#/components/schemas/UserMessage' |
| 791 | - $ref: '#/components/schemas/SystemMessage' |
| 792 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 793 | - $ref: '#/components/schemas/CompletionMessage' |
| 794 | type: array |
| 795 | sampled_generations: |
| 796 | items: |
| 797 | oneOf: |
| 798 | - $ref: '#/components/schemas/UserMessage' |
| 799 | - $ref: '#/components/schemas/SystemMessage' |
| 800 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 801 | - $ref: '#/components/schemas/CompletionMessage' |
| 802 | type: array |
| 803 | required: |
| 804 | - dialog |
| 805 | - sampled_generations |
| 806 | type: object |
| 807 | DoraFinetuningConfig: |
| 808 | additionalProperties: false |
| 809 | properties: |
| 810 | alpha: |
| 811 | type: integer |
| 812 | apply_lora_to_mlp: |
| 813 | type: boolean |
| 814 | apply_lora_to_output: |
| 815 | type: boolean |
| 816 | lora_attn_modules: |
| 817 | items: |
| 818 | type: string |
| 819 | type: array |
| 820 | rank: |
| 821 | type: integer |
| 822 | required: |
| 823 | - lora_attn_modules |
| 824 | - apply_lora_to_mlp |
| 825 | - apply_lora_to_output |
| 826 | - rank |
| 827 | - alpha |
| 828 | type: object |
| 829 | DropMemoryBankRequest: |
| 830 | additionalProperties: false |
| 831 | properties: |
| 832 | bank_id: |
| 833 | type: string |
| 834 | required: |
| 835 | - bank_id |
| 836 | type: object |
| 837 | EmbeddingsRequest: |
| 838 | additionalProperties: false |
| 839 | properties: |
| 840 | contents: |
| 841 | items: |
| 842 | oneOf: |
| 843 | - type: string |
| 844 | - items: |
| 845 | type: string |
| 846 | type: array |
| 847 | type: array |
| 848 | model: |
| 849 | type: string |
| 850 | required: |
| 851 | - model |
| 852 | - contents |
| 853 | type: object |
| 854 | EmbeddingsResponse: |
| 855 | additionalProperties: false |
| 856 | properties: |
| 857 | embeddings: |
| 858 | items: |
| 859 | items: |
| 860 | type: number |
| 861 | type: array |
| 862 | type: array |
| 863 | required: |
| 864 | - embeddings |
| 865 | type: object |
| 866 | EvaluateQuestionAnsweringRequest: |
| 867 | additionalProperties: false |
| 868 | properties: |
| 869 | metrics: |
| 870 | items: |
| 871 | enum: |
| 872 | - em |
| 873 | - f1 |
| 874 | type: string |
| 875 | type: array |
| 876 | required: |
| 877 | - metrics |
| 878 | type: object |
| 879 | EvaluateSummarizationRequest: |
| 880 | additionalProperties: false |
| 881 | properties: |
| 882 | metrics: |
| 883 | items: |
| 884 | enum: |
| 885 | - rouge |
| 886 | - bleu |
| 887 | type: string |
| 888 | type: array |
| 889 | required: |
| 890 | - metrics |
| 891 | type: object |
| 892 | EvaluateTextGenerationRequest: |
| 893 | additionalProperties: false |
| 894 | properties: |
| 895 | metrics: |
| 896 | items: |
| 897 | enum: |
| 898 | - perplexity |
| 899 | - rouge |
| 900 | - bleu |
| 901 | type: string |
| 902 | type: array |
| 903 | required: |
| 904 | - metrics |
| 905 | type: object |
| 906 | EvaluationJob: |
| 907 | additionalProperties: false |
| 908 | properties: |
| 909 | job_uuid: |
| 910 | type: string |
| 911 | required: |
| 912 | - job_uuid |
| 913 | type: object |
| 914 | EvaluationJobArtifactsResponse: |
| 915 | additionalProperties: false |
| 916 | properties: |
| 917 | job_uuid: |
| 918 | type: string |
| 919 | required: |
| 920 | - job_uuid |
| 921 | title: Artifacts of a evaluation job. |
| 922 | type: object |
| 923 | EvaluationJobLogStream: |
| 924 | additionalProperties: false |
| 925 | properties: |
| 926 | job_uuid: |
| 927 | type: string |
| 928 | required: |
| 929 | - job_uuid |
| 930 | type: object |
| 931 | EvaluationJobStatusResponse: |
| 932 | additionalProperties: false |
| 933 | properties: |
| 934 | job_uuid: |
| 935 | type: string |
| 936 | required: |
| 937 | - job_uuid |
| 938 | type: object |
| 939 | FinetuningAlgorithm: |
| 940 | enum: |
| 941 | - full |
| 942 | - lora |
| 943 | - qlora |
| 944 | - dora |
| 945 | type: string |
| 946 | FunctionCallToolDefinition: |
| 947 | additionalProperties: false |
| 948 | properties: |
| 949 | description: |
| 950 | type: string |
| 951 | function_name: |
| 952 | type: string |
| 953 | input_shields: |
| 954 | items: |
| 955 | $ref: '#/components/schemas/ShieldDefinition' |
| 956 | type: array |
| 957 | output_shields: |
| 958 | items: |
| 959 | $ref: '#/components/schemas/ShieldDefinition' |
| 960 | type: array |
| 961 | parameters: |
| 962 | additionalProperties: |
| 963 | $ref: '#/components/schemas/ToolParamDefinition' |
| 964 | type: object |
| 965 | remote_execution: |
| 966 | $ref: '#/components/schemas/RestAPIExecutionConfig' |
| 967 | type: |
| 968 | const: function_call |
| 969 | type: string |
| 970 | required: |
| 971 | - type |
| 972 | - function_name |
| 973 | - description |
| 974 | - parameters |
| 975 | type: object |
| 976 | GetAgentsSessionRequest: |
| 977 | additionalProperties: false |
| 978 | properties: |
| 979 | turn_ids: |
| 980 | items: |
| 981 | type: string |
| 982 | type: array |
| 983 | type: object |
| 984 | GetDocumentsRequest: |
| 985 | additionalProperties: false |
| 986 | properties: |
| 987 | document_ids: |
| 988 | items: |
| 989 | type: string |
| 990 | type: array |
| 991 | required: |
| 992 | - document_ids |
| 993 | type: object |
| 994 | InferenceStep: |
| 995 | additionalProperties: false |
| 996 | properties: |
| 997 | completed_at: |
| 998 | format: date-time |
| 999 | type: string |
| 1000 | model_response: |
| 1001 | $ref: '#/components/schemas/CompletionMessage' |
| 1002 | started_at: |
| 1003 | format: date-time |
| 1004 | type: string |
| 1005 | step_id: |
| 1006 | type: string |
| 1007 | step_type: |
| 1008 | const: inference |
| 1009 | type: string |
| 1010 | turn_id: |
| 1011 | type: string |
| 1012 | required: |
| 1013 | - turn_id |
| 1014 | - step_id |
| 1015 | - step_type |
| 1016 | - model_response |
| 1017 | type: object |
| 1018 | InsertDocumentsRequest: |
| 1019 | additionalProperties: false |
| 1020 | properties: |
| 1021 | bank_id: |
| 1022 | type: string |
| 1023 | documents: |
| 1024 | items: |
| 1025 | $ref: '#/components/schemas/MemoryBankDocument' |
| 1026 | type: array |
| 1027 | ttl_seconds: |
| 1028 | type: integer |
| 1029 | required: |
| 1030 | - bank_id |
| 1031 | - documents |
| 1032 | type: object |
| 1033 | LogEventRequest: |
| 1034 | additionalProperties: false |
| 1035 | properties: |
| 1036 | event: |
| 1037 | oneOf: |
| 1038 | - $ref: '#/components/schemas/UnstructuredLogEvent' |
| 1039 | - $ref: '#/components/schemas/MetricEvent' |
| 1040 | - $ref: '#/components/schemas/StructuredLogEvent' |
| 1041 | required: |
| 1042 | - event |
| 1043 | type: object |
| 1044 | LogSeverity: |
| 1045 | enum: |
| 1046 | - verbose |
| 1047 | - debug |
| 1048 | - info |
| 1049 | - warn |
| 1050 | - error |
| 1051 | - critical |
| 1052 | type: string |
| 1053 | LoraFinetuningConfig: |
| 1054 | additionalProperties: false |
| 1055 | properties: |
| 1056 | alpha: |
| 1057 | type: integer |
| 1058 | apply_lora_to_mlp: |
| 1059 | type: boolean |
| 1060 | apply_lora_to_output: |
| 1061 | type: boolean |
| 1062 | lora_attn_modules: |
| 1063 | items: |
| 1064 | type: string |
| 1065 | type: array |
| 1066 | rank: |
| 1067 | type: integer |
| 1068 | required: |
| 1069 | - lora_attn_modules |
| 1070 | - apply_lora_to_mlp |
| 1071 | - apply_lora_to_output |
| 1072 | - rank |
| 1073 | - alpha |
| 1074 | type: object |
| 1075 | MemoryBank: |
| 1076 | additionalProperties: false |
| 1077 | properties: |
| 1078 | bank_id: |
| 1079 | type: string |
| 1080 | config: |
| 1081 | oneOf: |
| 1082 | - additionalProperties: false |
| 1083 | properties: |
| 1084 | chunk_size_in_tokens: |
| 1085 | type: integer |
| 1086 | embedding_model: |
| 1087 | type: string |
| 1088 | overlap_size_in_tokens: |
| 1089 | type: integer |
| 1090 | type: |
| 1091 | const: vector |
| 1092 | type: string |
| 1093 | required: |
| 1094 | - type |
| 1095 | - embedding_model |
| 1096 | - chunk_size_in_tokens |
| 1097 | type: object |
| 1098 | - additionalProperties: false |
| 1099 | properties: |
| 1100 | type: |
| 1101 | const: keyvalue |
| 1102 | type: string |
| 1103 | required: |
| 1104 | - type |
| 1105 | type: object |
| 1106 | - additionalProperties: false |
| 1107 | properties: |
| 1108 | type: |
| 1109 | const: keyword |
| 1110 | type: string |
| 1111 | required: |
| 1112 | - type |
| 1113 | type: object |
| 1114 | - additionalProperties: false |
| 1115 | properties: |
| 1116 | type: |
| 1117 | const: graph |
| 1118 | type: string |
| 1119 | required: |
| 1120 | - type |
| 1121 | type: object |
| 1122 | name: |
| 1123 | type: string |
| 1124 | url: |
| 1125 | $ref: '#/components/schemas/URL' |
| 1126 | required: |
| 1127 | - bank_id |
| 1128 | - name |
| 1129 | - config |
| 1130 | type: object |
| 1131 | MemoryBankDocument: |
| 1132 | additionalProperties: false |
| 1133 | properties: |
| 1134 | content: |
| 1135 | oneOf: |
| 1136 | - type: string |
| 1137 | - items: |
| 1138 | type: string |
| 1139 | type: array |
| 1140 | - $ref: '#/components/schemas/URL' |
| 1141 | document_id: |
| 1142 | type: string |
| 1143 | metadata: |
| 1144 | additionalProperties: |
| 1145 | oneOf: |
| 1146 | - type: 'null' |
| 1147 | - type: boolean |
| 1148 | - type: number |
| 1149 | - type: string |
| 1150 | - type: array |
| 1151 | - type: object |
| 1152 | type: object |
| 1153 | mime_type: |
| 1154 | type: string |
| 1155 | required: |
| 1156 | - document_id |
| 1157 | - content |
| 1158 | - metadata |
| 1159 | type: object |
| 1160 | MemoryRetrievalStep: |
| 1161 | additionalProperties: false |
| 1162 | properties: |
| 1163 | completed_at: |
| 1164 | format: date-time |
| 1165 | type: string |
| 1166 | inserted_context: |
| 1167 | oneOf: |
| 1168 | - type: string |
| 1169 | - items: |
| 1170 | type: string |
| 1171 | type: array |
| 1172 | memory_bank_ids: |
| 1173 | items: |
| 1174 | type: string |
| 1175 | type: array |
| 1176 | started_at: |
| 1177 | format: date-time |
| 1178 | type: string |
| 1179 | step_id: |
| 1180 | type: string |
| 1181 | step_type: |
| 1182 | const: memory_retrieval |
| 1183 | type: string |
| 1184 | turn_id: |
| 1185 | type: string |
| 1186 | required: |
| 1187 | - turn_id |
| 1188 | - step_id |
| 1189 | - step_type |
| 1190 | - memory_bank_ids |
| 1191 | - inserted_context |
| 1192 | type: object |
| 1193 | MetricEvent: |
| 1194 | additionalProperties: false |
| 1195 | properties: |
| 1196 | attributes: |
| 1197 | additionalProperties: |
| 1198 | oneOf: |
| 1199 | - type: 'null' |
| 1200 | - type: boolean |
| 1201 | - type: number |
| 1202 | - type: string |
| 1203 | - type: array |
| 1204 | - type: object |
| 1205 | type: object |
| 1206 | metric: |
| 1207 | type: string |
| 1208 | span_id: |
| 1209 | type: string |
| 1210 | timestamp: |
| 1211 | format: date-time |
| 1212 | type: string |
| 1213 | trace_id: |
| 1214 | type: string |
| 1215 | type: |
| 1216 | const: metric |
| 1217 | type: string |
| 1218 | unit: |
| 1219 | type: string |
| 1220 | value: |
| 1221 | oneOf: |
| 1222 | - type: integer |
| 1223 | - type: number |
| 1224 | required: |
| 1225 | - trace_id |
| 1226 | - span_id |
| 1227 | - timestamp |
| 1228 | - type |
| 1229 | - metric |
| 1230 | - value |
| 1231 | - unit |
| 1232 | type: object |
| 1233 | OnViolationAction: |
| 1234 | enum: |
| 1235 | - 0 |
| 1236 | - 1 |
| 1237 | - 2 |
| 1238 | type: integer |
| 1239 | OptimizerConfig: |
| 1240 | additionalProperties: false |
| 1241 | properties: |
| 1242 | lr: |
| 1243 | type: number |
| 1244 | lr_min: |
| 1245 | type: number |
| 1246 | optimizer_type: |
| 1247 | enum: |
| 1248 | - adam |
| 1249 | - adamw |
| 1250 | - sgd |
| 1251 | type: string |
| 1252 | weight_decay: |
| 1253 | type: number |
| 1254 | required: |
| 1255 | - optimizer_type |
| 1256 | - lr |
| 1257 | - lr_min |
| 1258 | - weight_decay |
| 1259 | type: object |
| 1260 | PhotogenToolDefinition: |
| 1261 | additionalProperties: false |
| 1262 | properties: |
| 1263 | input_shields: |
| 1264 | items: |
| 1265 | $ref: '#/components/schemas/ShieldDefinition' |
| 1266 | type: array |
| 1267 | output_shields: |
| 1268 | items: |
| 1269 | $ref: '#/components/schemas/ShieldDefinition' |
| 1270 | type: array |
| 1271 | remote_execution: |
| 1272 | $ref: '#/components/schemas/RestAPIExecutionConfig' |
| 1273 | type: |
| 1274 | const: photogen |
| 1275 | type: string |
| 1276 | required: |
| 1277 | - type |
| 1278 | type: object |
| 1279 | PostTrainingJob: |
| 1280 | additionalProperties: false |
| 1281 | properties: |
| 1282 | job_uuid: |
| 1283 | type: string |
| 1284 | required: |
| 1285 | - job_uuid |
| 1286 | type: object |
| 1287 | PostTrainingJobArtifactsResponse: |
| 1288 | additionalProperties: false |
| 1289 | properties: |
| 1290 | checkpoints: |
| 1291 | items: |
| 1292 | $ref: '#/components/schemas/Checkpoint' |
| 1293 | type: array |
| 1294 | job_uuid: |
| 1295 | type: string |
| 1296 | required: |
| 1297 | - job_uuid |
| 1298 | - checkpoints |
| 1299 | title: Artifacts of a finetuning job. |
| 1300 | type: object |
| 1301 | PostTrainingJobLogStream: |
| 1302 | additionalProperties: false |
| 1303 | properties: |
| 1304 | job_uuid: |
| 1305 | type: string |
| 1306 | log_lines: |
| 1307 | items: |
| 1308 | type: string |
| 1309 | type: array |
| 1310 | required: |
| 1311 | - job_uuid |
| 1312 | - log_lines |
| 1313 | title: Stream of logs from a finetuning job. |
| 1314 | type: object |
| 1315 | PostTrainingJobStatus: |
| 1316 | enum: |
| 1317 | - running |
| 1318 | - completed |
| 1319 | - failed |
| 1320 | - scheduled |
| 1321 | type: string |
| 1322 | PostTrainingJobStatusResponse: |
| 1323 | additionalProperties: false |
| 1324 | properties: |
| 1325 | checkpoints: |
| 1326 | items: |
| 1327 | $ref: '#/components/schemas/Checkpoint' |
| 1328 | type: array |
| 1329 | completed_at: |
| 1330 | format: date-time |
| 1331 | type: string |
| 1332 | job_uuid: |
| 1333 | type: string |
| 1334 | resources_allocated: |
| 1335 | additionalProperties: |
| 1336 | oneOf: |
| 1337 | - type: 'null' |
| 1338 | - type: boolean |
| 1339 | - type: number |
| 1340 | - type: string |
| 1341 | - type: array |
| 1342 | - type: object |
| 1343 | type: object |
| 1344 | scheduled_at: |
| 1345 | format: date-time |
| 1346 | type: string |
| 1347 | started_at: |
| 1348 | format: date-time |
| 1349 | type: string |
| 1350 | status: |
| 1351 | $ref: '#/components/schemas/PostTrainingJobStatus' |
| 1352 | required: |
| 1353 | - job_uuid |
| 1354 | - status |
| 1355 | - checkpoints |
| 1356 | title: Status of a finetuning job. |
| 1357 | type: object |
| 1358 | PreferenceOptimizeRequest: |
| 1359 | additionalProperties: false |
| 1360 | properties: |
| 1361 | algorithm: |
| 1362 | $ref: '#/components/schemas/RLHFAlgorithm' |
| 1363 | algorithm_config: |
| 1364 | $ref: '#/components/schemas/DPOAlignmentConfig' |
| 1365 | dataset: |
| 1366 | $ref: '#/components/schemas/TrainEvalDataset' |
| 1367 | finetuned_model: |
| 1368 | $ref: '#/components/schemas/URL' |
| 1369 | hyperparam_search_config: |
| 1370 | additionalProperties: |
| 1371 | oneOf: |
| 1372 | - type: 'null' |
| 1373 | - type: boolean |
| 1374 | - type: number |
| 1375 | - type: string |
| 1376 | - type: array |
| 1377 | - type: object |
| 1378 | type: object |
| 1379 | job_uuid: |
| 1380 | type: string |
| 1381 | logger_config: |
| 1382 | additionalProperties: |
| 1383 | oneOf: |
| 1384 | - type: 'null' |
| 1385 | - type: boolean |
| 1386 | - type: number |
| 1387 | - type: string |
| 1388 | - type: array |
| 1389 | - type: object |
| 1390 | type: object |
| 1391 | optimizer_config: |
| 1392 | $ref: '#/components/schemas/OptimizerConfig' |
| 1393 | training_config: |
| 1394 | $ref: '#/components/schemas/TrainingConfig' |
| 1395 | validation_dataset: |
| 1396 | $ref: '#/components/schemas/TrainEvalDataset' |
| 1397 | required: |
| 1398 | - job_uuid |
| 1399 | - finetuned_model |
| 1400 | - dataset |
| 1401 | - validation_dataset |
| 1402 | - algorithm |
| 1403 | - algorithm_config |
| 1404 | - optimizer_config |
| 1405 | - training_config |
| 1406 | - hyperparam_search_config |
| 1407 | - logger_config |
| 1408 | type: object |
| 1409 | QLoraFinetuningConfig: |
| 1410 | additionalProperties: false |
| 1411 | properties: |
| 1412 | alpha: |
| 1413 | type: integer |
| 1414 | apply_lora_to_mlp: |
| 1415 | type: boolean |
| 1416 | apply_lora_to_output: |
| 1417 | type: boolean |
| 1418 | lora_attn_modules: |
| 1419 | items: |
| 1420 | type: string |
| 1421 | type: array |
| 1422 | rank: |
| 1423 | type: integer |
| 1424 | required: |
| 1425 | - lora_attn_modules |
| 1426 | - apply_lora_to_mlp |
| 1427 | - apply_lora_to_output |
| 1428 | - rank |
| 1429 | - alpha |
| 1430 | type: object |
| 1431 | QueryDocumentsRequest: |
| 1432 | additionalProperties: false |
| 1433 | properties: |
| 1434 | bank_id: |
| 1435 | type: string |
| 1436 | params: |
| 1437 | additionalProperties: |
| 1438 | oneOf: |
| 1439 | - type: 'null' |
| 1440 | - type: boolean |
| 1441 | - type: number |
| 1442 | - type: string |
| 1443 | - type: array |
| 1444 | - type: object |
| 1445 | type: object |
| 1446 | query: |
| 1447 | oneOf: |
| 1448 | - type: string |
| 1449 | - items: |
| 1450 | type: string |
| 1451 | type: array |
| 1452 | required: |
| 1453 | - bank_id |
| 1454 | - query |
| 1455 | type: object |
| 1456 | QueryDocumentsResponse: |
| 1457 | additionalProperties: false |
| 1458 | properties: |
| 1459 | chunks: |
| 1460 | items: |
| 1461 | additionalProperties: false |
| 1462 | properties: |
| 1463 | content: |
| 1464 | oneOf: |
| 1465 | - type: string |
| 1466 | - items: |
| 1467 | type: string |
| 1468 | type: array |
| 1469 | document_id: |
| 1470 | type: string |
| 1471 | token_count: |
| 1472 | type: integer |
| 1473 | required: |
| 1474 | - content |
| 1475 | - token_count |
| 1476 | - document_id |
| 1477 | type: object |
| 1478 | type: array |
| 1479 | scores: |
| 1480 | items: |
| 1481 | type: number |
| 1482 | type: array |
| 1483 | required: |
| 1484 | - chunks |
| 1485 | - scores |
| 1486 | type: object |
| 1487 | RLHFAlgorithm: |
| 1488 | enum: |
| 1489 | - dpo |
| 1490 | type: string |
| 1491 | RestAPIExecutionConfig: |
| 1492 | additionalProperties: false |
| 1493 | properties: |
| 1494 | body: |
| 1495 | additionalProperties: |
| 1496 | oneOf: |
| 1497 | - type: 'null' |
| 1498 | - type: boolean |
| 1499 | - type: number |
| 1500 | - type: string |
| 1501 | - type: array |
| 1502 | - type: object |
| 1503 | type: object |
| 1504 | headers: |
| 1505 | additionalProperties: |
| 1506 | oneOf: |
| 1507 | - type: 'null' |
| 1508 | - type: boolean |
| 1509 | - type: number |
| 1510 | - type: string |
| 1511 | - type: array |
| 1512 | - type: object |
| 1513 | type: object |
| 1514 | method: |
| 1515 | $ref: '#/components/schemas/RestAPIMethod' |
| 1516 | params: |
| 1517 | additionalProperties: |
| 1518 | oneOf: |
| 1519 | - type: 'null' |
| 1520 | - type: boolean |
| 1521 | - type: number |
| 1522 | - type: string |
| 1523 | - type: array |
| 1524 | - type: object |
| 1525 | type: object |
| 1526 | url: |
| 1527 | $ref: '#/components/schemas/URL' |
| 1528 | required: |
| 1529 | - url |
| 1530 | - method |
| 1531 | type: object |
| 1532 | RestAPIMethod: |
| 1533 | enum: |
| 1534 | - GET |
| 1535 | - POST |
| 1536 | - PUT |
| 1537 | - DELETE |
| 1538 | type: string |
| 1539 | RewardScoreRequest: |
| 1540 | additionalProperties: false |
| 1541 | properties: |
| 1542 | dialog_generations: |
| 1543 | items: |
| 1544 | $ref: '#/components/schemas/DialogGenerations' |
| 1545 | type: array |
| 1546 | model: |
| 1547 | type: string |
| 1548 | required: |
| 1549 | - dialog_generations |
| 1550 | - model |
| 1551 | type: object |
| 1552 | RewardScoringResponse: |
| 1553 | additionalProperties: false |
| 1554 | properties: |
| 1555 | scored_generations: |
| 1556 | items: |
| 1557 | $ref: '#/components/schemas/ScoredDialogGenerations' |
| 1558 | type: array |
| 1559 | required: |
| 1560 | - scored_generations |
| 1561 | title: Response from the reward scoring. Batch of (prompt, response, score) |
| 1562 | tuples that pass the threshold. |
| 1563 | type: object |
| 1564 | RunShieldResponse: |
| 1565 | additionalProperties: false |
| 1566 | properties: |
| 1567 | responses: |
| 1568 | items: |
| 1569 | $ref: '#/components/schemas/ShieldResponse' |
| 1570 | type: array |
| 1571 | required: |
| 1572 | - responses |
| 1573 | type: object |
| 1574 | RunShieldsRequest: |
| 1575 | additionalProperties: false |
| 1576 | properties: |
| 1577 | messages: |
| 1578 | items: |
| 1579 | oneOf: |
| 1580 | - $ref: '#/components/schemas/UserMessage' |
| 1581 | - $ref: '#/components/schemas/SystemMessage' |
| 1582 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 1583 | - $ref: '#/components/schemas/CompletionMessage' |
| 1584 | type: array |
| 1585 | shields: |
| 1586 | items: |
| 1587 | $ref: '#/components/schemas/ShieldDefinition' |
| 1588 | type: array |
| 1589 | required: |
| 1590 | - messages |
| 1591 | - shields |
| 1592 | type: object |
| 1593 | SamplingParams: |
| 1594 | additionalProperties: false |
| 1595 | properties: |
| 1596 | max_tokens: |
| 1597 | type: integer |
| 1598 | repetition_penalty: |
| 1599 | type: number |
| 1600 | strategy: |
| 1601 | $ref: '#/components/schemas/SamplingStrategy' |
| 1602 | temperature: |
| 1603 | type: number |
| 1604 | top_k: |
| 1605 | type: integer |
| 1606 | top_p: |
| 1607 | type: number |
| 1608 | required: |
| 1609 | - strategy |
| 1610 | type: object |
| 1611 | SamplingStrategy: |
| 1612 | enum: |
| 1613 | - greedy |
| 1614 | - top_p |
| 1615 | - top_k |
| 1616 | type: string |
| 1617 | ScoredDialogGenerations: |
| 1618 | additionalProperties: false |
| 1619 | properties: |
| 1620 | dialog: |
| 1621 | items: |
| 1622 | oneOf: |
| 1623 | - $ref: '#/components/schemas/UserMessage' |
| 1624 | - $ref: '#/components/schemas/SystemMessage' |
| 1625 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 1626 | - $ref: '#/components/schemas/CompletionMessage' |
| 1627 | type: array |
| 1628 | scored_generations: |
| 1629 | items: |
| 1630 | $ref: '#/components/schemas/ScoredMessage' |
| 1631 | type: array |
| 1632 | required: |
| 1633 | - dialog |
| 1634 | - scored_generations |
| 1635 | type: object |
| 1636 | ScoredMessage: |
| 1637 | additionalProperties: false |
| 1638 | properties: |
| 1639 | message: |
| 1640 | oneOf: |
| 1641 | - $ref: '#/components/schemas/UserMessage' |
| 1642 | - $ref: '#/components/schemas/SystemMessage' |
| 1643 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 1644 | - $ref: '#/components/schemas/CompletionMessage' |
| 1645 | score: |
| 1646 | type: number |
| 1647 | required: |
| 1648 | - message |
| 1649 | - score |
| 1650 | type: object |
| 1651 | SearchToolDefinition: |
| 1652 | additionalProperties: false |
| 1653 | properties: |
| 1654 | api_key: |
| 1655 | type: string |
| 1656 | engine: |
| 1657 | enum: |
| 1658 | - bing |
| 1659 | - brave |
| 1660 | type: string |
| 1661 | input_shields: |
| 1662 | items: |
| 1663 | $ref: '#/components/schemas/ShieldDefinition' |
| 1664 | type: array |
| 1665 | output_shields: |
| 1666 | items: |
| 1667 | $ref: '#/components/schemas/ShieldDefinition' |
| 1668 | type: array |
| 1669 | remote_execution: |
| 1670 | $ref: '#/components/schemas/RestAPIExecutionConfig' |
| 1671 | type: |
| 1672 | const: brave_search |
| 1673 | type: string |
| 1674 | required: |
| 1675 | - type |
| 1676 | - api_key |
| 1677 | - engine |
| 1678 | type: object |
| 1679 | Session: |
| 1680 | additionalProperties: false |
| 1681 | properties: |
| 1682 | memory_bank: |
| 1683 | $ref: '#/components/schemas/MemoryBank' |
| 1684 | session_id: |
| 1685 | type: string |
| 1686 | session_name: |
| 1687 | type: string |
| 1688 | started_at: |
| 1689 | format: date-time |
| 1690 | type: string |
| 1691 | turns: |
| 1692 | items: |
| 1693 | $ref: '#/components/schemas/Turn' |
| 1694 | type: array |
| 1695 | required: |
| 1696 | - session_id |
| 1697 | - session_name |
| 1698 | - turns |
| 1699 | - started_at |
| 1700 | title: A single session of an interaction with an Agentic System. |
| 1701 | type: object |
| 1702 | ShieldCallStep: |
| 1703 | additionalProperties: false |
| 1704 | properties: |
| 1705 | completed_at: |
| 1706 | format: date-time |
| 1707 | type: string |
| 1708 | response: |
| 1709 | $ref: '#/components/schemas/ShieldResponse' |
| 1710 | started_at: |
| 1711 | format: date-time |
| 1712 | type: string |
| 1713 | step_id: |
| 1714 | type: string |
| 1715 | step_type: |
| 1716 | const: shield_call |
| 1717 | type: string |
| 1718 | turn_id: |
| 1719 | type: string |
| 1720 | required: |
| 1721 | - turn_id |
| 1722 | - step_id |
| 1723 | - step_type |
| 1724 | - response |
| 1725 | type: object |
| 1726 | ShieldDefinition: |
| 1727 | additionalProperties: false |
| 1728 | properties: |
| 1729 | description: |
| 1730 | type: string |
| 1731 | execution_config: |
| 1732 | $ref: '#/components/schemas/RestAPIExecutionConfig' |
| 1733 | on_violation_action: |
| 1734 | $ref: '#/components/schemas/OnViolationAction' |
| 1735 | parameters: |
| 1736 | additionalProperties: |
| 1737 | $ref: '#/components/schemas/ToolParamDefinition' |
| 1738 | type: object |
| 1739 | shield_type: |
| 1740 | oneOf: |
| 1741 | - $ref: '#/components/schemas/BuiltinShield' |
| 1742 | - type: string |
| 1743 | required: |
| 1744 | - shield_type |
| 1745 | - on_violation_action |
| 1746 | type: object |
| 1747 | ShieldResponse: |
| 1748 | additionalProperties: false |
| 1749 | properties: |
| 1750 | is_violation: |
| 1751 | type: boolean |
| 1752 | shield_type: |
| 1753 | oneOf: |
| 1754 | - $ref: '#/components/schemas/BuiltinShield' |
| 1755 | - type: string |
| 1756 | violation_return_message: |
| 1757 | type: string |
| 1758 | violation_type: |
| 1759 | type: string |
| 1760 | required: |
| 1761 | - shield_type |
| 1762 | - is_violation |
| 1763 | type: object |
| 1764 | SpanEndPayload: |
| 1765 | additionalProperties: false |
| 1766 | properties: |
| 1767 | status: |
| 1768 | $ref: '#/components/schemas/SpanStatus' |
| 1769 | type: |
| 1770 | const: span_end |
| 1771 | type: string |
| 1772 | required: |
| 1773 | - type |
| 1774 | - status |
| 1775 | type: object |
| 1776 | SpanStartPayload: |
| 1777 | additionalProperties: false |
| 1778 | properties: |
| 1779 | name: |
| 1780 | type: string |
| 1781 | parent_span_id: |
| 1782 | type: string |
| 1783 | type: |
| 1784 | const: span_start |
| 1785 | type: string |
| 1786 | required: |
| 1787 | - type |
| 1788 | - name |
| 1789 | type: object |
| 1790 | SpanStatus: |
| 1791 | enum: |
| 1792 | - ok |
| 1793 | - error |
| 1794 | type: string |
| 1795 | StopReason: |
| 1796 | enum: |
| 1797 | - end_of_turn |
| 1798 | - end_of_message |
| 1799 | - out_of_tokens |
| 1800 | type: string |
| 1801 | StructuredLogEvent: |
| 1802 | additionalProperties: false |
| 1803 | properties: |
| 1804 | attributes: |
| 1805 | additionalProperties: |
| 1806 | oneOf: |
| 1807 | - type: 'null' |
| 1808 | - type: boolean |
| 1809 | - type: number |
| 1810 | - type: string |
| 1811 | - type: array |
| 1812 | - type: object |
| 1813 | type: object |
| 1814 | payload: |
| 1815 | oneOf: |
| 1816 | - $ref: '#/components/schemas/SpanStartPayload' |
| 1817 | - $ref: '#/components/schemas/SpanEndPayload' |
| 1818 | span_id: |
| 1819 | type: string |
| 1820 | timestamp: |
| 1821 | format: date-time |
| 1822 | type: string |
| 1823 | trace_id: |
| 1824 | type: string |
| 1825 | type: |
| 1826 | const: structured_log |
| 1827 | type: string |
| 1828 | required: |
| 1829 | - trace_id |
| 1830 | - span_id |
| 1831 | - timestamp |
| 1832 | - type |
| 1833 | - payload |
| 1834 | type: object |
| 1835 | SupervisedFineTuneRequest: |
| 1836 | additionalProperties: false |
| 1837 | properties: |
| 1838 | algorithm: |
| 1839 | $ref: '#/components/schemas/FinetuningAlgorithm' |
| 1840 | algorithm_config: |
| 1841 | oneOf: |
| 1842 | - $ref: '#/components/schemas/LoraFinetuningConfig' |
| 1843 | - $ref: '#/components/schemas/QLoraFinetuningConfig' |
| 1844 | - $ref: '#/components/schemas/DoraFinetuningConfig' |
| 1845 | dataset: |
| 1846 | $ref: '#/components/schemas/TrainEvalDataset' |
| 1847 | hyperparam_search_config: |
| 1848 | additionalProperties: |
| 1849 | oneOf: |
| 1850 | - type: 'null' |
| 1851 | - type: boolean |
| 1852 | - type: number |
| 1853 | - type: string |
| 1854 | - type: array |
| 1855 | - type: object |
| 1856 | type: object |
| 1857 | job_uuid: |
| 1858 | type: string |
| 1859 | logger_config: |
| 1860 | additionalProperties: |
| 1861 | oneOf: |
| 1862 | - type: 'null' |
| 1863 | - type: boolean |
| 1864 | - type: number |
| 1865 | - type: string |
| 1866 | - type: array |
| 1867 | - type: object |
| 1868 | type: object |
| 1869 | model: |
| 1870 | type: string |
| 1871 | optimizer_config: |
| 1872 | $ref: '#/components/schemas/OptimizerConfig' |
| 1873 | training_config: |
| 1874 | $ref: '#/components/schemas/TrainingConfig' |
| 1875 | validation_dataset: |
| 1876 | $ref: '#/components/schemas/TrainEvalDataset' |
| 1877 | required: |
| 1878 | - job_uuid |
| 1879 | - model |
| 1880 | - dataset |
| 1881 | - validation_dataset |
| 1882 | - algorithm |
| 1883 | - algorithm_config |
| 1884 | - optimizer_config |
| 1885 | - training_config |
| 1886 | - hyperparam_search_config |
| 1887 | - logger_config |
| 1888 | type: object |
| 1889 | SyntheticDataGenerateRequest: |
| 1890 | additionalProperties: false |
| 1891 | properties: |
| 1892 | dialogs: |
| 1893 | items: |
| 1894 | oneOf: |
| 1895 | - $ref: '#/components/schemas/UserMessage' |
| 1896 | - $ref: '#/components/schemas/SystemMessage' |
| 1897 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 1898 | - $ref: '#/components/schemas/CompletionMessage' |
| 1899 | type: array |
| 1900 | filtering_function: |
| 1901 | enum: |
| 1902 | - none |
| 1903 | - random |
| 1904 | - top_k |
| 1905 | - top_p |
| 1906 | - top_k_top_p |
| 1907 | - sigmoid |
| 1908 | title: The type of filtering function. |
| 1909 | type: string |
| 1910 | model: |
| 1911 | type: string |
| 1912 | required: |
| 1913 | - dialogs |
| 1914 | - filtering_function |
| 1915 | type: object |
| 1916 | SyntheticDataGenerationResponse: |
| 1917 | additionalProperties: false |
| 1918 | properties: |
| 1919 | statistics: |
| 1920 | additionalProperties: |
| 1921 | oneOf: |
| 1922 | - type: 'null' |
| 1923 | - type: boolean |
| 1924 | - type: number |
| 1925 | - type: string |
| 1926 | - type: array |
| 1927 | - type: object |
| 1928 | type: object |
| 1929 | synthetic_data: |
| 1930 | items: |
| 1931 | $ref: '#/components/schemas/ScoredDialogGenerations' |
| 1932 | type: array |
| 1933 | required: |
| 1934 | - synthetic_data |
| 1935 | title: Response from the synthetic data generation. Batch of (prompt, response, |
| 1936 | score) tuples that pass the threshold. |
| 1937 | type: object |
| 1938 | SystemMessage: |
| 1939 | additionalProperties: false |
| 1940 | properties: |
| 1941 | content: |
| 1942 | oneOf: |
| 1943 | - type: string |
| 1944 | - items: |
| 1945 | type: string |
| 1946 | type: array |
| 1947 | role: |
| 1948 | const: system |
| 1949 | type: string |
| 1950 | required: |
| 1951 | - role |
| 1952 | - content |
| 1953 | type: object |
| 1954 | TokenLogProbs: |
| 1955 | additionalProperties: false |
| 1956 | properties: |
| 1957 | logprobs_by_token: |
| 1958 | additionalProperties: |
| 1959 | type: number |
| 1960 | type: object |
| 1961 | required: |
| 1962 | - logprobs_by_token |
| 1963 | type: object |
| 1964 | ToolCall: |
| 1965 | additionalProperties: false |
| 1966 | properties: |
| 1967 | arguments: |
| 1968 | additionalProperties: |
| 1969 | oneOf: |
| 1970 | - type: string |
| 1971 | - type: integer |
| 1972 | - type: number |
| 1973 | - type: boolean |
| 1974 | - type: 'null' |
| 1975 | - items: |
| 1976 | oneOf: |
| 1977 | - type: string |
| 1978 | - type: integer |
| 1979 | - type: number |
| 1980 | - type: boolean |
| 1981 | - type: 'null' |
| 1982 | type: array |
| 1983 | - additionalProperties: |
| 1984 | oneOf: |
| 1985 | - type: string |
| 1986 | - type: integer |
| 1987 | - type: number |
| 1988 | - type: boolean |
| 1989 | - type: 'null' |
| 1990 | type: object |
| 1991 | type: object |
| 1992 | call_id: |
| 1993 | type: string |
| 1994 | tool_name: |
| 1995 | oneOf: |
| 1996 | - $ref: '#/components/schemas/BuiltinTool' |
| 1997 | - type: string |
| 1998 | required: |
| 1999 | - call_id |
| 2000 | - tool_name |
| 2001 | - arguments |
| 2002 | type: object |
| 2003 | ToolCallDelta: |
| 2004 | additionalProperties: false |
| 2005 | properties: |
| 2006 | content: |
| 2007 | oneOf: |
| 2008 | - type: string |
| 2009 | - $ref: '#/components/schemas/ToolCall' |
| 2010 | parse_status: |
| 2011 | $ref: '#/components/schemas/ToolCallParseStatus' |
| 2012 | required: |
| 2013 | - content |
| 2014 | - parse_status |
| 2015 | type: object |
| 2016 | ToolCallParseStatus: |
| 2017 | enum: |
| 2018 | - started |
| 2019 | - in_progress |
| 2020 | - failure |
| 2021 | - success |
| 2022 | type: string |
| 2023 | ToolChoice: |
| 2024 | enum: |
| 2025 | - auto |
| 2026 | - required |
| 2027 | type: string |
| 2028 | ToolDefinition: |
| 2029 | additionalProperties: false |
| 2030 | properties: |
| 2031 | description: |
| 2032 | type: string |
| 2033 | parameters: |
| 2034 | additionalProperties: |
| 2035 | $ref: '#/components/schemas/ToolParamDefinition' |
| 2036 | type: object |
| 2037 | tool_name: |
| 2038 | oneOf: |
| 2039 | - $ref: '#/components/schemas/BuiltinTool' |
| 2040 | - type: string |
| 2041 | required: |
| 2042 | - tool_name |
| 2043 | type: object |
| 2044 | ToolExecutionStep: |
| 2045 | additionalProperties: false |
| 2046 | properties: |
| 2047 | completed_at: |
| 2048 | format: date-time |
| 2049 | type: string |
| 2050 | started_at: |
| 2051 | format: date-time |
| 2052 | type: string |
| 2053 | step_id: |
| 2054 | type: string |
| 2055 | step_type: |
| 2056 | const: tool_execution |
| 2057 | type: string |
| 2058 | tool_calls: |
| 2059 | items: |
| 2060 | $ref: '#/components/schemas/ToolCall' |
| 2061 | type: array |
| 2062 | tool_responses: |
| 2063 | items: |
| 2064 | $ref: '#/components/schemas/ToolResponse' |
| 2065 | type: array |
| 2066 | turn_id: |
| 2067 | type: string |
| 2068 | required: |
| 2069 | - turn_id |
| 2070 | - step_id |
| 2071 | - step_type |
| 2072 | - tool_calls |
| 2073 | - tool_responses |
| 2074 | type: object |
| 2075 | ToolParamDefinition: |
| 2076 | additionalProperties: false |
| 2077 | properties: |
| 2078 | description: |
| 2079 | type: string |
| 2080 | param_type: |
| 2081 | type: string |
| 2082 | required: |
| 2083 | type: boolean |
| 2084 | required: |
| 2085 | - param_type |
| 2086 | type: object |
| 2087 | ToolPromptFormat: |
| 2088 | description: "`json` --\n Refers to the json format for calling tools.\n\ |
| 2089 | \ The json format takes the form like\n {\n \"type\": \"function\"\ |
| 2090 | ,\n \"function\" : {\n \"name\": \"function_name\",\n \ |
| 2091 | \ \"description\": \"function_description\",\n \"parameters\"\ |
| 2092 | : {...}\n }\n }\n\n`function_tag` --\n This is an example of\ |
| 2093 | \ how you could define\n your own user defined format for making tool calls.\n\ |
| 2094 | \ The function_tag format looks like this,\n <function=function_name>(parameters)</function>\n\ |
| 2095 | \nThe detailed prompts for each of these formats are added to llama cli" |
| 2096 | enum: |
| 2097 | - json |
| 2098 | - function_tag |
| 2099 | title: This Enum refers to the prompt format for calling custom / zero shot |
| 2100 | tools |
| 2101 | type: string |
| 2102 | ToolResponse: |
| 2103 | additionalProperties: false |
| 2104 | properties: |
| 2105 | call_id: |
| 2106 | type: string |
| 2107 | content: |
| 2108 | oneOf: |
| 2109 | - type: string |
| 2110 | - items: |
| 2111 | type: string |
| 2112 | type: array |
| 2113 | tool_name: |
| 2114 | oneOf: |
| 2115 | - $ref: '#/components/schemas/BuiltinTool' |
| 2116 | - type: string |
| 2117 | required: |
| 2118 | - call_id |
| 2119 | - tool_name |
| 2120 | - content |
| 2121 | type: object |
| 2122 | ToolResponseMessage: |
| 2123 | additionalProperties: false |
| 2124 | properties: |
| 2125 | call_id: |
| 2126 | type: string |
| 2127 | content: |
| 2128 | oneOf: |
| 2129 | - type: string |
| 2130 | - items: |
| 2131 | type: string |
| 2132 | type: array |
| 2133 | role: |
| 2134 | const: ipython |
| 2135 | type: string |
| 2136 | tool_name: |
| 2137 | oneOf: |
| 2138 | - $ref: '#/components/schemas/BuiltinTool' |
| 2139 | - type: string |
| 2140 | required: |
| 2141 | - role |
| 2142 | - call_id |
| 2143 | - tool_name |
| 2144 | - content |
| 2145 | type: object |
| 2146 | Trace: |
| 2147 | additionalProperties: false |
| 2148 | properties: |
| 2149 | end_time: |
| 2150 | format: date-time |
| 2151 | type: string |
| 2152 | root_span_id: |
| 2153 | type: string |
| 2154 | start_time: |
| 2155 | format: date-time |
| 2156 | type: string |
| 2157 | trace_id: |
| 2158 | type: string |
| 2159 | required: |
| 2160 | - trace_id |
| 2161 | - root_span_id |
| 2162 | - start_time |
| 2163 | type: object |
| 2164 | TrainEvalDataset: |
| 2165 | additionalProperties: false |
| 2166 | properties: |
| 2167 | columns: |
| 2168 | additionalProperties: |
| 2169 | $ref: '#/components/schemas/TrainEvalDatasetColumnType' |
| 2170 | type: object |
| 2171 | content_url: |
| 2172 | $ref: '#/components/schemas/URL' |
| 2173 | metadata: |
| 2174 | additionalProperties: |
| 2175 | oneOf: |
| 2176 | - type: 'null' |
| 2177 | - type: boolean |
| 2178 | - type: number |
| 2179 | - type: string |
| 2180 | - type: array |
| 2181 | - type: object |
| 2182 | type: object |
| 2183 | required: |
| 2184 | - columns |
| 2185 | - content_url |
| 2186 | title: Dataset to be used for training or evaluating language models. |
| 2187 | type: object |
| 2188 | TrainEvalDatasetColumnType: |
| 2189 | enum: |
| 2190 | - dialog |
| 2191 | - text |
| 2192 | - media |
| 2193 | - number |
| 2194 | - json |
| 2195 | type: string |
| 2196 | TrainingConfig: |
| 2197 | additionalProperties: false |
| 2198 | properties: |
| 2199 | batch_size: |
| 2200 | type: integer |
| 2201 | enable_activation_checkpointing: |
| 2202 | type: boolean |
| 2203 | fsdp_cpu_offload: |
| 2204 | type: boolean |
| 2205 | memory_efficient_fsdp_wrap: |
| 2206 | type: boolean |
| 2207 | n_epochs: |
| 2208 | type: integer |
| 2209 | n_iters: |
| 2210 | type: integer |
| 2211 | shuffle: |
| 2212 | type: boolean |
| 2213 | required: |
| 2214 | - n_epochs |
| 2215 | - batch_size |
| 2216 | - shuffle |
| 2217 | - n_iters |
| 2218 | - enable_activation_checkpointing |
| 2219 | - memory_efficient_fsdp_wrap |
| 2220 | - fsdp_cpu_offload |
| 2221 | type: object |
| 2222 | Turn: |
| 2223 | additionalProperties: false |
| 2224 | properties: |
| 2225 | completed_at: |
| 2226 | format: date-time |
| 2227 | type: string |
| 2228 | input_messages: |
| 2229 | items: |
| 2230 | oneOf: |
| 2231 | - $ref: '#/components/schemas/UserMessage' |
| 2232 | - $ref: '#/components/schemas/ToolResponseMessage' |
| 2233 | type: array |
| 2234 | output_attachments: |
| 2235 | items: |
| 2236 | $ref: '#/components/schemas/Attachment' |
| 2237 | type: array |
| 2238 | output_message: |
| 2239 | $ref: '#/components/schemas/CompletionMessage' |
| 2240 | session_id: |
| 2241 | type: string |
| 2242 | started_at: |
| 2243 | format: date-time |
| 2244 | type: string |
| 2245 | steps: |
| 2246 | items: |
| 2247 | oneOf: |
| 2248 | - $ref: '#/components/schemas/InferenceStep' |
| 2249 | - $ref: '#/components/schemas/ToolExecutionStep' |
| 2250 | - $ref: '#/components/schemas/ShieldCallStep' |
| 2251 | - $ref: '#/components/schemas/MemoryRetrievalStep' |
| 2252 | type: array |
| 2253 | turn_id: |
| 2254 | type: string |
| 2255 | required: |
| 2256 | - turn_id |
| 2257 | - session_id |
| 2258 | - input_messages |
| 2259 | - steps |
| 2260 | - output_message |
| 2261 | - output_attachments |
| 2262 | - started_at |
| 2263 | title: A single turn in an interaction with an Agentic System. |
| 2264 | type: object |
| 2265 | URL: |
| 2266 | format: uri |
| 2267 | pattern: ^(https?://|file://|data:) |
| 2268 | type: string |
| 2269 | UnstructuredLogEvent: |
| 2270 | additionalProperties: false |
| 2271 | properties: |
| 2272 | attributes: |
| 2273 | additionalProperties: |
| 2274 | oneOf: |
| 2275 | - type: 'null' |
| 2276 | - type: boolean |
| 2277 | - type: number |
| 2278 | - type: string |
| 2279 | - type: array |
| 2280 | - type: object |
| 2281 | type: object |
| 2282 | message: |
| 2283 | type: string |
| 2284 | severity: |
| 2285 | $ref: '#/components/schemas/LogSeverity' |
| 2286 | span_id: |
| 2287 | type: string |
| 2288 | timestamp: |
| 2289 | format: date-time |
| 2290 | type: string |
| 2291 | trace_id: |
| 2292 | type: string |
| 2293 | type: |
| 2294 | const: unstructured_log |
| 2295 | type: string |
| 2296 | required: |
| 2297 | - trace_id |
| 2298 | - span_id |
| 2299 | - timestamp |
| 2300 | - type |
| 2301 | - message |
| 2302 | - severity |
| 2303 | type: object |
| 2304 | UpdateDocumentsRequest: |
| 2305 | additionalProperties: false |
| 2306 | properties: |
| 2307 | bank_id: |
| 2308 | type: string |
| 2309 | documents: |
| 2310 | items: |
| 2311 | $ref: '#/components/schemas/MemoryBankDocument' |
| 2312 | type: array |
| 2313 | required: |
| 2314 | - bank_id |
| 2315 | - documents |
| 2316 | type: object |
| 2317 | UserMessage: |
| 2318 | additionalProperties: false |
| 2319 | properties: |
| 2320 | content: |
| 2321 | oneOf: |
| 2322 | - type: string |
| 2323 | - items: |
| 2324 | type: string |
| 2325 | type: array |
| 2326 | context: |
| 2327 | oneOf: |
| 2328 | - type: string |
| 2329 | - items: |
| 2330 | type: string |
| 2331 | type: array |
| 2332 | role: |
| 2333 | const: user |
| 2334 | type: string |
| 2335 | required: |
| 2336 | - role |
| 2337 | - content |
| 2338 | type: object |
| 2339 | WolframAlphaToolDefinition: |
| 2340 | additionalProperties: false |
| 2341 | properties: |
| 2342 | api_key: |
| 2343 | type: string |
| 2344 | input_shields: |
| 2345 | items: |
| 2346 | $ref: '#/components/schemas/ShieldDefinition' |
| 2347 | type: array |
| 2348 | output_shields: |
| 2349 | items: |
| 2350 | $ref: '#/components/schemas/ShieldDefinition' |
| 2351 | type: array |
| 2352 | remote_execution: |
| 2353 | $ref: '#/components/schemas/RestAPIExecutionConfig' |
| 2354 | type: |
| 2355 | const: wolfram_alpha |
| 2356 | type: string |
| 2357 | required: |
| 2358 | - type |
| 2359 | - api_key |
| 2360 | type: object |
| 2361 | info: |
| 2362 | description: "This is the specification of the llama stack that provides\n \ |
| 2363 | \ a set of endpoints and their corresponding interfaces that are tailored\ |
| 2364 | \ to\n best leverage Llama Models. The specification is still in\ |
| 2365 | \ draft and subject to change.\n Generated at 2024-09-18 19:27:39.955190" |
| 2366 | title: '[DRAFT] Llama Stack Specification' |
| 2367 | version: 0.0.1 |
| 2368 | jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema |
| 2369 | openapi: 3.1.0 |
| 2370 | paths: |
| 2371 | /agents/create: |
| 2372 | post: |
| 2373 | parameters: [] |
| 2374 | requestBody: |
| 2375 | content: |
| 2376 | application/json: |
| 2377 | schema: |
| 2378 | $ref: '#/components/schemas/CreateAgentRequest' |
| 2379 | required: true |
| 2380 | responses: |
| 2381 | '200': |
| 2382 | content: |
| 2383 | application/json: |
| 2384 | schema: |
| 2385 | $ref: '#/components/schemas/AgentCreateResponse' |
| 2386 | description: OK |
| 2387 | tags: |
| 2388 | - Agents |
| 2389 | /agents/delete: |
| 2390 | post: |
| 2391 | parameters: [] |
| 2392 | requestBody: |
| 2393 | content: |
| 2394 | application/json: |
| 2395 | schema: |
| 2396 | $ref: '#/components/schemas/DeleteAgentsRequest' |
| 2397 | required: true |
| 2398 | responses: |
| 2399 | '200': |
| 2400 | description: OK |
| 2401 | tags: |
| 2402 | - Agents |
| 2403 | /agents/session/create: |
| 2404 | post: |
| 2405 | parameters: [] |
| 2406 | requestBody: |
| 2407 | content: |
| 2408 | application/json: |
| 2409 | schema: |
| 2410 | $ref: '#/components/schemas/CreateAgentSessionRequest' |
| 2411 | required: true |
| 2412 | responses: |
| 2413 | '200': |
| 2414 | content: |
| 2415 | application/json: |
| 2416 | schema: |
| 2417 | $ref: '#/components/schemas/AgentSessionCreateResponse' |
| 2418 | description: OK |
| 2419 | tags: |
| 2420 | - Agents |
| 2421 | /agents/session/delete: |
| 2422 | post: |
| 2423 | parameters: [] |
| 2424 | requestBody: |
| 2425 | content: |
| 2426 | application/json: |
| 2427 | schema: |
| 2428 | $ref: '#/components/schemas/DeleteAgentsSessionRequest' |
| 2429 | required: true |
| 2430 | responses: |
| 2431 | '200': |
| 2432 | description: OK |
| 2433 | tags: |
| 2434 | - Agents |
| 2435 | /agents/session/get: |
| 2436 | post: |
| 2437 | parameters: |
| 2438 | - in: query |
| 2439 | name: agent_id |
| 2440 | required: true |
| 2441 | schema: |
| 2442 | type: string |
| 2443 | - in: query |
| 2444 | name: session_id |
| 2445 | required: true |
| 2446 | schema: |
| 2447 | type: string |
| 2448 | requestBody: |
| 2449 | content: |
| 2450 | application/json: |
| 2451 | schema: |
| 2452 | $ref: '#/components/schemas/GetAgentsSessionRequest' |
| 2453 | required: true |
| 2454 | responses: |
| 2455 | '200': |
| 2456 | content: |
| 2457 | application/json: |
| 2458 | schema: |
| 2459 | $ref: '#/components/schemas/Session' |
| 2460 | description: OK |
| 2461 | tags: |
| 2462 | - Agents |
| 2463 | /agents/step/get: |
| 2464 | get: |
| 2465 | parameters: |
| 2466 | - in: query |
| 2467 | name: agent_id |
| 2468 | required: true |
| 2469 | schema: |
| 2470 | type: string |
| 2471 | - in: query |
| 2472 | name: turn_id |
| 2473 | required: true |
| 2474 | schema: |
| 2475 | type: string |
| 2476 | - in: query |
| 2477 | name: step_id |
| 2478 | required: true |
| 2479 | schema: |
| 2480 | type: string |
| 2481 | responses: |
| 2482 | '200': |
| 2483 | content: |
| 2484 | application/json: |
| 2485 | schema: |
| 2486 | $ref: '#/components/schemas/AgentStepResponse' |
| 2487 | description: OK |
| 2488 | tags: |
| 2489 | - Agents |
| 2490 | /agents/turn/create: |
| 2491 | post: |
| 2492 | parameters: [] |
| 2493 | requestBody: |
| 2494 | content: |
| 2495 | application/json: |
| 2496 | schema: |
| 2497 | $ref: '#/components/schemas/CreateAgentTurnRequest' |
| 2498 | required: true |
| 2499 | responses: |
| 2500 | '200': |
| 2501 | content: |
| 2502 | application/json: |
| 2503 | schema: |
| 2504 | $ref: '#/components/schemas/AgentTurnResponseStreamChunk' |
| 2505 | description: OK |
| 2506 | tags: |
| 2507 | - Agents |
| 2508 | /agents/turn/get: |
| 2509 | get: |
| 2510 | parameters: |
| 2511 | - in: query |
| 2512 | name: agent_id |
| 2513 | required: true |
| 2514 | schema: |
| 2515 | type: string |
| 2516 | - in: query |
| 2517 | name: turn_id |
| 2518 | required: true |
| 2519 | schema: |
| 2520 | type: string |
| 2521 | responses: |
| 2522 | '200': |
| 2523 | content: |
| 2524 | application/json: |
| 2525 | schema: |
| 2526 | $ref: '#/components/schemas/Turn' |
| 2527 | description: OK |
| 2528 | tags: |
| 2529 | - Agents |
| 2530 | /batch_inference/chat_completion: |
| 2531 | post: |
| 2532 | parameters: [] |
| 2533 | requestBody: |
| 2534 | content: |
| 2535 | application/json: |
| 2536 | schema: |
| 2537 | $ref: '#/components/schemas/BatchChatCompletionRequest' |
| 2538 | required: true |
| 2539 | responses: |
| 2540 | '200': |
| 2541 | content: |
| 2542 | application/json: |
| 2543 | schema: |
| 2544 | $ref: '#/components/schemas/BatchChatCompletionResponse' |
| 2545 | description: OK |
| 2546 | tags: |
| 2547 | - BatchInference |
| 2548 | /batch_inference/completion: |
| 2549 | post: |
| 2550 | parameters: [] |
| 2551 | requestBody: |
| 2552 | content: |
| 2553 | application/json: |
| 2554 | schema: |
| 2555 | $ref: '#/components/schemas/BatchCompletionRequest' |
| 2556 | required: true |
| 2557 | responses: |
| 2558 | '200': |
| 2559 | content: |
| 2560 | application/json: |
| 2561 | schema: |
| 2562 | $ref: '#/components/schemas/BatchCompletionResponse' |
| 2563 | description: OK |
| 2564 | tags: |
| 2565 | - BatchInference |
| 2566 | /datasets/create: |
| 2567 | post: |
| 2568 | parameters: [] |
| 2569 | requestBody: |
| 2570 | content: |
| 2571 | application/json: |
| 2572 | schema: |
| 2573 | $ref: '#/components/schemas/CreateDatasetRequest' |
| 2574 | required: true |
| 2575 | responses: |
| 2576 | '200': |
| 2577 | description: OK |
| 2578 | tags: |
| 2579 | - Datasets |
| 2580 | /datasets/delete: |
| 2581 | post: |
| 2582 | parameters: [] |
| 2583 | requestBody: |
| 2584 | content: |
| 2585 | application/json: |
| 2586 | schema: |
| 2587 | $ref: '#/components/schemas/DeleteDatasetRequest' |
| 2588 | required: true |
| 2589 | responses: |
| 2590 | '200': |
| 2591 | description: OK |
| 2592 | tags: |
| 2593 | - Datasets |
| 2594 | /datasets/get: |
| 2595 | get: |
| 2596 | parameters: |
| 2597 | - in: query |
| 2598 | name: dataset_uuid |
| 2599 | required: true |
| 2600 | schema: |
| 2601 | type: string |
| 2602 | responses: |
| 2603 | '200': |
| 2604 | content: |
| 2605 | application/json: |
| 2606 | schema: |
| 2607 | $ref: '#/components/schemas/TrainEvalDataset' |
| 2608 | description: OK |
| 2609 | tags: |
| 2610 | - Datasets |
| 2611 | /evaluate/job/artifacts: |
| 2612 | get: |
| 2613 | parameters: |
| 2614 | - in: query |
| 2615 | name: job_uuid |
| 2616 | required: true |
| 2617 | schema: |
| 2618 | type: string |
| 2619 | responses: |
| 2620 | '200': |
| 2621 | content: |
| 2622 | application/json: |
| 2623 | schema: |
| 2624 | $ref: '#/components/schemas/EvaluationJobArtifactsResponse' |
| 2625 | description: OK |
| 2626 | tags: |
| 2627 | - Evaluations |
| 2628 | /evaluate/job/cancel: |
| 2629 | post: |
| 2630 | parameters: [] |
| 2631 | requestBody: |
| 2632 | content: |
| 2633 | application/json: |
| 2634 | schema: |
| 2635 | $ref: '#/components/schemas/CancelEvaluationJobRequest' |
| 2636 | required: true |
| 2637 | responses: |
| 2638 | '200': |
| 2639 | description: OK |
| 2640 | tags: |
| 2641 | - Evaluations |
| 2642 | /evaluate/job/logs: |
| 2643 | get: |
| 2644 | parameters: |
| 2645 | - in: query |
| 2646 | name: job_uuid |
| 2647 | required: true |
| 2648 | schema: |
| 2649 | type: string |
| 2650 | responses: |
| 2651 | '200': |
| 2652 | content: |
| 2653 | application/json: |
| 2654 | schema: |
| 2655 | $ref: '#/components/schemas/EvaluationJobLogStream' |
| 2656 | description: OK |
| 2657 | tags: |
| 2658 | - Evaluations |
| 2659 | /evaluate/job/status: |
| 2660 | get: |
| 2661 | parameters: |
| 2662 | - in: query |
| 2663 | name: job_uuid |
| 2664 | required: true |
| 2665 | schema: |
| 2666 | type: string |
| 2667 | responses: |
| 2668 | '200': |
| 2669 | content: |
| 2670 | application/json: |
| 2671 | schema: |
| 2672 | $ref: '#/components/schemas/EvaluationJobStatusResponse' |
| 2673 | description: OK |
| 2674 | tags: |
| 2675 | - Evaluations |
| 2676 | /evaluate/jobs: |
| 2677 | get: |
| 2678 | parameters: [] |
| 2679 | responses: |
| 2680 | '200': |
| 2681 | content: |
| 2682 | application/jsonl: |
| 2683 | schema: |
| 2684 | $ref: '#/components/schemas/EvaluationJob' |
| 2685 | description: OK |
| 2686 | tags: |
| 2687 | - Evaluations |
| 2688 | /evaluate/question_answering/: |
| 2689 | post: |
| 2690 | parameters: [] |
| 2691 | requestBody: |
| 2692 | content: |
| 2693 | application/json: |
| 2694 | schema: |
| 2695 | $ref: '#/components/schemas/EvaluateQuestionAnsweringRequest' |
| 2696 | required: true |
| 2697 | responses: |
| 2698 | '200': |
| 2699 | content: |
| 2700 | application/json: |
| 2701 | schema: |
| 2702 | $ref: '#/components/schemas/EvaluationJob' |
| 2703 | description: OK |
| 2704 | tags: |
| 2705 | - Evaluations |
| 2706 | /evaluate/summarization/: |
| 2707 | post: |
| 2708 | parameters: [] |
| 2709 | requestBody: |
| 2710 | content: |
| 2711 | application/json: |
| 2712 | schema: |
| 2713 | $ref: '#/components/schemas/EvaluateSummarizationRequest' |
| 2714 | required: true |
| 2715 | responses: |
| 2716 | '200': |
| 2717 | content: |
| 2718 | application/json: |
| 2719 | schema: |
| 2720 | $ref: '#/components/schemas/EvaluationJob' |
| 2721 | description: OK |
| 2722 | tags: |
| 2723 | - Evaluations |
| 2724 | /evaluate/text_generation/: |
| 2725 | post: |
| 2726 | parameters: [] |
| 2727 | requestBody: |
| 2728 | content: |
| 2729 | application/json: |
| 2730 | schema: |
| 2731 | $ref: '#/components/schemas/EvaluateTextGenerationRequest' |
| 2732 | required: true |
| 2733 | responses: |
| 2734 | '200': |
| 2735 | content: |
| 2736 | application/json: |
| 2737 | schema: |
| 2738 | $ref: '#/components/schemas/EvaluationJob' |
| 2739 | description: OK |
| 2740 | tags: |
| 2741 | - Evaluations |
| 2742 | /inference/chat_completion: |
| 2743 | post: |
| 2744 | parameters: [] |
| 2745 | requestBody: |
| 2746 | content: |
| 2747 | application/json: |
| 2748 | schema: |
| 2749 | $ref: '#/components/schemas/ChatCompletionRequest' |
| 2750 | required: true |
| 2751 | responses: |
| 2752 | '200': |
| 2753 | content: |
| 2754 | text/event-stream: |
| 2755 | schema: |
| 2756 | oneOf: |
| 2757 | - $ref: '#/components/schemas/ChatCompletionResponse' |
| 2758 | - $ref: '#/components/schemas/ChatCompletionResponseStreamChunk' |
| 2759 | description: Chat completion response. **OR** SSE-stream of these events. |
| 2760 | tags: |
| 2761 | - Inference |
| 2762 | /inference/completion: |
| 2763 | post: |
| 2764 | parameters: [] |
| 2765 | requestBody: |
| 2766 | content: |
| 2767 | application/json: |
| 2768 | schema: |
| 2769 | $ref: '#/components/schemas/CompletionRequest' |
| 2770 | required: true |
| 2771 | responses: |
| 2772 | '200': |
| 2773 | content: |
| 2774 | application/json: |
| 2775 | schema: |
| 2776 | oneOf: |
| 2777 | - $ref: '#/components/schemas/CompletionResponse' |
| 2778 | - $ref: '#/components/schemas/CompletionResponseStreamChunk' |
| 2779 | description: Completion response. **OR** streamed completion response. |
| 2780 | tags: |
| 2781 | - Inference |
| 2782 | /inference/embeddings: |
| 2783 | post: |
| 2784 | parameters: [] |
| 2785 | requestBody: |
| 2786 | content: |
| 2787 | application/json: |
| 2788 | schema: |
| 2789 | $ref: '#/components/schemas/EmbeddingsRequest' |
| 2790 | required: true |
| 2791 | responses: |
| 2792 | '200': |
| 2793 | content: |
| 2794 | application/json: |
| 2795 | schema: |
| 2796 | $ref: '#/components/schemas/EmbeddingsResponse' |
| 2797 | description: OK |
| 2798 | tags: |
| 2799 | - Inference |
| 2800 | /memory_bank/documents/delete: |
| 2801 | post: |
| 2802 | parameters: [] |
| 2803 | requestBody: |
| 2804 | content: |
| 2805 | application/json: |
| 2806 | schema: |
| 2807 | $ref: '#/components/schemas/DeleteDocumentsRequest' |
| 2808 | required: true |
| 2809 | responses: |
| 2810 | '200': |
| 2811 | description: OK |
| 2812 | tags: |
| 2813 | - Memory |
| 2814 | /memory_bank/documents/get: |
| 2815 | post: |
| 2816 | parameters: |
| 2817 | - in: query |
| 2818 | name: bank_id |
| 2819 | required: true |
| 2820 | schema: |
| 2821 | type: string |
| 2822 | requestBody: |
| 2823 | content: |
| 2824 | application/json: |
| 2825 | schema: |
| 2826 | $ref: '#/components/schemas/GetDocumentsRequest' |
| 2827 | required: true |
| 2828 | responses: |
| 2829 | '200': |
| 2830 | content: |
| 2831 | application/jsonl: |
| 2832 | schema: |
| 2833 | $ref: '#/components/schemas/MemoryBankDocument' |
| 2834 | description: OK |
| 2835 | tags: |
| 2836 | - Memory |
| 2837 | /memory_bank/insert: |
| 2838 | post: |
| 2839 | parameters: [] |
| 2840 | requestBody: |
| 2841 | content: |
| 2842 | application/json: |
| 2843 | schema: |
| 2844 | $ref: '#/components/schemas/InsertDocumentsRequest' |
| 2845 | required: true |
| 2846 | responses: |
| 2847 | '200': |
| 2848 | description: OK |
| 2849 | tags: |
| 2850 | - Memory |
| 2851 | /memory_bank/query: |
| 2852 | post: |
| 2853 | parameters: [] |
| 2854 | requestBody: |
| 2855 | content: |
| 2856 | application/json: |
| 2857 | schema: |
| 2858 | $ref: '#/components/schemas/QueryDocumentsRequest' |
| 2859 | required: true |
| 2860 | responses: |
| 2861 | '200': |
| 2862 | content: |
| 2863 | application/json: |
| 2864 | schema: |
| 2865 | $ref: '#/components/schemas/QueryDocumentsResponse' |
| 2866 | description: OK |
| 2867 | tags: |
| 2868 | - Memory |
| 2869 | /memory_bank/update: |
| 2870 | post: |
| 2871 | parameters: [] |
| 2872 | requestBody: |
| 2873 | content: |
| 2874 | application/json: |
| 2875 | schema: |
| 2876 | $ref: '#/components/schemas/UpdateDocumentsRequest' |
| 2877 | required: true |
| 2878 | responses: |
| 2879 | '200': |
| 2880 | description: OK |
| 2881 | tags: |
| 2882 | - Memory |
| 2883 | /memory_banks/create: |
| 2884 | post: |
| 2885 | parameters: [] |
| 2886 | requestBody: |
| 2887 | content: |
| 2888 | application/json: |
| 2889 | schema: |
| 2890 | $ref: '#/components/schemas/CreateMemoryBankRequest' |
| 2891 | required: true |
| 2892 | responses: |
| 2893 | '200': |
| 2894 | content: |
| 2895 | application/json: |
| 2896 | schema: |
| 2897 | $ref: '#/components/schemas/MemoryBank' |
| 2898 | description: OK |
| 2899 | tags: |
| 2900 | - Memory |
| 2901 | /memory_banks/drop: |
| 2902 | post: |
| 2903 | parameters: [] |
| 2904 | requestBody: |
| 2905 | content: |
| 2906 | application/json: |
| 2907 | schema: |
| 2908 | $ref: '#/components/schemas/DropMemoryBankRequest' |
| 2909 | required: true |
| 2910 | responses: |
| 2911 | '200': |
| 2912 | content: |
| 2913 | application/json: |
| 2914 | schema: |
| 2915 | type: string |
| 2916 | description: OK |
| 2917 | tags: |
| 2918 | - Memory |
| 2919 | /memory_banks/get: |
| 2920 | get: |
| 2921 | parameters: |
| 2922 | - in: query |
| 2923 | name: bank_id |
| 2924 | required: true |
| 2925 | schema: |
| 2926 | type: string |
| 2927 | responses: |
| 2928 | '200': |
| 2929 | content: |
| 2930 | application/json: |
| 2931 | schema: |
| 2932 | oneOf: |
| 2933 | - $ref: '#/components/schemas/MemoryBank' |
| 2934 | - type: 'null' |
| 2935 | description: OK |
| 2936 | tags: |
| 2937 | - Memory |
| 2938 | /memory_banks/list: |
| 2939 | get: |
| 2940 | parameters: [] |
| 2941 | responses: |
| 2942 | '200': |
| 2943 | content: |
| 2944 | application/jsonl: |
| 2945 | schema: |
| 2946 | $ref: '#/components/schemas/MemoryBank' |
| 2947 | description: OK |
| 2948 | tags: |
| 2949 | - Memory |
| 2950 | /post_training/job/artifacts: |
| 2951 | get: |
| 2952 | parameters: |
| 2953 | - in: query |
| 2954 | name: job_uuid |
| 2955 | required: true |
| 2956 | schema: |
| 2957 | type: string |
| 2958 | responses: |
| 2959 | '200': |
| 2960 | content: |
| 2961 | application/json: |
| 2962 | schema: |
| 2963 | $ref: '#/components/schemas/PostTrainingJobArtifactsResponse' |
| 2964 | description: OK |
| 2965 | tags: |
| 2966 | - PostTraining |
| 2967 | /post_training/job/cancel: |
| 2968 | post: |
| 2969 | parameters: [] |
| 2970 | requestBody: |
| 2971 | content: |
| 2972 | application/json: |
| 2973 | schema: |
| 2974 | $ref: '#/components/schemas/CancelTrainingJobRequest' |
| 2975 | required: true |
| 2976 | responses: |
| 2977 | '200': |
| 2978 | description: OK |
| 2979 | tags: |
| 2980 | - PostTraining |
| 2981 | /post_training/job/logs: |
| 2982 | get: |
| 2983 | parameters: |
| 2984 | - in: query |
| 2985 | name: job_uuid |
| 2986 | required: true |
| 2987 | schema: |
| 2988 | type: string |
| 2989 | responses: |
| 2990 | '200': |
| 2991 | content: |
| 2992 | application/json: |
| 2993 | schema: |
| 2994 | $ref: '#/components/schemas/PostTrainingJobLogStream' |
| 2995 | description: OK |
| 2996 | tags: |
| 2997 | - PostTraining |
| 2998 | /post_training/job/status: |
| 2999 | get: |
| 3000 | parameters: |
| 3001 | - in: query |
| 3002 | name: job_uuid |
| 3003 | required: true |
| 3004 | schema: |
| 3005 | type: string |
| 3006 | responses: |
| 3007 | '200': |
| 3008 | content: |
| 3009 | application/json: |
| 3010 | schema: |
| 3011 | $ref: '#/components/schemas/PostTrainingJobStatusResponse' |
| 3012 | description: OK |
| 3013 | tags: |
| 3014 | - PostTraining |
| 3015 | /post_training/jobs: |
| 3016 | get: |
| 3017 | parameters: [] |
| 3018 | responses: |
| 3019 | '200': |
| 3020 | content: |
| 3021 | application/jsonl: |
| 3022 | schema: |
| 3023 | $ref: '#/components/schemas/PostTrainingJob' |
| 3024 | description: OK |
| 3025 | tags: |
| 3026 | - PostTraining |
| 3027 | /post_training/preference_optimize: |
| 3028 | post: |
| 3029 | parameters: [] |
| 3030 | requestBody: |
| 3031 | content: |
| 3032 | application/json: |
| 3033 | schema: |
| 3034 | $ref: '#/components/schemas/PreferenceOptimizeRequest' |
| 3035 | required: true |
| 3036 | responses: |
| 3037 | '200': |
| 3038 | content: |
| 3039 | application/json: |
| 3040 | schema: |
| 3041 | $ref: '#/components/schemas/PostTrainingJob' |
| 3042 | description: OK |
| 3043 | tags: |
| 3044 | - PostTraining |
| 3045 | /post_training/supervised_fine_tune: |
| 3046 | post: |
| 3047 | parameters: [] |
| 3048 | requestBody: |
| 3049 | content: |
| 3050 | application/json: |
| 3051 | schema: |
| 3052 | $ref: '#/components/schemas/SupervisedFineTuneRequest' |
| 3053 | required: true |
| 3054 | responses: |
| 3055 | '200': |
| 3056 | content: |
| 3057 | application/json: |
| 3058 | schema: |
| 3059 | $ref: '#/components/schemas/PostTrainingJob' |
| 3060 | description: OK |
| 3061 | tags: |
| 3062 | - PostTraining |
| 3063 | /reward_scoring/score: |
| 3064 | post: |
| 3065 | parameters: [] |
| 3066 | requestBody: |
| 3067 | content: |
| 3068 | application/json: |
| 3069 | schema: |
| 3070 | $ref: '#/components/schemas/RewardScoreRequest' |
| 3071 | required: true |
| 3072 | responses: |
| 3073 | '200': |
| 3074 | content: |
| 3075 | application/json: |
| 3076 | schema: |
| 3077 | $ref: '#/components/schemas/RewardScoringResponse' |
| 3078 | description: OK |
| 3079 | tags: |
| 3080 | - RewardScoring |
| 3081 | /safety/run_shields: |
| 3082 | post: |
| 3083 | parameters: [] |
| 3084 | requestBody: |
| 3085 | content: |
| 3086 | application/json: |
| 3087 | schema: |
| 3088 | $ref: '#/components/schemas/RunShieldsRequest' |
| 3089 | required: true |
| 3090 | responses: |
| 3091 | '200': |
| 3092 | content: |
| 3093 | application/json: |
| 3094 | schema: |
| 3095 | $ref: '#/components/schemas/RunShieldResponse' |
| 3096 | description: OK |
| 3097 | tags: |
| 3098 | - Safety |
| 3099 | /synthetic_data_generation/generate: |
| 3100 | post: |
| 3101 | parameters: [] |
| 3102 | requestBody: |
| 3103 | content: |
| 3104 | application/json: |
| 3105 | schema: |
| 3106 | $ref: '#/components/schemas/SyntheticDataGenerateRequest' |
| 3107 | required: true |
| 3108 | responses: |
| 3109 | '200': |
| 3110 | content: |
| 3111 | application/json: |
| 3112 | schema: |
| 3113 | $ref: '#/components/schemas/SyntheticDataGenerationResponse' |
| 3114 | description: OK |
| 3115 | tags: |
| 3116 | - SyntheticDataGeneration |
| 3117 | /telemetry/get_trace: |
| 3118 | get: |
| 3119 | parameters: |
| 3120 | - in: query |
| 3121 | name: trace_id |
| 3122 | required: true |
| 3123 | schema: |
| 3124 | type: string |
| 3125 | responses: |
| 3126 | '200': |
| 3127 | content: |
| 3128 | application/json: |
| 3129 | schema: |
| 3130 | $ref: '#/components/schemas/Trace' |
| 3131 | description: OK |
| 3132 | tags: |
| 3133 | - Telemetry |
| 3134 | /telemetry/log_event: |
| 3135 | post: |
| 3136 | parameters: [] |
| 3137 | requestBody: |
| 3138 | content: |
| 3139 | application/json: |
| 3140 | schema: |
| 3141 | $ref: '#/components/schemas/LogEventRequest' |
| 3142 | required: true |
| 3143 | responses: |
| 3144 | '200': |
| 3145 | description: OK |
| 3146 | tags: |
| 3147 | - Telemetry |
| 3148 | security: |
| 3149 | - Default: [] |
| 3150 | servers: |
| 3151 | - url: http://any-hosted-llama-stack.com |
| 3152 | tags: |
| 3153 | - name: BatchInference |
| 3154 | - name: PostTraining |
| 3155 | - name: Inference |
| 3156 | - name: Safety |
| 3157 | - name: RewardScoring |
| 3158 | - name: Telemetry |
| 3159 | - name: Evaluations |
| 3160 | - name: SyntheticDataGeneration |
| 3161 | - name: Memory |
| 3162 | - name: Agents |
| 3163 | - name: Datasets |
| 3164 | - description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" /> |
| 3165 | name: BuiltinTool |
| 3166 | - description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage" |
| 3167 | /> |
| 3168 | name: CompletionMessage |
| 3169 | - description: <SchemaDefinition schemaRef="#/components/schemas/SamplingParams" /> |
| 3170 | name: SamplingParams |
| 3171 | - description: <SchemaDefinition schemaRef="#/components/schemas/SamplingStrategy" |
| 3172 | /> |
| 3173 | name: SamplingStrategy |
| 3174 | - description: <SchemaDefinition schemaRef="#/components/schemas/StopReason" /> |
| 3175 | name: StopReason |
| 3176 | - description: <SchemaDefinition schemaRef="#/components/schemas/SystemMessage" /> |
| 3177 | name: SystemMessage |
| 3178 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolCall" /> |
| 3179 | name: ToolCall |
| 3180 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolChoice" /> |
| 3181 | name: ToolChoice |
| 3182 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolDefinition" /> |
| 3183 | name: ToolDefinition |
| 3184 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolParamDefinition" |
| 3185 | /> |
| 3186 | name: ToolParamDefinition |
| 3187 | - description: "This Enum refers to the prompt format for calling custom / zero shot\ |
| 3188 | \ tools\n\n`json` --\n Refers to the json format for calling tools.\n The\ |
| 3189 | \ json format takes the form like\n {\n \"type\": \"function\",\n \ |
| 3190 | \ \"function\" : {\n \"name\": \"function_name\",\n \ |
| 3191 | \ \"description\": \"function_description\",\n \"parameters\": {...}\n\ |
| 3192 | \ }\n }\n\n`function_tag` --\n This is an example of how you could\ |
| 3193 | \ define\n your own user defined format for making tool calls.\n The function_tag\ |
| 3194 | \ format looks like this,\n <function=function_name>(parameters)</function>\n\ |
| 3195 | \nThe detailed prompts for each of these formats are added to llama cli\n\n<SchemaDefinition\ |
| 3196 | \ schemaRef=\"#/components/schemas/ToolPromptFormat\" />" |
| 3197 | name: ToolPromptFormat |
| 3198 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolResponseMessage" |
| 3199 | /> |
| 3200 | name: ToolResponseMessage |
| 3201 | - description: <SchemaDefinition schemaRef="#/components/schemas/UserMessage" /> |
| 3202 | name: UserMessage |
| 3203 | - description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequest" |
| 3204 | /> |
| 3205 | name: BatchChatCompletionRequest |
| 3206 | - description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionResponse" |
| 3207 | /> |
| 3208 | name: BatchChatCompletionResponse |
| 3209 | - description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequest" |
| 3210 | /> |
| 3211 | name: BatchCompletionRequest |
| 3212 | - description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionResponse" |
| 3213 | /> |
| 3214 | name: BatchCompletionResponse |
| 3215 | - description: <SchemaDefinition schemaRef="#/components/schemas/CancelEvaluationJobRequest" |
| 3216 | /> |
| 3217 | name: CancelEvaluationJobRequest |
| 3218 | - description: <SchemaDefinition schemaRef="#/components/schemas/CancelTrainingJobRequest" |
| 3219 | /> |
| 3220 | name: CancelTrainingJobRequest |
| 3221 | - description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequest" |
| 3222 | /> |
| 3223 | name: ChatCompletionRequest |
| 3224 | - description: 'Chat completion response. |
| 3225 | |
| 3226 | |
| 3227 | <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponse" />' |
| 3228 | name: ChatCompletionResponse |
| 3229 | - description: 'Chat completion response event. |
| 3230 | |
| 3231 | |
| 3232 | <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponseEvent" |
| 3233 | />' |
| 3234 | name: ChatCompletionResponseEvent |
| 3235 | - description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponseEventType" |
| 3236 | /> |
| 3237 | name: ChatCompletionResponseEventType |
| 3238 | - description: 'SSE-stream of these events. |
| 3239 | |
| 3240 | |
| 3241 | <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponseStreamChunk" |
| 3242 | />' |
| 3243 | name: ChatCompletionResponseStreamChunk |
| 3244 | - description: <SchemaDefinition schemaRef="#/components/schemas/TokenLogProbs" /> |
| 3245 | name: TokenLogProbs |
| 3246 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolCallDelta" /> |
| 3247 | name: ToolCallDelta |
| 3248 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolCallParseStatus" |
| 3249 | /> |
| 3250 | name: ToolCallParseStatus |
| 3251 | - description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequest" |
| 3252 | /> |
| 3253 | name: CompletionRequest |
| 3254 | - description: 'Completion response. |
| 3255 | |
| 3256 | |
| 3257 | <SchemaDefinition schemaRef="#/components/schemas/CompletionResponse" />' |
| 3258 | name: CompletionResponse |
| 3259 | - description: 'streamed completion response. |
| 3260 | |
| 3261 | |
| 3262 | <SchemaDefinition schemaRef="#/components/schemas/CompletionResponseStreamChunk" |
| 3263 | />' |
| 3264 | name: CompletionResponseStreamChunk |
| 3265 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentConfig" /> |
| 3266 | name: AgentConfig |
| 3267 | - description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinShield" /> |
| 3268 | name: BuiltinShield |
| 3269 | - description: <SchemaDefinition schemaRef="#/components/schemas/CodeInterpreterToolDefinition" |
| 3270 | /> |
| 3271 | name: CodeInterpreterToolDefinition |
| 3272 | - description: <SchemaDefinition schemaRef="#/components/schemas/FunctionCallToolDefinition" |
| 3273 | /> |
| 3274 | name: FunctionCallToolDefinition |
| 3275 | - description: <SchemaDefinition schemaRef="#/components/schemas/OnViolationAction" |
| 3276 | /> |
| 3277 | name: OnViolationAction |
| 3278 | - description: <SchemaDefinition schemaRef="#/components/schemas/PhotogenToolDefinition" |
| 3279 | /> |
| 3280 | name: PhotogenToolDefinition |
| 3281 | - description: <SchemaDefinition schemaRef="#/components/schemas/RestAPIExecutionConfig" |
| 3282 | /> |
| 3283 | name: RestAPIExecutionConfig |
| 3284 | - description: <SchemaDefinition schemaRef="#/components/schemas/RestAPIMethod" /> |
| 3285 | name: RestAPIMethod |
| 3286 | - description: <SchemaDefinition schemaRef="#/components/schemas/SearchToolDefinition" |
| 3287 | /> |
| 3288 | name: SearchToolDefinition |
| 3289 | - description: <SchemaDefinition schemaRef="#/components/schemas/ShieldDefinition" |
| 3290 | /> |
| 3291 | name: ShieldDefinition |
| 3292 | - description: <SchemaDefinition schemaRef="#/components/schemas/URL" /> |
| 3293 | name: URL |
| 3294 | - description: <SchemaDefinition schemaRef="#/components/schemas/WolframAlphaToolDefinition" |
| 3295 | /> |
| 3296 | name: WolframAlphaToolDefinition |
| 3297 | - description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgentRequest" |
| 3298 | /> |
| 3299 | name: CreateAgentRequest |
| 3300 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentCreateResponse" |
| 3301 | /> |
| 3302 | name: AgentCreateResponse |
| 3303 | - description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgentSessionRequest" |
| 3304 | /> |
| 3305 | name: CreateAgentSessionRequest |
| 3306 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentSessionCreateResponse" |
| 3307 | /> |
| 3308 | name: AgentSessionCreateResponse |
| 3309 | - description: <SchemaDefinition schemaRef="#/components/schemas/Attachment" /> |
| 3310 | name: Attachment |
| 3311 | - description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgentTurnRequest" |
| 3312 | /> |
| 3313 | name: CreateAgentTurnRequest |
| 3314 | - description: 'Streamed agent execution response. |
| 3315 | |
| 3316 | |
| 3317 | <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseEvent" />' |
| 3318 | name: AgentTurnResponseEvent |
| 3319 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStepCompletePayload" |
| 3320 | /> |
| 3321 | name: AgentTurnResponseStepCompletePayload |
| 3322 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStepProgressPayload" |
| 3323 | /> |
| 3324 | name: AgentTurnResponseStepProgressPayload |
| 3325 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStepStartPayload" |
| 3326 | /> |
| 3327 | name: AgentTurnResponseStepStartPayload |
| 3328 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStreamChunk" |
| 3329 | /> |
| 3330 | name: AgentTurnResponseStreamChunk |
| 3331 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseTurnCompletePayload" |
| 3332 | /> |
| 3333 | name: AgentTurnResponseTurnCompletePayload |
| 3334 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseTurnStartPayload" |
| 3335 | /> |
| 3336 | name: AgentTurnResponseTurnStartPayload |
| 3337 | - description: <SchemaDefinition schemaRef="#/components/schemas/InferenceStep" /> |
| 3338 | name: InferenceStep |
| 3339 | - description: <SchemaDefinition schemaRef="#/components/schemas/MemoryRetrievalStep" |
| 3340 | /> |
| 3341 | name: MemoryRetrievalStep |
| 3342 | - description: <SchemaDefinition schemaRef="#/components/schemas/ShieldCallStep" /> |
| 3343 | name: ShieldCallStep |
| 3344 | - description: <SchemaDefinition schemaRef="#/components/schemas/ShieldResponse" /> |
| 3345 | name: ShieldResponse |
| 3346 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolExecutionStep" |
| 3347 | /> |
| 3348 | name: ToolExecutionStep |
| 3349 | - description: <SchemaDefinition schemaRef="#/components/schemas/ToolResponse" /> |
| 3350 | name: ToolResponse |
| 3351 | - description: 'A single turn in an interaction with an Agentic System. |
| 3352 | |
| 3353 | |
| 3354 | <SchemaDefinition schemaRef="#/components/schemas/Turn" />' |
| 3355 | name: Turn |
| 3356 | - description: 'Dataset to be used for training or evaluating language models. |
| 3357 | |
| 3358 | |
| 3359 | <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDataset" />' |
| 3360 | name: TrainEvalDataset |
| 3361 | - description: <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDatasetColumnType" |
| 3362 | /> |
| 3363 | name: TrainEvalDatasetColumnType |
| 3364 | - description: <SchemaDefinition schemaRef="#/components/schemas/CreateDatasetRequest" |
| 3365 | /> |
| 3366 | name: CreateDatasetRequest |
| 3367 | - description: <SchemaDefinition schemaRef="#/components/schemas/CreateMemoryBankRequest" |
| 3368 | /> |
| 3369 | name: CreateMemoryBankRequest |
| 3370 | - description: <SchemaDefinition schemaRef="#/components/schemas/MemoryBank" /> |
| 3371 | name: MemoryBank |
| 3372 | - description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgentsRequest" |
| 3373 | /> |
| 3374 | name: DeleteAgentsRequest |
| 3375 | - description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgentsSessionRequest" |
| 3376 | /> |
| 3377 | name: DeleteAgentsSessionRequest |
| 3378 | - description: <SchemaDefinition schemaRef="#/components/schemas/DeleteDatasetRequest" |
| 3379 | /> |
| 3380 | name: DeleteDatasetRequest |
| 3381 | - description: <SchemaDefinition schemaRef="#/components/schemas/DeleteDocumentsRequest" |
| 3382 | /> |
| 3383 | name: DeleteDocumentsRequest |
| 3384 | - description: <SchemaDefinition schemaRef="#/components/schemas/DropMemoryBankRequest" |
| 3385 | /> |
| 3386 | name: DropMemoryBankRequest |
| 3387 | - description: <SchemaDefinition schemaRef="#/components/schemas/EmbeddingsRequest" |
| 3388 | /> |
| 3389 | name: EmbeddingsRequest |
| 3390 | - description: <SchemaDefinition schemaRef="#/components/schemas/EmbeddingsResponse" |
| 3391 | /> |
| 3392 | name: EmbeddingsResponse |
| 3393 | - description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequest" |
| 3394 | /> |
| 3395 | name: EvaluateQuestionAnsweringRequest |
| 3396 | - description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJob" /> |
| 3397 | name: EvaluationJob |
| 3398 | - description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequest" |
| 3399 | /> |
| 3400 | name: EvaluateSummarizationRequest |
| 3401 | - description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequest" |
| 3402 | /> |
| 3403 | name: EvaluateTextGenerationRequest |
| 3404 | - description: <SchemaDefinition schemaRef="#/components/schemas/GetAgentsSessionRequest" |
| 3405 | /> |
| 3406 | name: GetAgentsSessionRequest |
| 3407 | - description: 'A single session of an interaction with an Agentic System. |
| 3408 | |
| 3409 | |
| 3410 | <SchemaDefinition schemaRef="#/components/schemas/Session" />' |
| 3411 | name: Session |
| 3412 | - description: <SchemaDefinition schemaRef="#/components/schemas/AgentStepResponse" |
| 3413 | /> |
| 3414 | name: AgentStepResponse |
| 3415 | - description: <SchemaDefinition schemaRef="#/components/schemas/GetDocumentsRequest" |
| 3416 | /> |
| 3417 | name: GetDocumentsRequest |
| 3418 | - description: <SchemaDefinition schemaRef="#/components/schemas/MemoryBankDocument" |
| 3419 | /> |
| 3420 | name: MemoryBankDocument |
| 3421 | - description: 'Artifacts of a evaluation job. |
| 3422 | |
| 3423 | |
| 3424 | <SchemaDefinition schemaRef="#/components/schemas/EvaluationJobArtifactsResponse" |
| 3425 | />' |
| 3426 | name: EvaluationJobArtifactsResponse |
| 3427 | - description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJobLogStream" |
| 3428 | /> |
| 3429 | name: EvaluationJobLogStream |
| 3430 | - description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJobStatusResponse" |
| 3431 | /> |
| 3432 | name: EvaluationJobStatusResponse |
| 3433 | - description: <SchemaDefinition schemaRef="#/components/schemas/Trace" /> |
| 3434 | name: Trace |
| 3435 | - description: 'Checkpoint created during training runs |
| 3436 | |
| 3437 | |
| 3438 | <SchemaDefinition schemaRef="#/components/schemas/Checkpoint" />' |
| 3439 | name: Checkpoint |
| 3440 | - description: 'Artifacts of a finetuning job. |
| 3441 | |
| 3442 | |
| 3443 | <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobArtifactsResponse" |
| 3444 | />' |
| 3445 | name: PostTrainingJobArtifactsResponse |
| 3446 | - description: 'Stream of logs from a finetuning job. |
| 3447 | |
| 3448 | |
| 3449 | <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobLogStream" />' |
| 3450 | name: PostTrainingJobLogStream |
| 3451 | - description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobStatus" |
| 3452 | /> |
| 3453 | name: PostTrainingJobStatus |
| 3454 | - description: 'Status of a finetuning job. |
| 3455 | |
| 3456 | |
| 3457 | <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobStatusResponse" |
| 3458 | />' |
| 3459 | name: PostTrainingJobStatusResponse |
| 3460 | - description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJob" |
| 3461 | /> |
| 3462 | name: PostTrainingJob |
| 3463 | - description: <SchemaDefinition schemaRef="#/components/schemas/InsertDocumentsRequest" |
| 3464 | /> |
| 3465 | name: InsertDocumentsRequest |
| 3466 | - description: <SchemaDefinition schemaRef="#/components/schemas/LogSeverity" /> |
| 3467 | name: LogSeverity |
| 3468 | - description: <SchemaDefinition schemaRef="#/components/schemas/MetricEvent" /> |
| 3469 | name: MetricEvent |
| 3470 | - description: <SchemaDefinition schemaRef="#/components/schemas/SpanEndPayload" /> |
| 3471 | name: SpanEndPayload |
| 3472 | - description: <SchemaDefinition schemaRef="#/components/schemas/SpanStartPayload" |
| 3473 | /> |
| 3474 | name: SpanStartPayload |
| 3475 | - description: <SchemaDefinition schemaRef="#/components/schemas/SpanStatus" /> |
| 3476 | name: SpanStatus |
| 3477 | - description: <SchemaDefinition schemaRef="#/components/schemas/StructuredLogEvent" |
| 3478 | /> |
| 3479 | name: StructuredLogEvent |
| 3480 | - description: <SchemaDefinition schemaRef="#/components/schemas/UnstructuredLogEvent" |
| 3481 | /> |
| 3482 | name: UnstructuredLogEvent |
| 3483 | - description: <SchemaDefinition schemaRef="#/components/schemas/LogEventRequest" |
| 3484 | /> |
| 3485 | name: LogEventRequest |
| 3486 | - description: <SchemaDefinition schemaRef="#/components/schemas/DPOAlignmentConfig" |
| 3487 | /> |
| 3488 | name: DPOAlignmentConfig |
| 3489 | - description: <SchemaDefinition schemaRef="#/components/schemas/OptimizerConfig" |
| 3490 | /> |
| 3491 | name: OptimizerConfig |
| 3492 | - description: <SchemaDefinition schemaRef="#/components/schemas/RLHFAlgorithm" /> |
| 3493 | name: RLHFAlgorithm |
| 3494 | - description: <SchemaDefinition schemaRef="#/components/schemas/TrainingConfig" /> |
| 3495 | name: TrainingConfig |
| 3496 | - description: <SchemaDefinition schemaRef="#/components/schemas/PreferenceOptimizeRequest" |
| 3497 | /> |
| 3498 | name: PreferenceOptimizeRequest |
| 3499 | - description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsRequest" |
| 3500 | /> |
| 3501 | name: QueryDocumentsRequest |
| 3502 | - description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsResponse" |
| 3503 | /> |
| 3504 | name: QueryDocumentsResponse |
| 3505 | - description: <SchemaDefinition schemaRef="#/components/schemas/DialogGenerations" |
| 3506 | /> |
| 3507 | name: DialogGenerations |
| 3508 | - description: <SchemaDefinition schemaRef="#/components/schemas/RewardScoreRequest" |
| 3509 | /> |
| 3510 | name: RewardScoreRequest |
| 3511 | - description: 'Response from the reward scoring. Batch of (prompt, response, score) |
| 3512 | tuples that pass the threshold. |
| 3513 | |
| 3514 | |
| 3515 | <SchemaDefinition schemaRef="#/components/schemas/RewardScoringResponse" />' |
| 3516 | name: RewardScoringResponse |
| 3517 | - description: <SchemaDefinition schemaRef="#/components/schemas/ScoredDialogGenerations" |
| 3518 | /> |
| 3519 | name: ScoredDialogGenerations |
| 3520 | - description: <SchemaDefinition schemaRef="#/components/schemas/ScoredMessage" /> |
| 3521 | name: ScoredMessage |
| 3522 | - description: <SchemaDefinition schemaRef="#/components/schemas/RunShieldsRequest" |
| 3523 | /> |
| 3524 | name: RunShieldsRequest |
| 3525 | - description: <SchemaDefinition schemaRef="#/components/schemas/RunShieldResponse" |
| 3526 | /> |
| 3527 | name: RunShieldResponse |
| 3528 | - description: <SchemaDefinition schemaRef="#/components/schemas/DoraFinetuningConfig" |
| 3529 | /> |
| 3530 | name: DoraFinetuningConfig |
| 3531 | - description: <SchemaDefinition schemaRef="#/components/schemas/FinetuningAlgorithm" |
| 3532 | /> |
| 3533 | name: FinetuningAlgorithm |
| 3534 | - description: <SchemaDefinition schemaRef="#/components/schemas/LoraFinetuningConfig" |
| 3535 | /> |
| 3536 | name: LoraFinetuningConfig |
| 3537 | - description: <SchemaDefinition schemaRef="#/components/schemas/QLoraFinetuningConfig" |
| 3538 | /> |
| 3539 | name: QLoraFinetuningConfig |
| 3540 | - description: <SchemaDefinition schemaRef="#/components/schemas/SupervisedFineTuneRequest" |
| 3541 | /> |
| 3542 | name: SupervisedFineTuneRequest |
| 3543 | - description: <SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerateRequest" |
| 3544 | /> |
| 3545 | name: SyntheticDataGenerateRequest |
| 3546 | - description: 'Response from the synthetic data generation. Batch of (prompt, response, |
| 3547 | score) tuples that pass the threshold. |
| 3548 | |
| 3549 | |
| 3550 | <SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationResponse" |
| 3551 | />' |
| 3552 | name: SyntheticDataGenerationResponse |
| 3553 | - description: <SchemaDefinition schemaRef="#/components/schemas/UpdateDocumentsRequest" |
| 3554 | /> |
| 3555 | name: UpdateDocumentsRequest |
| 3556 | x-tagGroups: |
| 3557 | - name: Operations |
| 3558 | tags: |
| 3559 | - Agents |
| 3560 | - BatchInference |
| 3561 | - Datasets |
| 3562 | - Evaluations |
| 3563 | - Inference |
| 3564 | - Memory |
| 3565 | - PostTraining |
| 3566 | - RewardScoring |
| 3567 | - Safety |
| 3568 | - SyntheticDataGeneration |
| 3569 | - Telemetry |
| 3570 | - name: Types |
| 3571 | tags: |
| 3572 | - AgentConfig |
| 3573 | - AgentCreateResponse |
| 3574 | - AgentSessionCreateResponse |
| 3575 | - AgentStepResponse |
| 3576 | - AgentTurnResponseEvent |
| 3577 | - AgentTurnResponseStepCompletePayload |
| 3578 | - AgentTurnResponseStepProgressPayload |
| 3579 | - AgentTurnResponseStepStartPayload |
| 3580 | - AgentTurnResponseStreamChunk |
| 3581 | - AgentTurnResponseTurnCompletePayload |
| 3582 | - AgentTurnResponseTurnStartPayload |
| 3583 | - Attachment |
| 3584 | - BatchChatCompletionRequest |
| 3585 | - BatchChatCompletionResponse |
| 3586 | - BatchCompletionRequest |
| 3587 | - BatchCompletionResponse |
| 3588 | - BuiltinShield |
| 3589 | - BuiltinTool |
| 3590 | - CancelEvaluationJobRequest |
| 3591 | - CancelTrainingJobRequest |
| 3592 | - ChatCompletionRequest |
| 3593 | - ChatCompletionResponse |
| 3594 | - ChatCompletionResponseEvent |
| 3595 | - ChatCompletionResponseEventType |
| 3596 | - ChatCompletionResponseStreamChunk |
| 3597 | - Checkpoint |
| 3598 | - CodeInterpreterToolDefinition |
| 3599 | - CompletionMessage |
| 3600 | - CompletionRequest |
| 3601 | - CompletionResponse |
| 3602 | - CompletionResponseStreamChunk |
| 3603 | - CreateAgentRequest |
| 3604 | - CreateAgentSessionRequest |
| 3605 | - CreateAgentTurnRequest |
| 3606 | - CreateDatasetRequest |
| 3607 | - CreateMemoryBankRequest |
| 3608 | - DPOAlignmentConfig |
| 3609 | - DeleteAgentsRequest |
| 3610 | - DeleteAgentsSessionRequest |
| 3611 | - DeleteDatasetRequest |
| 3612 | - DeleteDocumentsRequest |
| 3613 | - DialogGenerations |
| 3614 | - DoraFinetuningConfig |
| 3615 | - DropMemoryBankRequest |
| 3616 | - EmbeddingsRequest |
| 3617 | - EmbeddingsResponse |
| 3618 | - EvaluateQuestionAnsweringRequest |
| 3619 | - EvaluateSummarizationRequest |
| 3620 | - EvaluateTextGenerationRequest |
| 3621 | - EvaluationJob |
| 3622 | - EvaluationJobArtifactsResponse |
| 3623 | - EvaluationJobLogStream |
| 3624 | - EvaluationJobStatusResponse |
| 3625 | - FinetuningAlgorithm |
| 3626 | - FunctionCallToolDefinition |
| 3627 | - GetAgentsSessionRequest |
| 3628 | - GetDocumentsRequest |
| 3629 | - InferenceStep |
| 3630 | - InsertDocumentsRequest |
| 3631 | - LogEventRequest |
| 3632 | - LogSeverity |
| 3633 | - LoraFinetuningConfig |
| 3634 | - MemoryBank |
| 3635 | - MemoryBankDocument |
| 3636 | - MemoryRetrievalStep |
| 3637 | - MetricEvent |
| 3638 | - OnViolationAction |
| 3639 | - OptimizerConfig |
| 3640 | - PhotogenToolDefinition |
| 3641 | - PostTrainingJob |
| 3642 | - PostTrainingJobArtifactsResponse |
| 3643 | - PostTrainingJobLogStream |
| 3644 | - PostTrainingJobStatus |
| 3645 | - PostTrainingJobStatusResponse |
| 3646 | - PreferenceOptimizeRequest |
| 3647 | - QLoraFinetuningConfig |
| 3648 | - QueryDocumentsRequest |
| 3649 | - QueryDocumentsResponse |
| 3650 | - RLHFAlgorithm |
| 3651 | - RestAPIExecutionConfig |
| 3652 | - RestAPIMethod |
| 3653 | - RewardScoreRequest |
| 3654 | - RewardScoringResponse |
| 3655 | - RunShieldResponse |
| 3656 | - RunShieldsRequest |
| 3657 | - SamplingParams |
| 3658 | - SamplingStrategy |
| 3659 | - ScoredDialogGenerations |
| 3660 | - ScoredMessage |
| 3661 | - SearchToolDefinition |
| 3662 | - Session |
| 3663 | - ShieldCallStep |
| 3664 | - ShieldDefinition |
| 3665 | - ShieldResponse |
| 3666 | - SpanEndPayload |
| 3667 | - SpanStartPayload |
| 3668 | - SpanStatus |
| 3669 | - StopReason |
| 3670 | - StructuredLogEvent |
| 3671 | - SupervisedFineTuneRequest |
| 3672 | - SyntheticDataGenerateRequest |
| 3673 | - SyntheticDataGenerationResponse |
| 3674 | - SystemMessage |
| 3675 | - TokenLogProbs |
| 3676 | - ToolCall |
| 3677 | - ToolCallDelta |
| 3678 | - ToolCallParseStatus |
| 3679 | - ToolChoice |
| 3680 | - ToolDefinition |
| 3681 | - ToolExecutionStep |
| 3682 | - ToolParamDefinition |
| 3683 | - ToolPromptFormat |
| 3684 | - ToolResponse |
| 3685 | - ToolResponseMessage |
| 3686 | - Trace |
| 3687 | - TrainEvalDataset |
| 3688 | - TrainEvalDatasetColumnType |
| 3689 | - TrainingConfig |
| 3690 | - Turn |
| 3691 | - URL |
| 3692 | - UnstructuredLogEvent |
| 3693 | - UpdateDocumentsRequest |
| 3694 | - UserMessage |
| 3695 | - WolframAlphaToolDefinition |