Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
lucoiso committed Mar 15, 2024
1 parent 70d66e4 commit cf40008
Show file tree
Hide file tree
Showing 49 changed files with 2,659 additions and 2,762 deletions.
40 changes: 20 additions & 20 deletions Config/DefaultHttpGPT.ini
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[CoreRedirects]
;v1.5.0
; Classes
+ClassRedirects=(OldName="/Script/HttpGPT.HttpGPTRequest", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest")
+ClassRedirects=(OldName="/Script/HttpGPT.HttpGPTHelper", NewName="/Script/HttpGPTCommonModule.HttpGPTHelper")
+ClassRedirects=(OldName="/Script/HttpGPT.HttpGPTSettings", NewName="/Script/HttpGPTCommonModule.HttpGPTSettings")
+ClassRedirects = (OldName="/Script/HttpGPT.HttpGPTRequest", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest")
+ClassRedirects = (OldName="/Script/HttpGPT.HttpGPTHelper", NewName="/Script/HttpGPTCommonModule.HttpGPTHelper")
+ClassRedirects = (OldName="/Script/HttpGPT.HttpGPTSettings", NewName="/Script/HttpGPTCommonModule.HttpGPTSettings")

; Delegates
+ClassRedirects=(OldName="/Script/HttpGPT.HttpGPTResponseDelegate", NewName="/Script/HttpGPTChatModule.HttpGPTChatResponseDelegate")
+ClassRedirects=(OldName="/Script/HttpGPT.HttpGPTGenericDelegate", NewName="/Script/HttpGPTCommonModule.HttpGPTGenericDelegate")
+ClassRedirects = (OldName="/Script/HttpGPT.HttpGPTResponseDelegate", NewName="/Script/HttpGPTChatModule.HttpGPTChatResponseDelegate")
+ClassRedirects = (OldName="/Script/HttpGPT.HttpGPTGenericDelegate", NewName="/Script/HttpGPTCommonModule.HttpGPTGenericDelegate")

; Enumerations
+EnumRedirects=(OldName="/Script/HttpGPT.EHttpGPTRole",NewName="/Script/HttpGPTCommonModule.EHttpGPTChatRole")
+EnumRedirects=(OldName="/Script/HttpGPT.EHttpGPTModel",NewName="/Script/HttpGPTCommonModule.EHttpGPTChatModel")
+EnumRedirects = (OldName="/Script/HttpGPT.EHttpGPTRole",NewName="/Script/HttpGPTCommonModule.EHttpGPTChatRole")
+EnumRedirects = (OldName="/Script/HttpGPT.EHttpGPTModel",NewName="/Script/HttpGPTCommonModule.EHttpGPTChatModel")

; Structures
+StructRedirects=(OldName="/Script/HttpGPT.HttpGPTError",NewName="/Script/HttpGPTCommonModule.HttpGPTCommonError")
+StructRedirects=(OldName="/Script/HttpGPT.HttpGPTResponse",NewName="/Script/HttpGPTCommonModule.HttpGPTChatResponse")
+StructRedirects=(OldName="/Script/HttpGPT.HttpGPTMessage",NewName="/Script/HttpGPTCommonModule.HttpGPTChatMessage")
+StructRedirects=(OldName="/Script/HttpGPT.HttpGPTChoice",NewName="/Script/HttpGPTCommonModule.HttpGPTChatChoice")
+StructRedirects=(OldName="/Script/HttpGPT.HttpGPTUsage",NewName="/Script/HttpGPTCommonModule.HttpGPTChatUsage")
+StructRedirects=(OldName="/Script/HttpGPT.HttpGPTOptions",NewName="/Script/HttpGPTCommonModule.HttpGPTChatOptions")
+StructRedirects = (OldName="/Script/HttpGPT.HttpGPTError",NewName="/Script/HttpGPTCommonModule.HttpGPTCommonError")
+StructRedirects = (OldName="/Script/HttpGPT.HttpGPTResponse",NewName="/Script/HttpGPTCommonModule.HttpGPTChatResponse")
+StructRedirects = (OldName="/Script/HttpGPT.HttpGPTMessage",NewName="/Script/HttpGPTCommonModule.HttpGPTChatMessage")
+StructRedirects = (OldName="/Script/HttpGPT.HttpGPTChoice",NewName="/Script/HttpGPTCommonModule.HttpGPTChatChoice")
+StructRedirects = (OldName="/Script/HttpGPT.HttpGPTUsage",NewName="/Script/HttpGPTCommonModule.HttpGPTChatUsage")
+StructRedirects = (OldName="/Script/HttpGPT.HttpGPTOptions",NewName="/Script/HttpGPTCommonModule.HttpGPTChatOptions")

; Properties
+PropertyRedirects=(OldName="/Script/HttpGPTCommonModule.HttpGPTChatOptions.APIKey", NewName="/Script/HttpGPTCommonModule.HttpGPTCommonOptions.APIKey")
+PropertyRedirects=(OldName="/Script/HttpGPTCommonModule.HttpGPTChatOptions.User", NewName="/Script/HttpGPTCommonModule.HttpGPTCommonOptions.User")
+PropertyRedirects=(OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage_CustomOptions.Options", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage_CustomOptions.ChatOptions")
+PropertyRedirects=(OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages_CustomOptions.Options", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages_CustomOptions.ChatOptions")
+PropertyRedirects = (OldName="/Script/HttpGPTCommonModule.HttpGPTChatOptions.APIKey", NewName="/Script/HttpGPTCommonModule.HttpGPTCommonOptions.APIKey")
+PropertyRedirects = (OldName="/Script/HttpGPTCommonModule.HttpGPTChatOptions.User", NewName="/Script/HttpGPTCommonModule.HttpGPTCommonOptions.User")
+PropertyRedirects = (OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage_CustomOptions.Options", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage_CustomOptions.ChatOptions")
+PropertyRedirects = (OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages_CustomOptions.Options", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages_CustomOptions.ChatOptions")

; Functions
+FunctionRedirects=(OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage_DefaultOptions")
+FunctionRedirects=(OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages_DefaultOptions")
+FunctionRedirects=(OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.GetTaskOptions", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.GetChatOptions")
+FunctionRedirects = (OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessage_DefaultOptions")
+FunctionRedirects = (OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.SendMessages_DefaultOptions")
+FunctionRedirects = (OldName="/Script/HttpGPTChatModule.HttpGPTChatRequest.GetTaskOptions", NewName="/Script/HttpGPTChatModule.HttpGPTChatRequest.GetChatOptions")
126 changes: 63 additions & 63 deletions HttpGPT.uplugin
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
{
"FileVersion": 3,
"Version": 21,
"VersionName": "1.5.8",
"FriendlyName": "HttpGPT - GPT Integration",
"Description": "HttpGPT is an Unreal Engine plugin that facilitates integration with OpenAI's GPT based services (ChatGPT and DALL-E) through asynchronous REST requests, making it easy for developers to communicate with these services. HttpGPT also includes new Editor Tools to integrate Chat GPT and DALL-E image generation directly in the Engine.",
"Category": "Game Features",
"CreatedBy": "Lucas Vilas-Boas",
"CreatedByURL": "/~https://github.com/lucoiso",
"DocsURL": "/~https://github.com/lucoiso/UEHttpGPT/wiki",
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/433c180835184aeca0172680a69497ee",
"SupportURL": "/~https://github.com/lucoiso/UEHttpGPT/issues",
"CanContainContent": false,
"IsBetaVersion": true,
"IsExperimentalVersion": false,
"Installed": false,
"Modules": [
{
"Name": "HttpGPTChatModule",
"Type": "Runtime",
"LoadingPhase": "Default",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux",
"IOS",
"Android"
]
},
{
"Name": "HttpGPTImageModule",
"Type": "Runtime",
"LoadingPhase": "Default",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux",
"IOS",
"Android"
]
},
{
"Name": "HttpGPTCommonModule",
"Type": "Runtime",
"LoadingPhase": "Default",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux",
"IOS",
"Android"
]
},
{
"Name": "HttpGPTEditorModule",
"Type": "Editor",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux"
],
"LoadingPhase": "Default"
}
]
"FileVersion": 3,
"Version": 22,
"VersionName": "1.5.9",
"FriendlyName": "HttpGPT - GPT Integration",
"Description": "HttpGPT is an Unreal Engine plugin that facilitates integration with OpenAI's GPT based services (ChatGPT and DALL-E) through asynchronous REST requests, making it easy for developers to communicate with these services. HttpGPT also includes new Editor Tools to integrate Chat GPT and DALL-E image generation directly in the Engine.",
"Category": "Game Features",
"CreatedBy": "Lucas Vilas-Boas",
"CreatedByURL": "/~https://github.com/lucoiso",
"DocsURL": "/~https://github.com/lucoiso/UEHttpGPT/wiki",
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/433c180835184aeca0172680a69497ee",
"SupportURL": "/~https://github.com/lucoiso/UEHttpGPT/issues",
"CanContainContent": false,
"IsBetaVersion": true,
"IsExperimentalVersion": false,
"Installed": false,
"Modules": [
{
"Name": "HttpGPTChatModule",
"Type": "Runtime",
"LoadingPhase": "Default",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux",
"IOS",
"Android"
]
},
{
"Name": "HttpGPTImageModule",
"Type": "Runtime",
"LoadingPhase": "Default",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux",
"IOS",
"Android"
]
},
{
"Name": "HttpGPTCommonModule",
"Type": "Runtime",
"LoadingPhase": "Default",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux",
"IOS",
"Android"
]
},
{
"Name": "HttpGPTEditorModule",
"Type": "Editor",
"PlatformAllowList": [
"Win64",
"Mac",
"Linux"
],
"LoadingPhase": "Default"
}
]
}
39 changes: 18 additions & 21 deletions Source/HttpGPTChatModule/HttpGPTChatModule.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,25 @@

