Skip to content

Function Index

  • generatePrompt
    • Generates a new prompt with AI based on the provided template and settings.
  • fetchAllPrompts
    • Retrieves all prompts associated with the user’s account.
  • fetchPromptById
    • Retrieves a specific prompt by its ID.
  • updatePrompt
    • Updates the output text of an existing prompt.
  • deletePrompt
    • Permanently deletes a prompt and all its versions.