Skip to content

Commit

Permalink
Commit from GitHub Actions (Merge sample metadata)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoabernier committed Jan 11, 2024
1 parent 3a4ee89 commit ed63901
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -3897,6 +3897,54 @@
}
]
},
{
"name": "pnp-sp-dev-spfx-web-parts-react-azure-openai-api-stream",
"source": "pnp",
"title": "Calling Azure OpenAI API in stream mode",
"shortDescription": "This web part shows how you can call Azure OpenAI API in Streaming mode",
"url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-azure-openai-api-stream",
"downloadUrl": "https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-azure-openai-api-stream",
"longDescription": [
"This web part shows how you can call Azure OpenAI API in Streaming mode, so the web part shows the data coming from the API in chunks, giving a much better user experience, so you are not waiting for the entire response. It also shows how you can cancel the streaming response at any point, which is useful to safe some tokens (hence money), if the generating response does not look good to you (like when getting AI hallucinations)."
],
"creationDateTime": "2024-01-02",
"updateDateTime": "2024-01-02",
"products": [
"SharePoint"
],
"metadata": [
{
"key": "CLIENT-SIDE-DEV",
"value": "React"
},
{
"key": "SPFX-VERSION",
"value": "1.18.2"
}
],
"thumbnails": [
{
"type": "image",
"order": 100,
"url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-azure-openai-connector/assets/react-azure-openai-api-stream.gif",
"alt": "Web Part Preview"
}
],
"authors": [
{
"gitHubAccount": "luismanez",
"pictureUrl": "https://github.com/luismanez.png",
"name": "Luis Mañez"
}
],
"references": [
{
"name": "Build your first SharePoint client-side web part",
"description": "Client-side web parts are client-side components that run in the context of a SharePoint page. Client-side web parts can be deployed to SharePoint environments that support the SharePoint Framework. You can also use modern JavaScript web frameworks, tools, and libraries to build them.",
"url": "https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part"
}
]
},
{
"name": "pnp-sp-dev-spfx-web-parts-react-azure-openai-connector",
"source": "pnp",
Expand Down

0 comments on commit ed63901

Please sign in to comment.