Skip to content

Provide a system prompt that can be used to create menu layouts using generative AI #566

@davetcc

Description

@davetcc

Something that struck me recently is that the TcMenu CLI can provide generative AI such as Copilot, ChatGPT and Gemini a way to build initial menu structures. When starting a new menu the hardest part by far is inputting all the menu items one at a time. I've gone through a few transcripts with the AI, and it created what looked like good create-item commands even without the system prompt.

The initial plan is to provide a system prompt for the AI, that explains how tcMenu CLI works and what is needed to create menu items. A quick attempt at this with Google Gemini produced good results.

What is needed:

  • for the CLI to be able to get a parent by name as well as ID. If the parent is a number, then first attempt to look by ID, if this fails or the value is not a number, look up by name.
  • a "system prompt" that works with most common AI models that explains to the AI how to generate menu items.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions