Skip to main content

PromptPal 1.16.3 - Webhooks, RBAC, and Enhanced Security

ยท 4 min read
AnnatarHe
Maintainer of PromptPal
promptpal logo

PromptPal 1.16.3

  • Webhooks
  • RBAC
  • AI Providers
  • Enhanced Security
  • Frontend Rewrite

We're excited to announce PromptPal 1.16.3, our most feature-rich release yet! This update brings powerful new capabilities that enhance integration, security, and flexibility for your AI prompt management workflows. Additionally, the frontend has been completely reimagined and rewritten with AI assistance, delivering a significantly improved user experience.

PromptPal now supports webhooks, enabling real-time notifications and seamless integration with your existing systems. Whether you need to trigger external processes when prompts are executed, monitor usage patterns, or integrate with CI/CD pipelines, webhooks provide the flexibility you need.

Key webhook features:

  • Real-time notifications for prompt execution events
  • Configurable endpoints for different event types
  • Secure delivery with signature verification
  • Retry mechanisms for reliable event delivery

This opens up countless integration possibilities, from updating external dashboards to triggering automated workflows based on prompt activity.

โ†’ View the complete webhook integration guide to get started with setting up webhooks in your projects.

๐Ÿ” Enhanced API Security

Building on our previous API security improvements, version 1.16.3 introduces additional security enhancements that make your prompt infrastructure even more secure:

  • Enhanced token management with improved lifecycle controls
  • Request validation with comprehensive input sanitization
  • Audit logging for security monitoring and compliance
  • Rate limiting improvements for better protection against abuse

These improvements ensure your prompts remain secure while maintaining the performance and flexibility you expect from PromptPal.

๐Ÿ‘ฅ RBAC Support (Experimental)

We're introducing experimental Role-Based Access Control (RBAC) to help teams manage permissions and access to prompts more effectively. This feature allows organizations to:

  • Define custom roles with specific permissions
  • Assign users to roles based on their responsibilities
  • Control access to different prompts and environments
  • Manage team collaboration with fine-grained permissions

Note: RBAC is currently in experimental status. We're actively collecting feedback to refine this feature before the stable release.

๐Ÿค– AI Provider Support

PromptPal 1.16.3 expands AI provider support beyond our existing integrations, making it easier to work with different AI models and services:

  • Enhanced provider abstraction for seamless switching between AI services
  • Improved configuration management for multiple providers
  • Better error handling across different provider APIs
  • Performance optimizations for provider-specific features

This enhancement ensures PromptPal remains provider-agnostic while leveraging the unique capabilities of each AI service.

๐ŸŽจ Complete Frontend Rewrite

One of the most significant changes in this release is the complete rewrite of the PromptPal frontend. Since version 1.12.1, the entire user interface has been rebuilt from the ground up with AI assistance, resulting in a modern, intuitive, and powerful user experience.

Key frontend improvements include:

  • AI-Powered Development - The entire frontend was reimagined and developed with AI assistance, ensuring modern best practices and optimal user experience patterns
  • Enhanced User Interface - A completely redesigned interface that's more intuitive and user-friendly
  • Improved Performance - Significant performance optimizations for faster loading and smoother interactions
  • Modern Architecture - Built with the latest web technologies and architectural patterns
  • Better Accessibility - Enhanced accessibility features for a more inclusive user experience
  • Responsive Design - Improved mobile and tablet experience across all devices
  • Streamlined Workflows - Redesigned user flows that make prompt management more efficient

This comprehensive frontend overhaul represents months of development work and feedback incorporation, making PromptPal not just more powerful on the backend, but also more delightful to use on the frontend.

๐Ÿš€ Additional Improvements

This release also includes numerous quality-of-life improvements:

  • Performance optimizations for faster prompt execution
  • UI/UX enhancements for better user experience
  • Bug fixes and stability improvements
  • Documentation updates to reflect new features

How to Upgrade

To use the latest version, simply run the following command to upgrade:

docker run -v $(pwd)/.env:/usr/app/.env -p 7788:7788 annatarhe/prompt-pal:1.16.3

For detailed documentation on the new features, visit our documentation site.

What's Next?

We're continuously working to improve PromptPal based on your feedback. Upcoming features include:

  • Stable RBAC release with additional permission granularity
  • Advanced webhook filtering and transformation capabilities
  • Enhanced monitoring and analytics features
  • More AI provider integrations
  • Continued frontend enhancements building on the rewritten foundation

Thank you for using PromptPal! We're excited to see how these new features enhance your AI prompt management workflows. As always, your feedback helps us build better tools for the community.

Stay tuned for more exciting updates coming soon!

PromptPal 1.12 + 1.13 - Advanced API Security and IP Tracking

ยท One min read
AnnatarHe
Maintainer of PromptPal
promptpal logo

PromptPal 1.12 + 1.13

  • API Security
  • IP Tracking

If you've used any LLM API, you've probably noticed that they typically provide a static secret token for backend use. But what about the client side?

