Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt data interpolation functions #549

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

csansoon
Copy link
Contributor

@csansoon csansoon commented Jun 27, 2024

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
  • 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

Copy link

changeset-bot bot commented Jun 27, 2024

🦋 Changeset detected

Latest commit: 1a38f3c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@latitude-data/llm-manager Minor
@latitude-data/server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@csansoon csansoon force-pushed the prompt-interpolation-functions branch from c9b58d7 to 8409dc2 Compare June 27, 2024 16:15
@csansoon csansoon force-pushed the prompt-interpolation-functions branch from 8409dc2 to 1a38f3c Compare June 27, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant