azure-data-explorer-datasource
azure-data-explorer-datasource copied to clipboard
OpenAI Prompt History
This PR builds on the LLM integrations that were completed in #577 and #757 by adding a toggle in the OpenAI Editor that allows a user to view their previously generated prompts. The prompts are stored utilizing localStorage and can be easily reused by clicking on the Use this prompt button or deleted by clicking on the trash can icon. A warning will show if there are no prompts saved and give instructions on how prompts can be saved.
Testing still needs to be added but feedback on the UI/UX is welcome while those are being added.
Closes #583
Use the following command to run this PR with Docker at http://localhost:3000:
docker run --rm -p 3000:3000 grafana/plugin-builds:e501b740724cb6775d448fe383308a525e74fa2fpre