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

[hub] [gql] prompt versions list #5754

Closed
Tracked by #5582
mikeldking opened this issue Dec 17, 2024 · 0 comments · Fixed by #5767
Closed
Tracked by #5582

[hub] [gql] prompt versions list #5754

mikeldking opened this issue Dec 17, 2024 · 0 comments · Fixed by #5767
Assignees

Comments

@mikeldking
Copy link
Contributor

mikeldking commented Dec 17, 2024

For a given prompt, we want to be able to pull prompt versions. E.g.

This ticket is to wire up a node based API for the version history from the database.

query {
   prompt: node(id: asdfasdf) {
      name
      versions {
        edges {
            template_version: node {
                  user
                  description
                  template
                  tools
            }
        }
      }
   }
}
query node {
    templateVersion: node($nodeId) {
          id
         ... on PromptVersion {
              user
              description
              template
              tools
         }
    }
}
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Dec 17, 2024
@anticorrelator anticorrelator moved this from 📘 Todo to 👨‍💻 In progress in phoenix Dec 17, 2024
@anticorrelator anticorrelator moved this from 👨‍💻 In progress to 🔍. Needs Review in phoenix Dec 17, 2024
@github-project-automation github-project-automation bot moved this from 🔍. Needs Review to ✅ Done in phoenix Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants