Readme.md, C#, VS2022

This commit is contained in:
Lukáš Kaňka 2023-09-02 20:27:53 +02:00
parent 4ecaeaa3eb
commit 3f4259b62a
10 changed files with 10 additions and 2 deletions

Binary file not shown.

3
openAI/Readme.md Normal file
View File

@ -0,0 +1,3 @@
Tento projekt vznikl za pomocí Míry Holce. Tím velké díky.
Nezapomeň si doinstalovat Nuget package "openAI" nyní je aktualní verze 1.7.2

View File

@ -3,7 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.7.34018.315 VisualStudioVersion = 17.7.34018.315
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "openAI", "openAI\openAI.csproj", "{99574B35-B25B-4DC2-88B3-3F4AC2938B60}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "openAI", "openAI\openAI.csproj", "{99574B35-B25B-4DC2-88B3-3F4AC2938B60}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6A256FD6-BE4B-4D94-A660-F3293592DA7E}"
ProjectSection(SolutionItems) = preProject
Readme.md = Readme.md
EndProjectSection
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -18,7 +18,7 @@ while (true)
var ai = new OpenAIAPI(new APIAuthentication("Jsem vložíš API key", "Jsem vložíš Organization ID")); var ai = new OpenAIAPI(new APIAuthentication("Jsem vložíš API key", "Jsem vložíš Organization ID"));
ChatRequest request = new ChatRequest(); ChatRequest request = new ChatRequest();
request.user = "Lukáš Kaňka"; request.user = "Jsem vlož uživatele(pokud v organizaci je vás více)";
request.Model = Model.ChatGPTTurbo; request.Model = Model.ChatGPTTurbo;
request.Messages = messages; request.Messages = messages;
request.Temperature = 0.7; request.Temperature = 0.7;