sp-dev-fx-webparts/samples/react-azure-openai-api-stream/assets/sample.json

50 lines
2.5 KiB
JSON
Raw Normal View History

2024-01-03 06:44:16 -05:00
[
{
"name": "pnp-sp-dev-spfx-web-parts-react-azure-openai-api-stream",
"source": "pnp",
"title": "Calling Azure OpenAI API in stream mode",
2024-01-10 22:43:33 -05:00
"shortDescription": "This web part shows how you can call Azure OpenAI API in Streaming mode",
2024-01-03 06:44:16 -05:00
"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": [
2024-01-10 22:43:33 -05:00
"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)."
2024-01-03 06:44:16 -05:00
],
"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,
2024-01-11 09:30:01 -05:00
"url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-azure-openai-api-stream/assets/react-azure-openai-api-stream.gif",
2024-01-03 06:44:16 -05:00
"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"
}
]
}
]