Class Assistant
java.lang.Object
com.jackdaw.chatwithnpc.openaiapi.Assistant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
createAssistant
(@NotNull NPCEntity npc) Create an assistant for the NPC from the OpenAI APIstatic void
modifyAssistant
(@NotNull NPCEntity npc) Modify the assistant for the NPC from the OpenAI API
-
Constructor Details
-
Assistant
public Assistant()
-
-
Method Details
-
createAssistant
Create an assistant for the NPC from the OpenAI API- Parameters:
npc
- The NPC to create the assistant for- Throws:
Exception
- If the assistant id is null
-
modifyAssistant
Modify the assistant for the NPC from the OpenAI API- Parameters:
npc
- The NPC to modify the assistant for- Throws:
Exception
- If the assistant id is null
-