Skip to content

Commit 48c664d

Browse files
committed
✏️ Update Index.razor for content clarity
- Enhanced content for better understanding. - Improved structure and readability of the document. - Ensured consistency with existing documentation style. Generated by Copilot
1 parent 3b44cec commit 48c664d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TestArena/Blog/AI/OpenAI/openai-rest-api/Index.razor

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ Text: "My favorite movie is The Matrix, which came out in 1999 and was directed
164164
<strong>User Prompt</strong> → <strong>Schema Definition</strong> → <strong>API Call with Function</strong> → <strong>Structured JSON Output</strong>
165165
</CalloutBox>
166166
<CodeSnippet Language="json" Description="Example API Payload for Function Calling">
167+
-- POST https://api.openai.com/v1/chat/completions
168+
-- Content-Type: application/json
169+
-- Authorization: Bearer $OPENAI_API_KEY
170+
167171
{
168172
"model": "gpt-4o-mini",
169173
"messages": [

0 commit comments

Comments
 (0)