PromptPal has addressed this issue by designing a workflow that allows secure client-side prompt execution.

For more information, please read our Advanced API Security documentation.

Introducing PromptPal 1.13 - IP Tracking

We have enhanced our prompt tracking feature by adding an IP field, making it easier for users to identify traffic sources.

The page has become more complex than before, so we are working on designing a more powerful and user-friendly interface to display this data. Please stay tuned!

PS: The maintainer will be on a long vacation and may not be able to code for a month. If you have any good ideas, please email me at annatar.he+pp@gmail.com. I'll consider adding more features after my vacation!

PromptPal 1.11 - Streaming, Types

ยท One min read
AnnatarHe
Maintainer of PromptPal
promptpal logo

PromptPal 1.11

  • Streaming
  • Types

In the latest 1.11 version, we are excited to announce the release of the Streaming API.

with the latest JavaScript SDK and Golang SDK you can now use the streaming API to get responses faster than ever before.

const c = new PromptPalClient("http://127.0.0.1:7788", "token")
const onData = console.log
const onEnd = vi.fn()
const res = await c.executeStream(
"PROMPT_ID",
{ text: "hello world" },
"123",
{
onData,
onEnd,
},
)

expect(res).toBeTruthy();
ctx := context.Background()
// create a client
oneMinute := 1 * time.Minute
c := promptpal.NewPromptPalClient(endpoint, token, promptpal.PromptPalClientOptions{
Timeout: &oneMinute,
})
// call the `ExecuteStream` function
_, err := c.ExecuteStream(
ctx,
string(PPPromptEcho),
PPPromptEchoVariables{
Text: "hello world",
},
nil,
func(data *promptpal.APIRunPromptResponse) error {
fmt.Println(data.ResponseMessage)
return nil
},
)

if err != nil {
t.Error(err)
}

How to Upgradeโ€‹

To use the latest version, simply run the following command to upgrade:

docker run -v $(pwd)/.env:/usr/app/.env -p 7788:7788 annatarhe/prompt-pal:latest

That's it! Thank you for your attention, and stay tuned for more features soon!

PromptPal 1.8 - Versions

ยท One min read
AnnatarHe
Maintainer of PromptPal
promptpal logo

PromptPal 1.8

  • Versions

We are thrilled to unveil the latest version of PromptPal - version 1.8! This release brings forth a plethora of new features and enhancements aimed at simplifying the debug process for developers.

Version Control Made Easyโ€‹

One of the key highlights of PromptPal 1.8 is the introduction of versioning support. With this new feature, you can now easily track and manage all the changes made within a prompt. This not only enhances transparency but also provides a streamlined approach to monitoring alterations.

Check out the example below:

PromptPal Version Control

How to Upgradeโ€‹

To leverage all the new capabilities and improvements of PromptPal 1.8, simply execute the following command to upgrade to the latest version:

docker run -v $(pwd)/.env:/usr/app/.env -p 7788:7788 annatarhe/prompt-pal:v1.8.0

That's it! Stay tuned for more exciting features in the pipeline. We hope you find PromptPal 1.8 as beneficial and efficient as we intended it to be. Happy integrating!

PromptPal 1.7 - SSO, Tracking and bugfixes

ยท 3 min read
AnnatarHe
Maintainer of PromptPal
promptpal logo

PromptPal 1.7

  • Single Sign-On
  • Prompt Tracking
  • More improvements and bugfixes

PromptPal 1.7: Single Sign-On, Improved Tracking, and Bug Fixesโ€‹

We're excited to announce the release of PromptPal 1.7! This update introduces several new features and improvements.

Single Sign-On (SSO) with Google Loginโ€‹

PromptPal now supports seamless integration with Google Login. You can easily enable Google Login by configuring your .env file. Simply follow these steps:

  1. Visit the Google Cloud Console: https://console.cloud.google.com/apis/credentials to create an OAuth 2.0 client and set up a callback URL.
  2. Update your PromptPal .env file with the following details:
SSO_GOOGLE_CALLBACK_URL="http://localhost:7788/auth/google"
SSO_GOOGLE_CLIENT_ID="YOUR_CLIENT_ID"
SSO_GOOGLE_CLIENT_SECRET="YOUR_CLIENT_SECRET"

