|
266 | 266 | ></option> |
267 | 267 | </optgroup> |
268 | 268 |
|
269 | | - <optgroup style="font-style: normal;" label="🪄 Realtime (Beta)"> |
270 | | - <option |
271 | | - value="createSession" |
272 | | - data-i18n="OpenaiApi.parameters.createSession" |
273 | | - ></option> |
274 | | - </optgroup> |
275 | | - |
276 | 269 | <optgroup style="font-style: normal;" label="🔄 Runs (Beta)"> |
277 | 270 | <option |
278 | 271 | value="createThreadAndRun" |
@@ -2657,154 +2650,6 @@ <h4>msg.payload Properties</h4> |
2657 | 2650 | </details> |
2658 | 2651 | </section> |
2659 | 2652 |
|
2660 | | - <!-- Begin Realtime docs --> |
2661 | | - <section> |
2662 | | - <details> |
2663 | | - <summary style="font-weight: bold;">🪄 Realtime</summary> |
2664 | | - <a |
2665 | | - href="https://platform.openai.com/docs/api-reference/realtime" |
2666 | | - target="_blank" |
2667 | | - >Official Documentation</a |
2668 | | - > |
2669 | | - <h4 style="font-weight: bolder;"> ⋙ Create Session</h4> |
2670 | | - <p>Create an ephemeral API token for use in client-side applications with the Realtime API.</p> |
2671 | | - <dl class="message-properties"> |
2672 | | - <h4>msg.payload Properties</h4> |
2673 | | - |
2674 | | - <dt> |
2675 | | - model |
2676 | | - <a |
2677 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-model" |
2678 | | - target="_blank" |
2679 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2680 | | - ></a> |
2681 | | - <span class="property-type">string</span> |
2682 | | - </dt> |
2683 | | - <dd>The Realtime model used for this session.</dd> |
2684 | | - |
2685 | | - <dt class="optional"> |
2686 | | - modalities |
2687 | | - <a |
2688 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-modalities" |
2689 | | - target="_blank" |
2690 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2691 | | - ></a> |
2692 | | - <span class="property-type">array</span> |
2693 | | - </dt> |
2694 | | - <dd>The set of modalities the model can respond with.</dd> |
2695 | | - |
2696 | | - <dt class="optional"> |
2697 | | - instructions |
2698 | | - <a |
2699 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-instructions" |
2700 | | - target="_blank" |
2701 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2702 | | - ></a> |
2703 | | - <span class="property-type">string</span> |
2704 | | - </dt> |
2705 | | - <dd>The default system instructions (i.e. system message) prepended to model calls.</dd> |
2706 | | - |
2707 | | - <dt class="optional"> |
2708 | | - voice |
2709 | | - <a |
2710 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-voice" |
2711 | | - target="_blank" |
2712 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2713 | | - ></a> |
2714 | | - <span class="property-type">string</span> |
2715 | | - </dt> |
2716 | | - <dd>The voice the model uses to respond.</dd> |
2717 | | - |
2718 | | - <dt class="optional"> |
2719 | | - input_audio_format |
2720 | | - <a |
2721 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-input_audio_transcription" |
2722 | | - target="_blank" |
2723 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2724 | | - ></a> |
2725 | | - <span class="property-type">object</span> |
2726 | | - </dt> |
2727 | | - <dd>Configuration for input audio transcription.</dd> |
2728 | | - |
2729 | | - <dt class="optional"> |
2730 | | - output_audio_format |
2731 | | - <a |
2732 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-output_audio_format" |
2733 | | - target="_blank" |
2734 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2735 | | - ></a> |
2736 | | - <span class="property-type">string</span> |
2737 | | - </dt> |
2738 | | - <dd>The format of output audio.</dd> |
2739 | | - |
2740 | | - <dt class="optional"> |
2741 | | - input_audio_transcription |
2742 | | - <a |
2743 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-input_audio_transcription" |
2744 | | - target="_blank" |
2745 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2746 | | - ></a> |
2747 | | - <span class="property-type">object</span> |
2748 | | - </dt> |
2749 | | - <dd>Configuration for input audio transcription.</dd> |
2750 | | - |
2751 | | - <dt class="optional"> |
2752 | | - turn_detection |
2753 | | - <a |
2754 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-turn_detection" |
2755 | | - target="_blank" |
2756 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2757 | | - ></a> |
2758 | | - <span class="property-type">object</span> |
2759 | | - </dt> |
2760 | | - <dd>Configuration for turn detection.</dd> |
2761 | | - |
2762 | | - <dt class="optional"> |
2763 | | - tools |
2764 | | - <a |
2765 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-tools" |
2766 | | - target="_blank" |
2767 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2768 | | - ></a> |
2769 | | - <span class="property-type">array</span> |
2770 | | - </dt> |
2771 | | - <dd>Tools (functions) available to the model.</dd> |
2772 | | - |
2773 | | - <dt class="optional"> |
2774 | | - tool_choice |
2775 | | - <a |
2776 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-tool_choice" |
2777 | | - target="_blank" |
2778 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2779 | | - ></a> |
2780 | | - <span class="property-type">string</span> |
2781 | | - </dt> |
2782 | | - <dd>How the model chooses tools. Options are auto, none, required, or specify a function.</dd> |
2783 | | - |
2784 | | - <dt class="optional"> |
2785 | | - temperature |
2786 | | - <a |
2787 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-temperature" |
2788 | | - target="_blank" |
2789 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2790 | | - ></a> |
2791 | | - <span class="property-type">number</span> |
2792 | | - </dt> |
2793 | | - <dd>Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.</dd> |
2794 | | - |
2795 | | - <dt class="optional"> |
2796 | | - max_response_output_tokens |
2797 | | - <a |
2798 | | - href="https://platform.openai.com/docs/api-reference/realtime-sessions/create#realtime-sessions-create-max_response_output_tokens" |
2799 | | - target="_blank" |
2800 | | - ><i class="fa fa-external-link fa-sm" aria-hidden="true"></i |
2801 | | - ></a> |
2802 | | - <span class="property-type">integer or "inf"</span> |
2803 | | - </dt> |
2804 | | - <dd>Maximum number of output tokens for a single assistant response.</dd> |
2805 | | - </details> |
2806 | | - </section> |
2807 | | - |
2808 | 2653 | <!-- Begin Runs docs --> |
2809 | 2654 | <section> |
2810 | 2655 | <details> |
|
0 commit comments