latitude-dev / latitude

Developer-first embedded analytics
https://latitude.so
GNU Lesser General Public License v3.0
800 stars 35 forks source link

Dynamic prompting #540

Open csansoon opened 1 month ago

csansoon commented 1 month ago

Feature Description

Based on the dynamic queries engine, create a new dynamic prompts feature to generate AI responses based on user-defined prompts.

Prompts should:

Example

https://github.com/latitude-dev/latitude/assets/57395395/e358dfd8-143c-403a-9582-9c28aedae967

Status

Notes

cesr commented 1 month ago

Feedback after testing:

  1. I think it's weird to have latitude run for queries and latitude prompt for prompts
  2. How to send system vs user prompts?
  3. When interpolating a prompt, it adds it with parenthesis
  4. I would like an easier way to embed my data in prompts instead of having to run a loop over the results
github-actions[bot] commented 1 day ago

This issue is stale because it has been open for 30 days with no activity.