Commit Graph

13 Commits

Author SHA1 Message Date
projectmoon c6f10f7a61 Switch to one event output per command execution. Simplify coherence. 2024-01-31 13:01:13 +01:00
projectmoon d23f09295e Move cmd coherence result partitioning to macro.
Because we're not cool enough to know what arcane type signature is
needed to add an extension method to the stream itself.
2024-01-30 22:42:27 +01:00
projectmoon c2551ac4ed Small typo fixes 2024-01-30 22:25:16 +01:00
projectmoon 1d78d05d7a Look at people and items in a scene. Non-LLM coherence.
Adds the ability to inspect people or items in a scene. Also
technically props, but they are not first class entities (i.e. stored
in DB with an ID), so the LLM will behave oddly if you attempt to look
at a prop.

Also adds the foundation of non-LLM + LLM command coherence to fix up
LLM responses from LLM command execution. CommandEvents that are
recognized as incoherent will attempt to be fixed by the command
coherence layer. Currently only non-LLM coherence checks are done
(normalizing IDs, making sure they are right, etc).

Also many changes to command execution prompt to make it more
intelligent and correct.

Many foundational pieces for building actual game mechanics and
in-depth coherence are also added.
2024-01-30 22:21:04 +01:00
projectmoon ce89b61c19 Implement support for translating common commands into pre-parsed commands. 2024-01-17 10:53:56 +01:00
projectmoon c4d0397fb5 Lifetime not necessary on CommandExecutor 2024-01-17 10:36:44 +01:00
projectmoon b82b87345e Support the built-in command: look 2024-01-17 10:36:20 +01:00
projectmoon 82001b99b7 Bunch of refactoring and renaming to support built-in commands. 2024-01-17 10:34:24 +01:00
projectmoon 001e15e594 Move command conversion to its own module file. 2024-01-17 09:54:50 +01:00
projectmoon 773f3a1a47 Better naming and some documentation of command process. 2024-01-17 09:31:38 +01:00
projectmoon bdf5b4da08 Rename AiClient to AiGenerator 2024-01-17 09:28:53 +01:00
projectmoon 336a4231a0 Move the AI logic to its own module file. 2024-01-17 09:28:13 +01:00
projectmoon 00fe3650a8 Initial commit of opening the AI game code.
Now that it is somewhat presentable.
2024-01-15 09:13:12 +01:00