Important Note: You can only modify the host portion of the callback URL (http://localhost:7788 in this example). The path (/auth/google) must remain unchanged.

Once configured, a "Google Login" button will appear on your login page.

Enhanced Prompt Trackingโ€‹

The latest version of PromptPal provides deeper insights into how prompts are being used within your project. You can now view:

  • The number of times each prompt has been called in the last 7 days.
  • The P50, P90, and P99 response times for each prompt.

p90-example

Improvements and Bug Fixesโ€‹

For a detailed list of improvements and bug fixes, please refer to the full changelog: Release 1.7 Changelog: https://github.com/PromptPal/PromptPal/releases/tag/v1.7.0.

Important Updates Regarding Database Supportโ€‹

We've made the difficult decision to discontinue support for SQLite in PromptPal 1.7. Here's why:

  1. Reduced Bundle Size: We prioritize keeping the bundle size small, especially for users in regions with limited internet bandwidth. Removing SQLite support significantly reduces the overall size of the package (by approximately 83%).
  2. cgo Limitations: SQLite relies on cgo, which can introduce challenges in certain environments. You can learn more about these limitations in this article: cgo is not Go: https://dave.cheney.net/2016/01/18/cgo-is-not-go.
  3. Limited Functionality: SQLite offers a restricted set of aggregate functions, hindering our ability to develop certain features.

We recommend migrating your data to PostgreSQL, our officially supported database.

Upgrading to PromptPal 1.7โ€‹

Upgrading is a simple process:

  1. Update the image version:
docker run -v $(pwd)/.env:/usr/app/.env -p 7788:7788 annatarhe/prompt-pal:v1.7.0
  1. If you intend to use Google Login, update your .env file accordingly before starting the server.
  2. Users who were previously using SQLite will need to migrate their data to a different database (such as PostgreSQL).

We appreciate your understanding and patience. We're confident that these changes will enhance the overall performance and functionality of PromptPal. We look forward to your continued use and feedback!

PromptPal 1.6 - Gemini Support and UI Revamp!

ยท One min read
AnnatarHe
Maintainer of PromptPal
promptpal logo

PromptPal 1.6

  • Gemini support
  • New UI

We're excited to announce the release of PromptPal v1.6, bringing some fantastic updates to your favorite AI project!

This release focuses on two key areas:

  1. Gemini Support:

OpenAI not longly anymore. We offically support Google Gemini. in this release you be able to use gemini for your project.

  1. User Interface Revamp:

We've completely revamped the User Interface (UI) for a more intuitive and user-friendly experience. Enjoy a streamlined layout, improved navigation, and features optimized for various screen sizes.

Additional highlights:

  • Enhanced Dark Mode: Experience improved dark mode support for a comfortable writing environment.
  • Bug Fixes: We've addressed various bugs to ensure a smoother user experience.
  • Improved Toast Experience: Our toast notifications now offer a clearer and more informative reading experience.

Upgrade now:โ€‹

To experience the new features and enhancements in PromptPal v1.6, you can upgrade by a simple command:

podman run -d --rm --network host -v '/promptpal/.env:/usr/app/.env:ro' annatarhe/prompt-pal:v1.6.0

if you are a new user, please checkout the documention and setup your .env

Thank you for choosing PromptPal!

Introduce the PromptPal

ยท 2 min read
AnnatarHe
Maintainer of PromptPal

Introducing PromptPalโ€‹

PromptPal is a prompt manager designed for on-premise environments, focusing on improving the developer experience when working with Large Language Models (LLMs).

Why You Need a Prompt Managerโ€‹

We know you're eager to build with AI, but as you start developing new features, managing your prompts can become challenging. Having them scattered throughout your codebase makes them difficult to reuse, maintain, and share with colleagues.

Implementing a simple PromptService might seem inadequate, lacking proper organization for efficient management. Additionally, deploying, debugging, A/B testing, and monitoring prompt performance can be time-consuming and tedious.

These challenges can lead to wasted time and decreased productivity. PromptPal aims to solve these issues and streamline your LLM development workflow.

PromptPal Featuresโ€‹

PromptPal is a web service with rich tools to help developers work with LLMs.

Of course, it can manage prompts, with tracing and debugging capabilities. But PromptPal offers more at a low cost:

On-Premise Deploymentโ€‹

It works perfectly in an on-premise environment and is easy to set up.

The only thing you need to set up PromptPal is a single .env configuration file and a one-line command:

podman run -d --rm --network host -v '/promptpal/.env:/usr/app/.env:ro' annatarhe/prompt-pal:v1.6.0

Low Costsโ€‹

Its lightweight architecture guarantees efficient resource utilization, ensuring optimal performance. And all this functionality requires only 12.3MB of memory1!

Developer Experienceโ€‹

We are developers too, so developer experience matters.

We provide a CLI: https://github.com/PromptPal/cli to help developers set up integration with PromptPal. With this CLI, you can set up a configuration file in your project and generate type declarations in just one line of code:

promptpal init ## init project with config
promptpal g ## generate types by config

We also offer node.js: https://github.com/PromptPal/node-sdk and golang: https://github.com/PromptPal/go-sdk SDKs.

Conclusionโ€‹

PromptPal could help you finish work earlier, giving you time for your hobbies, like swimming or spending time with loved ones.

Run it right now!

Please note that PromptPal is still under heavy development.

Footnotesโ€‹

  1. For testing purposes, the 12.3MB was only evaluated on an M1 Pro MacBook during startup. Readers should be aware that performance may vary across different hardware configurations and operating conditions. โ†ฉ