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

**URL:** <https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, Blueprint\
**Created:** [February 7, 2023, 12:05am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168 "2023-02-07T00:05:49Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [March 30, 2023, 8:34pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/61 "2023-03-30T20:34:59Z")

</div>

# Upcoming feature: Image Generation w/ DALL-E

- Working Branch: [feature/IMAGE-MODULE-41 (github.com)](https://github.com/lucoiso/UEHttpGPT/tree/feature/IMAGE-MODULE-41)

## Progress Screenshots

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/d/f7d0f05de210d0e23ade82c3fdb73d19ff477bc4.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/b/a2bd510b923b58a884ad23a10ecc88abf28fdda7.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/8/168bf17743af3d0f170415e144373f938577438c.png)

---

<div class="post-metadata">

**Author:** ![Pigdug](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pigdug](https://forums.unrealengine.com/u/Pigdug)\
**Post date:** [March 31, 2023, 5:19pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/62 "2023-03-31T17:19:13Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 1, 2023, 12:36am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/63 "2023-04-01T00:36:58Z")

</div>

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. : )

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/4/6e4cd31cb180d47c482e9498ab908cae291959b7.png)

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 1, 2023, 12:40am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/64 "2023-04-01T00:40:59Z")

</div>

## Upcoming Feature: Image Generation w/ DALL-E

Including this new Editor Tool xD

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/a/45a640abd5752288ae6ea9b8f74d93a245e08c85.jpeg)

---

<div class="post-metadata">

**Author:** ![HollowsWoodsman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hollowswoodsman/32/966196_2.png) [@HollowsWoodsman](https://forums.unrealengine.com/u/HollowsWoodsman)\
**Post date:** [April 1, 2023, 5:09am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/65 "2023-04-01T05:09:06Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![HollowsWoodsman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hollowswoodsman/32/966196_2.png) [@HollowsWoodsman](https://forums.unrealengine.com/u/HollowsWoodsman)\
**Post date:** [April 1, 2023, 5:10am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/66 "2023-04-01T05:10:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![j05hau](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/j05hau/32/1130911_2.png) [@j05hau](https://forums.unrealengine.com/u/j05hau)\
**Post date:** [April 1, 2023, 7:50am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/68 "2023-04-01T07:50:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![j05hau](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/j05hau/32/1130911_2.png) [@j05hau](https://forums.unrealengine.com/u/j05hau)\
**Post date:** [April 1, 2023, 7:56am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/69 "2023-04-01T07:56:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![j05hau](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/j05hau/32/1130911_2.png) [@j05hau](https://forums.unrealengine.com/u/j05hau)\
**Post date:** [April 1, 2023, 8:07am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/70 "2023-04-01T08:07:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 1, 2023, 7:05pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/71 "2023-04-01T19:05:26Z")

</div>

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

- Release: [HttpGPT v1.5.0 (github.com)](https://github.com/lucoiso/UEHttpGPT/releases/tag/v1.5.0)
- Marketplace: [Unreal Engine Marketplace](https://www.unrealengine.com/marketplace/en-US/product/433c180835184aeca0172680a69497ee)
- Pull Request: [v1.5.0: Featuring a new module w/ new Editor Tool: Image Generator based on DALL-E](https://github.com/lucoiso/UEHttpGPT/pull/46)

## 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

 ![Editor2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/1/291e1d4463e899bb94a8816f2a1735fa7cd77206.jpeg)

## Functions

 ![Functions](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/c/56c88cd6b2d27414d804ea2f4e3729d448246e54.jpeg)

## Settings

 ![Settings](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/3/3b3d8b88b9fe3a01e726bf4d93edcdb57232fede.png)

## Post Commits

1. [Small fix for UE4.27 + Adjust description · lucoiso/UEHttpGPT@beeff08 · GitHub](https://github.com/lucoiso/UEHttpGPT/commit/beeff08c29525d1a00ae70c3710a574ffc2a5e7a)
2. [Update README.md · lucoiso/UEHttpGPT@4fe6480 · GitHub](https://github.com/lucoiso/UEHttpGPT/commit/4fe648068a907f1fd856a806a4dcc05f01b9a595)

---

<div class="post-metadata">

**Author:** ![FurrySparkle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FurrySparkle](https://forums.unrealengine.com/u/FurrySparkle)\
**Post date:** [April 4, 2023, 3:25am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/73 "2023-04-04T03:25:34Z")

</div>

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?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/4/494bdf866607a30cc194b04ab0be114acab58bd7.png)

---

<div class="post-metadata">

**Author:** ![FurrySparkle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FurrySparkle](https://forums.unrealengine.com/u/FurrySparkle)\
**Post date:** [April 4, 2023, 5:42pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/74 "2023-04-04T17:42:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![FurrySparkle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FurrySparkle](https://forums.unrealengine.com/u/FurrySparkle)\
**Post date:** [April 5, 2023, 6:34pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/76 "2023-04-05T18:34:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 7, 2023, 7:09pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/77 "2023-04-07T19:09:29Z")

</div>

Hi! Thanks for the report! : )

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

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 8, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/78 "2023-04-08T16:11:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![FurrySparkle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FurrySparkle](https://forums.unrealengine.com/u/FurrySparkle)\
**Post date:** [April 8, 2023, 6:39pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/79 "2023-04-08T18:39:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![FurrySparkle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FurrySparkle](https://forums.unrealengine.com/u/FurrySparkle)\
**Post date:** [April 8, 2023, 6:59pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/80 "2023-04-08T18:59:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 10, 2023, 5:08pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/81 "2023-04-10T17:08:09Z")

</div>

# HttpGPT v1.5.1

- Release: [HttpGPT v1.5.1 (github.com)](https://github.com/lucoiso/UEHttpGPT/releases/tag/v1.5.1)
- Marketplace: [Unreal Engine Marketplace](https://www.unrealengine.com/marketplace/en-US/product/433c180835184aeca0172680a69497ee)

## Changes

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

## New Issue

1. [Logit Bias not working correctly (github.com)](https://github.com/lucoiso/UEHttpGPT/issues/49) (@FurrySparkle)

---

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [April 14, 2023, 2:16pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/82 "2023-04-14T14:16:27Z")

</div>

# HttpGPT v1.5.2

- Release: [HttpGPT v1.5.2 (github.com)](https://github.com/lucoiso/UEHttpGPT/releases/tag/v1.5.2)
- Marketplace: [Unreal Engine Marketplace](https://www.unrealengine.com/marketplace/en-US/product/433c180835184aeca0172680a69497ee)
- Pull Request: [v1.5.2 by lucoiso · Pull Request #55 · lucoiso/UEHttpGPT · GitHub](https://github.com/lucoiso/UEHttpGPT/pull/55)

## 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

---

<div class="post-metadata">

**Author:** ![tomhalpin8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomhalpin8](https://forums.unrealengine.com/u/tomhalpin8)\
**Post date:** [April 17, 2023, 5:09pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/83 "2023-04-17T17:09:48Z")

</div>

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

[Previous page](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168.md?page=3)

[Next page](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168.md?page=5)
