This website requires JavaScript.
Explore
Help
Sign In
projectmoon
/
ai-game
Watch
1
Star
0
Fork
You've already forked ai-game
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
91f3eecaf6
ai-game
/
Cargo.toml
8 lines
69 B
TOML
Raw
Normal View
History
Unescape
Escape
Implement derive macro to convert structs to GBNF rules. This is the initial implementation of a derive macro implementation that converts structs into GBNF grammars. This simplies the code by allowing us to get rid of all the hardcoded GBNF strings, prevents errors from manually editing or copying said strings, and other benefits. The main purpose of this implementation is to lay the foundation for generating hyper-specific GBNF rules that will allow us to limit LLM output to specific UUIDs. LLM can't generate a weird response for an exit or entity ID if it is only allowed to generate a specific list of UUIDs in its response.
2024-02-01 11:41:08 +00:00
[
workspace
]
Initial commit of opening the AI game code. Now that it is somewhat presentable.
2023-11-07 12:53:42 +00:00
Implement derive macro to convert structs to GBNF rules. This is the initial implementation of a derive macro implementation that converts structs into GBNF grammars. This simplies the code by allowing us to get rid of all the hardcoded GBNF strings, prevents errors from manually editing or copying said strings, and other benefits. The main purpose of this implementation is to lay the foundation for generating hyper-specific GBNF rules that will allow us to limit LLM output to specific UUIDs. LLM can't generate a weird response for an exit or entity ID if it is only allowed to generate a specific list of UUIDs in its response.
2024-02-01 11:41:08 +00:00
members
=
[
"game"
,
"gbnf"
,
"gbnf_derive"
]