public class HttpGPTChatModule : ModuleRules
{
public HttpGPTChatModule(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
CppStandard = CppStandardVersion.Cpp17;
public HttpGPTChatModule(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
CppStandard = CppStandardVersion.Cpp17;

PublicDependencyModuleNames.AddRange(new[]
{
"Core",
"HTTP",
"Json",
"HttpGPTCommonModule"
});
PublicDependencyModuleNames.AddRange(new[]
{
"Core",
"HTTP",
"Json",
"HttpGPTCommonModule"
});

PrivateDependencyModuleNames.AddRange(new[]
{
"Engine",
"CoreUObject"
});
PrivateDependencyModuleNames.AddRange(new[]
{
"Engine",
"CoreUObject"
});

if (Target.bBuildEditor)
{
PrivateDependencyModuleNames.Add("UnrealEd");
}
}
if (Target.bBuildEditor) PrivateDependencyModuleNames.Add("UnrealEd");
}
}
2 changes: 1 addition & 1 deletion Source/HttpGPTChatModule/Private/HttpGPTChatModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ void FHttpGPTChatModule::ShutdownModule()

#undef LOCTEXT_NAMESPACE

IMPLEMENT_MODULE(FHttpGPTChatModule, HttpGPTChatModule)
IMPLEMENT_MODULE(FHttpGPTChatModule, HttpGPTChatModule)
Loading

0 comments on commit cf40008

Please sign in to comment.