latitude icon indicating copy to clipboard operation
latitude copied to clipboard

Prompt data interpolation functions

Open csansoon opened this issue 8 months ago • 1 comments

Describe your changes

Added new functions to interpolate data results to the prompt in different premade formats:

  • table: prints the results as a Markdown Table
  • json: prints the results as a JSON
  • csv prints the results as a CSV
{ results = runQuery('data') }

{table(results)}

Checklist before requesting a review

  • [ ] I have added thorough tests
  • [ ] I have updated the documentation if necessary
  • [x] I have added a human-readable description of the changes for the release notes
  • [ ] I have included a recorded video capture of the feature manually tested

csansoon avatar Jun 27 '24 16:06 csansoon