graphgram icon indicating copy to clipboard operation
graphgram copied to clipboard

Add '$llm' RHS label expression

Open ihh opened this issue 2 years ago • 1 comments

Expands arguments (allowing insertion of text from subgraph labels) and then feeds to LLM as a prompt.

ihh avatar Oct 11 '23 03:10 ihh

Partially implemented using execSync to call llm, as of 52aac7a.

A better solution would be to call the LLM web API directly; this would require the Grammar.evolve method to be async (see #7).

ihh avatar Oct 12 '23 16:10 ihh