SaeedP
Well-known member
- Joined
- Oct 21, 2020
- Messages
- 113
- Programming Experience
- 3-5
Hi,
This is part of a tutorial for OpenAI development:
Can you please help me to understand this part of the code:
regards,
Saeed
This is part of a tutorial for OpenAI development:
Building AI-Chatbot App with ChatGPT API and Blazor: A Step-by-Step Guide
Building AI-powered chat bot using C# and .NET. With the power of ChartGPT, In this article, we will walk through the process of creating a Blazor app with ChartGPT API.
www.c-sharpcorner.com
Can you please help me to understand this part of the code:
C#:
Content = new StringContent("{\"model\": \"text-davinci-001\", \"prompt\": \"" +
query +
"\",\"temperature\": 1,\"max_tokens\": 100}",
Encoding.UTF8,
"application/json")
regards,
Saeed