How to create and version prompts
Step 1: Create a new project in Langtrace and go to the Prompts tab. Click on the “Create Prompt” button to create a new prompt. You can define variables like${name} and ${version} in your prompt. These variables can be dynamically filled in when you use the prompt in your application using the SDK.
Step 2: Once you have created a prompt, you can make it available by clicking the “Go Live” button. This will make the prompt available for use in your applications by default when you fetch it using the SDK. You can also create a new version of the prompt by clicking the “Update Prompt” button.
Step 3: Use the prompt in your application by fetching it using the SDK. You can pass variables to the prompt to fill in the placeholders.