diff --git a/Generation/Converters/Argumentum.AssetConverter/Argumentum.AssetConverter.csproj b/Generation/Converters/Argumentum.AssetConverter/Argumentum.AssetConverter.csproj index 6ebeef1d..46d491c5 100644 --- a/Generation/Converters/Argumentum.AssetConverter/Argumentum.AssetConverter.csproj +++ b/Generation/Converters/Argumentum.AssetConverter/Argumentum.AssetConverter.csproj @@ -11,7 +11,7 @@ - + diff --git a/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/DatasetUpdaterConfig.cs b/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/DatasetUpdaterConfig.cs index 52314d36..c5f0db01 100644 --- a/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/DatasetUpdaterConfig.cs +++ b/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/DatasetUpdaterConfig.cs @@ -1,5 +1,4 @@ -using OpenAI.GPT3.ObjectModels; -using Spectre.Console; +using Spectre.Console; using System; using System.Collections.Concurrent; using System.Collections.Generic; @@ -8,6 +7,7 @@ using System.Reflection; using System.Threading.Tasks; using Argumentum.AssetConverter.DatasetUpdater; +using OpenAI.ObjectModels; namespace Argumentum.AssetConverter; @@ -22,7 +22,7 @@ public class DatasetUpdaterConfig public string OpenAIKeyPath { get; set; } = @"G:\Mon Drive\MyIA\Argumentum\Fallacies\Gestion\OpenAI-Key.txt"; - public string Model { get; set; } = Models.ChatGpt3_5Turbo; + public string Model { get; set; } = Models.Gpt_3_5_Turbo; public int ChunkSize { get; set; } = 3; diff --git a/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/Prompt.cs b/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/Prompt.cs index 22a4f777..324c4f0d 100644 --- a/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/Prompt.cs +++ b/Generation/Converters/Argumentum.AssetConverter/DatasetUpdater/Prompt.cs @@ -2,10 +2,11 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using OpenAI.GPT3; -using OpenAI.GPT3.Managers; -using OpenAI.GPT3.ObjectModels; -using OpenAI.GPT3.ObjectModels.RequestModels; +using OpenAI; +using OpenAI.Managers; +using OpenAI.ObjectModels; +using OpenAI.ObjectModels.RequestModels; + namespace Argumentum.AssetConverter; @@ -14,7 +15,7 @@ public class Prompt private OpenAIService openAiService ; - public string Model { get; set; } = Models.ChatGpt3_5Turbo; + public string Model { get; set; } = Models.Gpt_3_5_Turbo; public string ApiKey { get; set; } @@ -42,7 +43,7 @@ public OpenAIService OpenAiService public async Task Send() { - Model = Models.ChatGpt3_5Turbo; + Model = Models.Gpt_3_5_Turbo; var completionResult = await OpenAiService.ChatCompletion.CreateCompletion(new ChatCompletionCreateRequest { Messages = new List