diff --git a/AI/.vs/AI/FileContentIndex/ac2116f5-2a3c-4767-b788-9285203d13b0.vsidx b/AI/.vs/AI/FileContentIndex/ac2116f5-2a3c-4767-b788-9285203d13b0.vsidx new file mode 100644 index 0000000..a5a9493 Binary files /dev/null and b/AI/.vs/AI/FileContentIndex/ac2116f5-2a3c-4767-b788-9285203d13b0.vsidx differ diff --git a/AI/.vs/AI/v17/.suo b/AI/.vs/AI/v17/.suo new file mode 100644 index 0000000..d6b157d Binary files /dev/null and b/AI/.vs/AI/v17/.suo differ diff --git a/openAI/.vs/openAI/v17/TestStore/0/000.testlog b/AI/.vs/AI/v17/TestStore/0/000.testlog similarity index 100% rename from openAI/.vs/openAI/v17/TestStore/0/000.testlog rename to AI/.vs/AI/v17/TestStore/0/000.testlog diff --git a/openAI/.vs/openAI/v17/TestStore/0/testlog.manifest b/AI/.vs/AI/v17/TestStore/0/testlog.manifest similarity index 100% rename from openAI/.vs/openAI/v17/TestStore/0/testlog.manifest rename to AI/.vs/AI/v17/TestStore/0/testlog.manifest diff --git a/AI/AI.sln b/AI/AI.sln new file mode 100644 index 0000000..2e794ce --- /dev/null +++ b/AI/AI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34018.315 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AI", "AI\AI.csproj", "{A4A47158-0899-4BFE-A320-C9CD70658C0A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A4A47158-0899-4BFE-A320-C9CD70658C0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4A47158-0899-4BFE-A320-C9CD70658C0A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4A47158-0899-4BFE-A320-C9CD70658C0A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4A47158-0899-4BFE-A320-C9CD70658C0A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DD27F7A4-5E32-4766-8BB6-861336A3F5EB} + EndGlobalSection +EndGlobal diff --git a/openAI/openAI/openAI.csproj b/AI/AI/AI.csproj similarity index 73% rename from openAI/openAI/openAI.csproj rename to AI/AI/AI.csproj index f02677b..f08a46f 100644 --- a/openAI/openAI/openAI.csproj +++ b/AI/AI/AI.csproj @@ -7,4 +7,8 @@ enable + + + + diff --git a/openAI/openAI/AI.cs b/AI/AI/Program.cs similarity index 93% rename from openAI/openAI/AI.cs rename to AI/AI/Program.cs index 2a01d9e..fe3fd1a 100644 --- a/openAI/openAI/AI.cs +++ b/AI/AI/Program.cs @@ -30,7 +30,7 @@ while (true) var response = await ai.Chat.CreateChatCompletionAsync(request); string answer = response.Choices.FirstOrDefault().Message.Content; messages.Add(response.Choices.FirstOrDefault().Message); + Console.ForegroundColor = ConsoleColor.Blue; Console.WriteLine(answer); -} - - + Console.ResetColor(); +} \ No newline at end of file diff --git a/openAI/openAI/obj/openAI.csproj.nuget.dgspec.json b/AI/AI/obj/AI.csproj.nuget.dgspec.json similarity index 78% rename from openAI/openAI/obj/openAI.csproj.nuget.dgspec.json rename to AI/AI/obj/AI.csproj.nuget.dgspec.json index 95dd6f0..d5a7f8d 100644 --- a/openAI/openAI/obj/openAI.csproj.nuget.dgspec.json +++ b/AI/AI/obj/AI.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "format": 1, "restore": { - "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj": {} + "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj": {} }, "projects": { - "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj": { + "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj", - "projectName": "openAI", - "projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj", + "projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj", + "projectName": "AI", + "projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj", "packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\", - "outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\obj\\", + "outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\obj\\", "projectStyle": "PackageReference", "configFilePaths": [ "C:\\Users\\lukas\\AppData\\Roaming\\NuGet\\NuGet.Config", @@ -39,6 +39,12 @@ "frameworks": { "net7.0": { "targetAlias": "net7.0", + "dependencies": { + "OpenAI": { + "target": "Package", + "version": "[1.7.2, )" + } + }, "imports": [ "net461", "net462", diff --git a/openAI/openAI/obj/openAI.csproj.nuget.g.props b/AI/AI/obj/AI.csproj.nuget.g.props similarity index 100% rename from openAI/openAI/obj/openAI.csproj.nuget.g.props rename to AI/AI/obj/AI.csproj.nuget.g.props diff --git a/openAI/openAI/obj/openAI.csproj.nuget.g.targets b/AI/AI/obj/AI.csproj.nuget.g.targets similarity index 100% rename from openAI/openAI/obj/openAI.csproj.nuget.g.targets rename to AI/AI/obj/AI.csproj.nuget.g.targets diff --git a/openAI/openAI/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/AI/AI/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs similarity index 100% rename from openAI/openAI/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs rename to AI/AI/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs diff --git a/openAI/openAI/obj/Debug/net7.0/openAI.AssemblyInfo.cs b/AI/AI/obj/Debug/net7.0/AI.AssemblyInfo.cs similarity index 80% rename from openAI/openAI/obj/Debug/net7.0/openAI.AssemblyInfo.cs rename to AI/AI/obj/Debug/net7.0/AI.AssemblyInfo.cs index 13e755d..b6b2589 100644 --- a/openAI/openAI/obj/Debug/net7.0/openAI.AssemblyInfo.cs +++ b/AI/AI/obj/Debug/net7.0/AI.AssemblyInfo.cs @@ -11,12 +11,12 @@ using System; using System.Reflection; -[assembly: System.Reflection.AssemblyCompanyAttribute("openAI")] +[assembly: System.Reflection.AssemblyCompanyAttribute("AI")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("openAI")] -[assembly: System.Reflection.AssemblyTitleAttribute("openAI")] +[assembly: System.Reflection.AssemblyProductAttribute("AI")] +[assembly: System.Reflection.AssemblyTitleAttribute("AI")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. diff --git a/AI/AI/obj/Debug/net7.0/AI.AssemblyInfoInputs.cache b/AI/AI/obj/Debug/net7.0/AI.AssemblyInfoInputs.cache new file mode 100644 index 0000000..d23b9bb --- /dev/null +++ b/AI/AI/obj/Debug/net7.0/AI.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f41e4df40e8510aa7d9ecb53e27d944473bc621e diff --git a/openAI/openAI/obj/Debug/net7.0/openAI.GeneratedMSBuildEditorConfig.editorconfig b/AI/AI/obj/Debug/net7.0/AI.GeneratedMSBuildEditorConfig.editorconfig similarity index 86% rename from openAI/openAI/obj/Debug/net7.0/openAI.GeneratedMSBuildEditorConfig.editorconfig rename to AI/AI/obj/Debug/net7.0/AI.GeneratedMSBuildEditorConfig.editorconfig index 2b66f1b..3d5e778 100644 --- a/openAI/openAI/obj/Debug/net7.0/openAI.GeneratedMSBuildEditorConfig.editorconfig +++ b/AI/AI/obj/Debug/net7.0/AI.GeneratedMSBuildEditorConfig.editorconfig @@ -7,5 +7,5 @@ build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = openAI -build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\openAIconsoleClient\openAI\openAI\ +build_property.RootNamespace = AI +build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\openAIconsoleClient\AI\AI\ diff --git a/openAI/openAI/obj/Debug/net7.0/openAI.GlobalUsings.g.cs b/AI/AI/obj/Debug/net7.0/AI.GlobalUsings.g.cs similarity index 100% rename from openAI/openAI/obj/Debug/net7.0/openAI.GlobalUsings.g.cs rename to AI/AI/obj/Debug/net7.0/AI.GlobalUsings.g.cs diff --git a/AI/AI/obj/Debug/net7.0/AI.assets.cache b/AI/AI/obj/Debug/net7.0/AI.assets.cache new file mode 100644 index 0000000..347fe23 Binary files /dev/null and b/AI/AI/obj/Debug/net7.0/AI.assets.cache differ diff --git a/AI/AI/obj/Debug/net7.0/AI.csproj.AssemblyReference.cache b/AI/AI/obj/Debug/net7.0/AI.csproj.AssemblyReference.cache new file mode 100644 index 0000000..6c87276 Binary files /dev/null and b/AI/AI/obj/Debug/net7.0/AI.csproj.AssemblyReference.cache differ diff --git a/AI/AI/obj/project.assets.json b/AI/AI/obj/project.assets.json new file mode 100644 index 0000000..ced1e98 --- /dev/null +++ b/AI/AI/obj/project.assets.json @@ -0,0 +1,540 @@ +{ + "version": 3, + "targets": { + "net7.0": { + "Microsoft.Bcl.AsyncInterfaces/1.1.1": { + "type": "package", + "compile": { + "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {} + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Configuration/2.1.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "2.1.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/2.1.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "2.1.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Configuration.Binder/2.1.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "2.1.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/2.1.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Http/2.1.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0", + "Microsoft.Extensions.Logging": "2.1.0", + "Microsoft.Extensions.Options": "2.1.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Http.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Http.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Logging/2.1.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Binder": "2.1.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0", + "Microsoft.Extensions.Logging.Abstractions": "2.1.0", + "Microsoft.Extensions.Options": "2.1.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Logging.Abstractions/2.1.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Options/2.1.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0", + "Microsoft.Extensions.Primitives": "2.1.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Primitives/2.1.0": { + "type": "package", + "dependencies": { + "System.Memory": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "compile": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + } + }, + "OpenAI/1.7.2": { + "type": "package", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "1.1.1", + "Microsoft.Extensions.Http": "2.1.0", + "Newtonsoft.Json": "13.0.3" + }, + "compile": { + "lib/netstandard2.0/OpenAI_API.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/OpenAI_API.dll": { + "related": ".xml" + } + } + }, + "System.Memory/4.5.0": { + "type": "package", + "compile": { + "ref/netcoreapp2.1/_._": {} + }, + "runtime": { + "lib/netcoreapp2.1/_._": {} + } + }, + "System.Runtime.CompilerServices.Unsafe/4.5.0": { + "type": "package", + "compile": { + "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "Microsoft.Bcl.AsyncInterfaces/1.1.1": { + "sha512": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==", + "type": "package", + "path": "microsoft.bcl.asyncinterfaces/1.1.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/net461/Microsoft.Bcl.AsyncInterfaces.xml", + "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml", + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml", + "microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512", + "microsoft.bcl.asyncinterfaces.nuspec", + "ref/net461/Microsoft.Bcl.AsyncInterfaces.dll", + "ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", + "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.Extensions.Configuration/2.1.0": { + "sha512": "SS8ce1GYQTkZoOq5bskqQ+m7xiXQjnKRiGfVNZkkX2SX0HpXNRsKnSUaywRRuCje3v2KT9xeacsM3J9/G2exsQ==", + "type": "package", + "path": "microsoft.extensions.configuration/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.xml", + "microsoft.extensions.configuration.2.1.0.nupkg.sha512", + "microsoft.extensions.configuration.nuspec" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/2.1.0": { + "sha512": "lMmUjAKvY9r6QmxCS15iSb6ulhwnh0zp44NtnVJ+HIDLFmu4iej41U+dU58On8NRezmlgRXiQtLnBeZSzYNKQg==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "microsoft.extensions.configuration.abstractions.2.1.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec" + ] + }, + "Microsoft.Extensions.Configuration.Binder/2.1.0": { + "sha512": "Fls0O54Ielz1DiVYpcmiUpeizN1iKGGI5yAWAoShfmUvMcQ8jAGOK1a+DaflHA5hN9IOKvmSos0yewDYAIY0ZA==", + "type": "package", + "path": "microsoft.extensions.configuration.binder/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.xml", + "microsoft.extensions.configuration.binder.2.1.0.nupkg.sha512", + "microsoft.extensions.configuration.binder.nuspec" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/2.1.0": { + "sha512": "8/CtASu80UIoyG+r8FstrmZW5GLtXxzoYpjj3jV0FKZCL5CiFgSH3pAmqut/dC68mu7N1bU6v0UtKKL3gCUQGQ==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.2.1.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec" + ] + }, + "Microsoft.Extensions.Http/2.1.0": { + "sha512": "vkSkGa1UIZVlAd18oDhrtoawN/q7fDemJcVpT9+28mP7bP0I8zKLSLRwqF++GmPs/7e0Aqlo6jpZm3P7YYS0ag==", + "type": "package", + "path": "microsoft.extensions.http/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Http.dll", + "lib/netstandard2.0/Microsoft.Extensions.Http.xml", + "microsoft.extensions.http.2.1.0.nupkg.sha512", + "microsoft.extensions.http.nuspec" + ] + }, + "Microsoft.Extensions.Logging/2.1.0": { + "sha512": "kuZbZMMHb7ibzhLdn9/R1+PAAFKntlF10tOw4loB8VuQkHvSrBE6IzW1rhBLsEdmLXOgi2zFbwcXFrxzSM6ybA==", + "type": "package", + "path": "microsoft.extensions.logging/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.2.1.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/2.1.0": { + "sha512": "GfD2VtvN9z1W+m6pZZe98yh9VWTSdNY2dZSxtca9uFIY6aBI6twvskMvLO/ktClBOTQmAov/7Em+IWFlHepa0A==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.2.1.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec" + ] + }, + "Microsoft.Extensions.Options/2.1.0": { + "sha512": "VOM1pPMi9+7/4Vc9aPLU8btHOBQy1+AvpqxLxFI2OVtqGv+1klPaV59g9R6aSt2U7ijfB3TjvAO4Tc/cn9/hxA==", + "type": "package", + "path": "microsoft.extensions.options/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.2.1.0.nupkg.sha512", + "microsoft.extensions.options.nuspec" + ] + }, + "Microsoft.Extensions.Primitives/2.1.0": { + "sha512": "gMwH6wgWOPfyfLfMLEP+ZF7/MSJq35e0xxKEYUjt8veEznY45nBVqdfI876+9SFQq2ChcqKf2UyYc2XYj2v27w==", + "type": "package", + "path": "microsoft.extensions.primitives/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.2.1.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec" + ] + }, + "Newtonsoft.Json/13.0.3": { + "sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "type": "package", + "path": "newtonsoft.json/13.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "README.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/net6.0/Newtonsoft.Json.dll", + "lib/net6.0/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.3.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + }, + "OpenAI/1.7.2": { + "sha512": "veUa6xE+8ThjNLBCM75ZOOE0y72UNB/OQMsodOy+hTajZKV8So7s0dwx8x0kMqjgaiLMxC2grKGdQ+CVBl98sA==", + "type": "package", + "path": "openai/1.7.2", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "README.md", + "lib/netstandard2.0/OpenAI_API.dll", + "lib/netstandard2.0/OpenAI_API.xml", + "nuget_logo.png", + "openai.1.7.2.nupkg.sha512", + "openai.nuspec" + ] + }, + "System.Memory/4.5.0": { + "sha512": "m0psCSpUxTGfvwyO0i03ajXVhgBqyXlibXz0Mo1dtKGjaHrXFLnuQ8rNBTmWRqbfRjr4eC6Wah4X5FfuFDu5og==", + "type": "package", + "path": "system.memory/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/netcoreapp2.1/_._", + "lib/netstandard1.1/System.Memory.dll", + "lib/netstandard1.1/System.Memory.xml", + "lib/netstandard2.0/System.Memory.dll", + "lib/netstandard2.0/System.Memory.xml", + "lib/uap10.0.16300/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/netcoreapp2.1/_._", + "ref/netstandard1.1/System.Memory.dll", + "ref/netstandard1.1/System.Memory.xml", + "ref/netstandard2.0/System.Memory.dll", + "ref/netstandard2.0/System.Memory.xml", + "ref/uap10.0.16300/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.memory.4.5.0.nupkg.sha512", + "system.memory.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Runtime.CompilerServices.Unsafe/4.5.0": { + "sha512": "YrzNWduCDHhUaSRBxHxL11UkM2fD6y8hITHis4/LbQZ6vj3vdRjoH3IoPWWC9uDXK2wHIqn+b5gv1Np/VKyM1g==", + "type": "package", + "path": "system.runtime.compilerservices.unsafe/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml", + "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", + "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", + "lib/uap10.0.16300/_._", + "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", + "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", + "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", + "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", + "ref/uap10.0.16300/_._", + "system.runtime.compilerservices.unsafe.4.5.0.nupkg.sha512", + "system.runtime.compilerservices.unsafe.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net7.0": [ + "OpenAI >= 1.7.2" + ] + }, + "packageFolders": { + "C:\\Users\\lukas\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj", + "projectName": "AI", + "projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj", + "packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\", + "outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\lukas\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net7.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net7.0": { + "targetAlias": "net7.0", + "dependencies": { + "OpenAI": { + "target": "Package", + "version": "[1.7.2, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/AI/AI/obj/project.nuget.cache b/AI/AI/obj/project.nuget.cache new file mode 100644 index 0000000..04ef28f --- /dev/null +++ b/AI/AI/obj/project.nuget.cache @@ -0,0 +1,23 @@ +{ + "version": 2, + "dgSpecHash": "4cQKs5VXafiGG/4l4TP6AWhp7zRqLHPtntayIY4N5dUUjb761b7NiKjWuzuoEW1F6RHxIos66+vnpH08rzDM2A==", + "success": true, + "projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\AI\\AI\\AI.csproj", + "expectedPackageFiles": [ + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.configuration\\2.1.0\\microsoft.extensions.configuration.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\2.1.0\\microsoft.extensions.configuration.abstractions.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.configuration.binder\\2.1.0\\microsoft.extensions.configuration.binder.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\2.1.0\\microsoft.extensions.dependencyinjection.abstractions.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.http\\2.1.0\\microsoft.extensions.http.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.logging\\2.1.0\\microsoft.extensions.logging.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\2.1.0\\microsoft.extensions.logging.abstractions.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.options\\2.1.0\\microsoft.extensions.options.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\microsoft.extensions.primitives\\2.1.0\\microsoft.extensions.primitives.2.1.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\openai\\1.7.2\\openai.1.7.2.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\system.memory\\4.5.0\\system.memory.4.5.0.nupkg.sha512", + "C:\\Users\\lukas\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.0\\system.runtime.compilerservices.unsafe.4.5.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/openAI/.vs/ProjectEvaluation/openai.metadata.v7.bin b/openAI/.vs/ProjectEvaluation/openai.metadata.v7.bin deleted file mode 100644 index cff3742..0000000 Binary files a/openAI/.vs/ProjectEvaluation/openai.metadata.v7.bin and /dev/null differ diff --git a/openAI/.vs/ProjectEvaluation/openai.projects.v7.bin b/openAI/.vs/ProjectEvaluation/openai.projects.v7.bin deleted file mode 100644 index fdbec66..0000000 Binary files a/openAI/.vs/ProjectEvaluation/openai.projects.v7.bin and /dev/null differ diff --git a/openAI/.vs/openAI/DesignTimeBuild/.dtbcache.v2 b/openAI/.vs/openAI/DesignTimeBuild/.dtbcache.v2 deleted file mode 100644 index f38b940..0000000 Binary files a/openAI/.vs/openAI/DesignTimeBuild/.dtbcache.v2 and /dev/null differ diff --git a/openAI/.vs/openAI/FileContentIndex/6cf6f362-f930-4996-8c44-0977ddd80d44.vsidx b/openAI/.vs/openAI/FileContentIndex/6cf6f362-f930-4996-8c44-0977ddd80d44.vsidx deleted file mode 100644 index a7d76f1..0000000 Binary files a/openAI/.vs/openAI/FileContentIndex/6cf6f362-f930-4996-8c44-0977ddd80d44.vsidx and /dev/null differ diff --git a/openAI/.vs/openAI/FileContentIndex/8592d702-9337-44be-8b29-e8ef1b336e01.vsidx b/openAI/.vs/openAI/FileContentIndex/8592d702-9337-44be-8b29-e8ef1b336e01.vsidx deleted file mode 100644 index b2f7ef1..0000000 Binary files a/openAI/.vs/openAI/FileContentIndex/8592d702-9337-44be-8b29-e8ef1b336e01.vsidx and /dev/null differ diff --git a/openAI/.vs/openAI/FileContentIndex/981518b3-e573-4bad-a3b0-b5ba1fc72486.vsidx b/openAI/.vs/openAI/FileContentIndex/981518b3-e573-4bad-a3b0-b5ba1fc72486.vsidx deleted file mode 100644 index a7d76f1..0000000 Binary files a/openAI/.vs/openAI/FileContentIndex/981518b3-e573-4bad-a3b0-b5ba1fc72486.vsidx and /dev/null differ diff --git a/openAI/.vs/openAI/FileContentIndex/b9147c1b-c516-46d9-b387-7c6c727a7464.vsidx b/openAI/.vs/openAI/FileContentIndex/b9147c1b-c516-46d9-b387-7c6c727a7464.vsidx deleted file mode 100644 index 3b39956..0000000 Binary files a/openAI/.vs/openAI/FileContentIndex/b9147c1b-c516-46d9-b387-7c6c727a7464.vsidx and /dev/null differ diff --git a/openAI/.vs/openAI/FileContentIndex/d3176ec0-776a-42ff-a287-79337d1bb01b.vsidx b/openAI/.vs/openAI/FileContentIndex/d3176ec0-776a-42ff-a287-79337d1bb01b.vsidx deleted file mode 100644 index aed7906..0000000 Binary files a/openAI/.vs/openAI/FileContentIndex/d3176ec0-776a-42ff-a287-79337d1bb01b.vsidx and /dev/null differ diff --git a/openAI/.vs/openAI/v17/.futdcache.v2 b/openAI/.vs/openAI/v17/.futdcache.v2 deleted file mode 100644 index 61f7d45..0000000 Binary files a/openAI/.vs/openAI/v17/.futdcache.v2 and /dev/null differ diff --git a/openAI/.vs/openAI/v17/.suo b/openAI/.vs/openAI/v17/.suo deleted file mode 100644 index a53ef67..0000000 Binary files a/openAI/.vs/openAI/v17/.suo and /dev/null differ diff --git a/openAI/openAI.sln b/openAI/openAI.sln deleted file mode 100644 index b0f41cd..0000000 --- a/openAI/openAI.sln +++ /dev/null @@ -1,30 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.7.34018.315 -MinimumVisualStudioVersion = 10.0.40219.1 -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 -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {99574B35-B25B-4DC2-88B3-3F4AC2938B60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {99574B35-B25B-4DC2-88B3-3F4AC2938B60}.Debug|Any CPU.Build.0 = Debug|Any CPU - {99574B35-B25B-4DC2-88B3-3F4AC2938B60}.Release|Any CPU.ActiveCfg = Release|Any CPU - {99574B35-B25B-4DC2-88B3-3F4AC2938B60}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {54F49607-DB1A-4A6C-A03A-DE3126ED8C0E} - EndGlobalSection -EndGlobal diff --git a/openAI/openAI/obj/Debug/net7.0/openAI.AssemblyInfoInputs.cache b/openAI/openAI/obj/Debug/net7.0/openAI.AssemblyInfoInputs.cache deleted file mode 100644 index 2f6cec3..0000000 --- a/openAI/openAI/obj/Debug/net7.0/openAI.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -af3f50c41144112b020ab5c5c97efc013b493ed1 diff --git a/openAI/openAI/obj/Debug/net7.0/openAI.assets.cache b/openAI/openAI/obj/Debug/net7.0/openAI.assets.cache deleted file mode 100644 index bef71cb..0000000 Binary files a/openAI/openAI/obj/Debug/net7.0/openAI.assets.cache and /dev/null differ diff --git a/openAI/openAI/obj/project.assets.json b/openAI/openAI/obj/project.assets.json deleted file mode 100644 index c59a314..0000000 --- a/openAI/openAI/obj/project.assets.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "version": 3, - "targets": { - "net7.0": {} - }, - "libraries": {}, - "projectFileDependencyGroups": { - "net7.0": [] - }, - "packageFolders": { - "C:\\Users\\lukas\\.nuget\\packages\\": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj", - "projectName": "openAI", - "projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj", - "packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\", - "outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\lukas\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/openAI/openAI/obj/project.nuget.cache b/openAI/openAI/obj/project.nuget.cache deleted file mode 100644 index ca6f423..0000000 --- a/openAI/openAI/obj/project.nuget.cache +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "TvNUkNYNeKmgP4EpteBZUn0lQscM3E855NG74/V/Vz4fuW8JkfF3EKCgvxzc7JcpcFT1mK+LZD1osdxAoJYhXg==", - "success": true, - "projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\openAIconsoleClient\\openAI\\openAI\\openAI.csproj", - "expectedPackageFiles": [], - "logs": [] -} \ No newline at end of file