Skip to content

v0.17.0 "Quests"

Compare
Choose a tag to compare
@neph1 neph1 released this 27 Nov 20:02
· 160 commits to master since this release
efab767

What's Changed

Full Changelog: v0.16.2...v0.17.0

This is the beginnings of a way to drive story, procedurally, although they're not yet implemented in that manner. I needed to try them out first.
What "quests" mean is that a character may have a quest "attached" to them. If they do, they are meant to want to talk about it. If they do, and how much, is up to the LLM, but at least it's prompted during dialogue generation to have it in mind.
There are two types, currently, either 'fetch' type quests, where the player must find an item and bring it to the NPC, and 'talk', where the player is supposed to go to someone and talk to them. Once the format is proven, there will be more types.

So far Elid and Shanda in The Prancing Llama have quests. Both are 'fetch' type quests. Elid seems more inclined to talk about it, but then again, he's more inclined to talk in general.

This is not the best example, but it's the one still in the logs (gpt-3.5-turbo):

Elid Gald looks up from his conversation with Arto, his one eye
  glinting in the firelight.  “Hail, friend,” he says with a sly smile,
  “What brings you to this desolate place?”  He leans in, his voice low
  and conspiratorial, “I trust you haven’t forgotten about our little
  arrangement regarding the map?  Norhardt may be a tough nut to crack,
  but I’m counting on you to secure it for me,” he says, his tone a mix
  of urgency and anticipation.  Elid Gald nods at Arto and gives a
  slight smile, acknowledging the greeting.  He takes a sip of the
  hearty stew and looks around the hall, eyes sharp despite the patch
  over one of them.  ’Always good to see a familiar face around here,’
  he murmurs, his voice low and thoughtful.

More stuff:
I finally fixed 'generic items'. There are a bunch (not that many yet) items for different types of settings that will always be available for an Anything story. A sword, a club, that type of things.
I changed so that 'openai' calls also use json grammar, since I realized many that use the open ai style api use other backend than acutal openai.com and will want to be certain to get proper json responses.
I also updated the default openai model to 'gpt-3.5-turbo-1106' to be able to also make sure it uses json responses.