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 Feb 10, 2024
1 parent 5fddb37 commit a64dc6a
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -3894,15 +3894,15 @@
{
"name": "pnp-sp-dev-spfx-web-parts-react-azure-openai-api-stream",
"source": "pnp",
"title": "Calling Azure OpenAI API in stream mode",
"title": "Calling Azure OpenAI API in streaming 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)."
"This web part shows how you can call Azure OpenAI API in Streaming mode. The web part will show 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 save some tokens (hence money), if the generating response does not look good to you (like when getting AI hallucinations). AI responses render Markdown but there is a toggle to disable so you can compare Markdown rendering of responses with Streaming and without."
],
"creationDateTime": "2024-01-02",
"updateDateTime": "2024-01-02",
"updateDateTime": "2024-02-08",
"products": [
"SharePoint"
],
Expand All @@ -3920,15 +3920,26 @@
{
"type": "image",
"order": 100,
"url": "https://github.com/pnp/sp-dev-fx-webparts/blob/1c6a0a60236cd8637c880406b8a30fec66b798ba/samples/react-azure-openai-api-stream/assets/react-azure-openai-api-stream.gif",
"alt": "Web Part Preview"
"url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-azure-openai-api-stream/assets/screenshot.gif",
"alt": "Sample in action"
},
{
"type": "image",
"order": 101,
"url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-azure-openai-api-stream/assets/screenshot.png",
"alt": "Screenshot"
}
],
"authors": [
{
"gitHubAccount": "luismanez",
"pictureUrl": "https://github.com/luismanez.png",
"name": "Luis Mañez"
},
{
"gitHubAccount": "thechriskent",
"pictureUrl": "https://github.com/thechriskent.png",
"name": "Chris Kent"
}
],
"references": [
Expand Down

0 comments on commit a64dc6a

Please sign in to comment.