[FREE] HttpGPT: GPT Integration (ChatGPT and DALL-E)

Upcoming feature: Image Generation w/ DALL-E

Progress Screenshots

3 Likes

Hello! I’m starting to use the plugin and I love it, but I have a question: Is there a way to change the system context that GPT uses? I’m interested in making it respond to prompts in a different way and it seems like the only option for now is to manually input the entire context along with each prompt that you send to it.
Anyway, thank you very much for the plugin and for working so hard on it!

2 Likes

If you’re talking about the editor tool (HttpGPT Chat), it currently uses a predefined context, but I found the idea interesting and I’m adding an option to customize the context in the next update. : )

3 Likes

Upcoming Feature: Image Generation w/ DALL-E

Including this new Editor Tool xD

4 Likes

Amazing man!! Dalle right inside your game!!
I have got a very rough ChatGPT dialouge set up working in BP! Needs some help but im excited to share it with you and others!

1 Like

this is what I attempted to do with BPs, would love to know if I am doing it correctly - Once I edit the video I will share it on this thread for you and others to see if it is ok or wrong.

1 Like

Heya!

If I wanted to get the token count from each call to GPT to keep track of the context limit as the conversation progresses, is there currently a way to get that from the options?

I see a returned index but not sure if its relevant and the API mentions the return of a token_count available for the call. Would be awesome to keep track of this sort of thing for various tasks.

Man, the second i posted this I realised I didn’t check “usage” and now I cannot delete this post. Thanks for punishing me for my stupid, Epic. Fancy not allowing to delete a post within a second or three lol

1 Like

What a mad lad idea re the DALL-E tho, holy cow you are acing this plugin lucoiso - love it. Easy prototype of icons or anything right within the Editor

1 Like

Oh so we can now change the sytem prompt? This is a game changer - yes! :rocket:

1 Like

HttpGPT v1.5.0: Featuring a new module w/ new Editor Tool: Image Generator based on DALL-E

Changes

  • Separated modules for each type of interaction (Chat | Common | Editor | Image Gen)
  • New functions: Request Image with Default Options & Request Image with Custom Options
  • New Settings & Settings Categories: Now the settings contains different structures for each type of task
  • Custom system context for Editor Chat
  • New Editor Tool: Image Generator

Screenshots

New Editor Tool: Image Generator based on OpenAI’ DALL-E

Functions

Settings

Post Commits

  1. Small fix for UE4.27 + Adjust description · lucoiso/UEHttpGPT@beeff08 · GitHub
  2. Update README.md · lucoiso/UEHttpGPT@4fe6480 · GitHub
3 Likes

I’ve got a bug that I can’t sort. I’m inserting some string from an API into a user obj and trying to insert it in the second slot(index 1) of the array. I’m not able to make this happen, I get the string but it’s not getting added into the array. Could you suggest why I’m having this bug?

1 Like

I think it solved itself when I booted up this morning, Now I’m noticing the logit Bias on my final call isn’t working. I’ll try another restart and see if that fixes this too.

1 Like

Can Confirm Logit Bias isn’t working, Not sure why.

1 Like

Hi! Thanks for the report! : )

Is this issue still occurring? I’ll check this too. :hushed:

About UE5.2 support: Tested here and worked fine without changes. :partying_face:

As of 2 days ago, the logit Bias is broken. I have a list of tokens that are banned and they show up in the UE versions. In python the same logit script completely prevents them and maintains consistency. Thanks for all your work providing us with this. When the marketplace updates I’ll report again. Oh I’ll try my project now I see epic posted the marketplace update

1 Like

Seems to still be broken, I told it to stop saying Final Script, and used the tokenizer for ‘Final’ and ’ Script’ But it still says it in UE

1 Like

HttpGPT v1.5.1

Changes

  • Hotfix: Add .ToLower() to role str parameter to avoid fails in shipping builds

New Issue

  1. Logit Bias not working correctly (github.com) (@FurrySparkle)
1 Like

HttpGPT v1.5.2

Changes

  • Fix Logit Bias: This param was always empty. CreateConstIterator wasn’t working well with the map property.
  • Better Logging: Failures due to empty parameters will tell which param is causing the error. (API Key, Messages or Prompt)
  • Add plugin description to HttpGPT Chat system context
  • Print the request content as Json string in the internal logs to improve debugging
3 Likes

Anyone have a tutorial on how to create a simple character NPC talking system with chat history using the blueprint version?

1 Like