|
7 | 7 | "annotations": {
|
8 | 8 | "properties": {
|
9 | 9 | "audience": {
|
10 |
| - "description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]", |
| 10 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
11 | 11 | "items": {
|
12 |
| - "$ref": "#/definitions/Audience" |
| 12 | + "$ref": "#/definitions/Role" |
13 | 13 | },
|
14 | 14 | "type": "array"
|
15 | 15 | },
|
16 | 16 | "priority": {
|
17 |
| - "description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance", |
18 |
| - "type": "integer" |
| 17 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 18 | + "maximum": 1, |
| 19 | + "minimum": 0, |
| 20 | + "type": "number" |
19 | 21 | }
|
20 | 22 | },
|
21 | 23 | "type": "object"
|
22 | 24 | }
|
23 | 25 | },
|
24 | 26 | "type": "object"
|
25 | 27 | },
|
26 |
| - "Audience": { |
27 |
| - "enum": [ |
28 |
| - "assistant", |
29 |
| - "user" |
30 |
| - ], |
31 |
| - "type": "string" |
32 |
| - }, |
33 | 28 | "BlobResourceContents": {
|
34 | 29 | "properties": {
|
35 | 30 | "blob": {
|
|
422 | 417 | "type": "string"
|
423 | 418 | },
|
424 | 419 | "role": {
|
425 |
| - "enum": [ |
426 |
| - "assistant", |
427 |
| - "user" |
428 |
| - ], |
429 |
| - "type": "string" |
| 420 | + "$ref": "#/definitions/Role" |
430 | 421 | },
|
431 | 422 | "stopReason": {
|
432 | 423 | "description": "The reason why sampling stopped, if known.",
|
|
450 | 441 | "annotations": {
|
451 | 442 | "properties": {
|
452 | 443 | "audience": {
|
453 |
| - "description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]", |
| 444 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
454 | 445 | "items": {
|
455 |
| - "$ref": "#/definitions/Audience" |
| 446 | + "$ref": "#/definitions/Role" |
456 | 447 | },
|
457 | 448 | "type": "array"
|
458 | 449 | },
|
459 | 450 | "priority": {
|
460 |
| - "description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance", |
461 |
| - "type": "integer" |
| 451 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 452 | + "maximum": 1, |
| 453 | + "minimum": 0, |
| 454 | + "type": "number" |
462 | 455 | }
|
463 | 456 | },
|
464 | 457 | "type": "object"
|
|
550 | 543 | "annotations": {
|
551 | 544 | "properties": {
|
552 | 545 | "audience": {
|
553 |
| - "description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]", |
| 546 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
554 | 547 | "items": {
|
555 |
| - "$ref": "#/definitions/Audience" |
| 548 | + "$ref": "#/definitions/Role" |
556 | 549 | },
|
557 | 550 | "type": "array"
|
558 | 551 | },
|
559 | 552 | "priority": {
|
560 |
| - "description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance", |
561 |
| - "type": "integer" |
| 553 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 554 | + "maximum": 1, |
| 555 | + "minimum": 0, |
| 556 | + "type": "number" |
562 | 557 | }
|
563 | 558 | },
|
564 | 559 | "type": "object"
|
|
1360 | 1355 | ]
|
1361 | 1356 | },
|
1362 | 1357 | "role": {
|
1363 |
| - "enum": [ |
1364 |
| - "assistant", |
1365 |
| - "user" |
1366 |
| - ], |
1367 |
| - "type": "string" |
| 1358 | + "$ref": "#/definitions/Role" |
1368 | 1359 | }
|
1369 | 1360 | },
|
1370 | 1361 | "required": [
|
|
1484 | 1475 | "annotations": {
|
1485 | 1476 | "properties": {
|
1486 | 1477 | "audience": {
|
1487 |
| - "description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]", |
| 1478 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
1488 | 1479 | "items": {
|
1489 |
| - "$ref": "#/definitions/Audience" |
| 1480 | + "$ref": "#/definitions/Role" |
1490 | 1481 | },
|
1491 | 1482 | "type": "array"
|
1492 | 1483 | },
|
1493 | 1484 | "priority": {
|
1494 |
| - "description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance", |
1495 |
| - "type": "integer" |
| 1485 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 1486 | + "maximum": 1, |
| 1487 | + "minimum": 0, |
| 1488 | + "type": "number" |
1496 | 1489 | }
|
1497 | 1490 | },
|
1498 | 1491 | "type": "object"
|
|
1588 | 1581 | "annotations": {
|
1589 | 1582 | "properties": {
|
1590 | 1583 | "audience": {
|
1591 |
| - "description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]", |
| 1584 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
1592 | 1585 | "items": {
|
1593 |
| - "$ref": "#/definitions/Audience" |
| 1586 | + "$ref": "#/definitions/Role" |
1594 | 1587 | },
|
1595 | 1588 | "type": "array"
|
1596 | 1589 | },
|
1597 | 1590 | "priority": {
|
1598 |
| - "description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance", |
1599 |
| - "type": "integer" |
| 1591 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 1592 | + "maximum": 1, |
| 1593 | + "minimum": 0, |
| 1594 | + "type": "number" |
1600 | 1595 | }
|
1601 | 1596 | },
|
1602 | 1597 | "type": "object"
|
|
1663 | 1658 | },
|
1664 | 1659 | "type": "object"
|
1665 | 1660 | },
|
| 1661 | + "Role": { |
| 1662 | + "description": "The sender or recipient of messages and data in a conversation.", |
| 1663 | + "enum": [ |
| 1664 | + "assistant", |
| 1665 | + "user" |
| 1666 | + ], |
| 1667 | + "type": "string" |
| 1668 | + }, |
1666 | 1669 | "Root": {
|
1667 | 1670 | "description": "Represents a root directory or file that the server can operate on.",
|
1668 | 1671 | "properties": {
|
|
1719 | 1722 | ]
|
1720 | 1723 | },
|
1721 | 1724 | "role": {
|
1722 |
| - "enum": [ |
1723 |
| - "assistant", |
1724 |
| - "user" |
1725 |
| - ], |
1726 |
| - "type": "string" |
| 1725 | + "$ref": "#/definitions/Role" |
1727 | 1726 | }
|
1728 | 1727 | },
|
1729 | 1728 | "required": [
|
|
1915 | 1914 | "annotations": {
|
1916 | 1915 | "properties": {
|
1917 | 1916 | "audience": {
|
1918 |
| - "description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]", |
| 1917 | + "description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).", |
1919 | 1918 | "items": {
|
1920 |
| - "$ref": "#/definitions/Audience" |
| 1919 | + "$ref": "#/definitions/Role" |
1921 | 1920 | },
|
1922 | 1921 | "type": "array"
|
1923 | 1922 | },
|
1924 | 1923 | "priority": {
|
1925 |
| - "description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance", |
1926 |
| - "type": "integer" |
| 1924 | + "description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.", |
| 1925 | + "maximum": 1, |
| 1926 | + "minimum": 0, |
| 1927 | + "type": "number" |
1927 | 1928 | }
|
1928 | 1929 | },
|
1929 | 1930 | "type": "object"
|
|
0 commit comments