Skip to content

Editorial Section - Get Started

Editor chat tool.

Menu bar Tools -> AIChatPlus -> AIChat can open the editor chatting tool provided by the plugin

The tool supports text generation, text chat, image generation, and image analysis.

The interface of the tool is roughly as follows:

text chat

image chat

Main functions

  • Offline large models: Integrated llama.cpp library, supporting local offline execution of large models
  • Text Chat: Click on the New Chat button in the bottom left corner to start a new text chat session.
  • Image Generation: Click the New Image Chat button in the bottom left corner to start a new image generation session.

Image Analysis: Some chat services of 'New Chat' support sending images, such as Claude, Google Gemini. You can simply click the 🖼️ or 🎨 button above the input box to load the image you want to send.

  • Audio Processing: The tool allows reading audio files (.wav) and recording function, enabling communication with AI using the obtained audio.

Set Current Chat Role: The drop-down menu at the top of the chat box can be used to set the role of the character currently sending messages. This allows for simulating different roles to adjust the AI chat.

  • Clear Chat: The ❌ button at the top of the chat box can clear the history of messages in the current conversation.
  • Dialogue Templates: Hundreds of built-in dialogue templates are available to easily manage common issues.

Global Settings: Click on the Setting button in the lower left corner to open the global settings window. You can customize default text chat, image generation API services, and configure specific parameters for each API service. The settings will be automatically saved in the project path $(ProjectFolder)/Saved/AIChatPlusEditor.

  • Conversation Settings: Click the settings button above the chat box to open the settings window for the current conversation. You can change the conversation name, the API service used for the conversation, and customize specific parameters for each conversation's API. Conversation settings are automatically saved in $(ProjectFolder)/Saved/AIChatPlusEditor/Sessions.
  • Chat Content Editing: When hovering over a chat message, a settings button for that specific message will appear. It supports functions like regenerating content, editing content, copying content, deleting content, as well as regenerating content below (for messages where the user is the sender).

Image browsing: For image generation, clicking on an image will open the image viewing window (ImageViewer), supporting saving images as PNG/UE Texture. Textures can be viewed directly in the Content Browser, making it convenient for image use within the editor. Additionally, functionalities include deleting images, regenerating images, and continuing to generate more images. For editors on Windows, copying images is also supported, enabling direct copying to the clipboard for easy use. Images generated during sessions will automatically be saved in each session folder, typically located at $(ProjectFolder)/Saved/AIChatPlusEditor/Sessions/${GUID}/images.

Global Settings:

global settings

Conversation settings:

session settings

Edit Chat Content:

chat edit

Image Viewer:

image viewer

Using offline large models

offline model

Dialogue Template

system template

Using offline model Cllama (llama.cpp) to edit tool.

The following instructions explain how to use the offline model llama.cpp in the AIChatPlus editor tool.

Firstly, download the offline model from the HuggingFace website: Qwen1.5-1.8B-Chat-Q8_0.gguf

Place the model in a specific folder, such as within the Content/LLAMA directory of the game project.

E:/UE/projects/FP_Test1/Content/LLAMA
> ls
qwen1.5-1_8b-chat-q8_0.gguf*

Open the AIChatPlus editor tool: Tools -> AIChatPlus -> AIChat, create a new chat session, and open the session settings page.

guide editor

Set the API to Cllama, enable Custom API Settings, add the model search path, and select the model.

guide editor

Start chatting!!

guide editor

Use the offline model Cllama (llama.cpp) in the editor tool to process images.

Download the offline model MobileVLM_V2-1.7B-GGUF from the HuggingFace website and place it in the directory Content/LLAMA: ggml-model-q4_k.ggufTranslate these text into English language:

mmproj-model-f16.ggufI'm sorry, but the text you provided is not meaningful or intelligible.

Set the session model:

guide editor

Start chatting by sending a picture.

guide editor

The editor uses OpenAI chat.

Open the chat tool, go to Tools -> AIChatPlus -> AIChat, create a new chat session, set the session to ChatApi as OpenAI, and configure the interface parameters.

guide bludprint

Start chatting:

guide bludprint

Switching the model to GPT-4o / GPT-4o-mini enables the use of OpenAI's visual feature to analyze images.

guide bludprint

The editor utilizes OpenAI to process images (create/modify/alter).

Create a new image chat session in the messaging tool, name it "New Image Chat," adjust session settings to OpenAI, and configure parameters.

guide bludprint

Create an image.

guide bludprint

Edit the image by changing the Image Chat Type to Edit, and upload two images. One should be the original image, and the other should be a masked image where the transparent areas (with an alpha value of 0) indicate the areas that need to be edited.

guide bludprint

guide bludprint

Modify the type of the image chat to "Variation" and upload an image. OpenAI will provide a variation of the original image.

guide bludprint

The editor uses Azure.

Create a new conversation (New Chat), change ChatApi to Azure, and configure Azure's API parameters.

guide bludprint

Start chatting.

guide bludprint

The editor uses Azure to create images.

Create a new Image Chat session, switch from ChatApi to Azure, and configure the Azure API parameters. Please note that if using the dall-e-2 model, the Quality and Stype parameters should be set to not_use.

guide bludprint

Start chatting to let Azure create an image.

guide bludprint

The editor utilizes Claude for chatting and analyzing images.

Create a new conversation (New Chat), change ChatApi to Claude, and configure Claude's Api parameters.

guide bludprint

Start chatting

guide bludprint

The editor uses Ollama for chatting and analyzing images.

Create a new chat session, change ChatApi to Ollama, and configure Ollama's API parameters. If it's a text chat, set the model to a text model like llama3.1; if image processing is needed, set the model to one that supports vision, such as moondream.

guide bludprint

Start chatting

guide bludprint

The editor uses Gemini.

Create a new chat session, change ChatApi to Gemini, and configure Gemini's API parameters.

guide bludprint

Start chatting

guide bludprint

The editor uses Gemini to send audio.

Choose to read audio from a file, from an asset, or record audio from the microphone to generate the audio to be sent.

guide bludprint

Start chatting

guide bludprint

The editor uses Deepseek.

Create a new chat session, change ChatApi to OpenAi, and configure the Deepseek API parameters. Add a new candidate model named deepseek-chat and set the model to deepseek-chat.

guide bludprint

Start chatting

guide bludprint

Original: https://wiki.disenone.site/en

This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post has been translated using ChatGPT. Please provide your feedback in FeedbackPoint out any omissions.