Skip to content

Releases: Nisarg38/promptix-python

v0.1.4 - 2024-02-02

03 Feb 00:27
Compare
Choose a tag to compare

Added

  • Builder pattern support for creating model configurations
  • New builder classes for CustomerSupport and CodeReview templates
  • Integration with both OpenAI and Anthropic APIs through builders
  • Comprehensive test suite for builder pattern functionality
  • Example implementations showing builder pattern usage

Changed

  • Enhanced model configuration preparation with builder pattern
  • Improved documentation with builder pattern examples
  • Added type hints and validation for builder methods

0.1.3

26 Jan 20:26
b49d02d
Compare
Choose a tag to compare

Added

  • OpenAI integration support with prepare_model_config functionality
  • Test suite for OpenAI integration features
  • Example implementation for OpenAI chat completions

Changed

  • Enhanced model configuration preparation with better validation
  • Improved error handling for invalid memory formats
  • Updated documentation with OpenAI integration examples

[0.1.2] - 2024-03-19

21 Jan 18:44
Compare
Choose a tag to compare

Added

  • New DungeonMaster template for RPG scenario generation
  • Comprehensive test suite for complex template features
  • Support for nested object handling in templates
  • Enhanced template validation for complex data structures

Fixed

  • Fixed custom_data handling in templates
  • Improved test coverage for complex scenarios
  • Updated template validation for optional fields

v0.1.1

20 Jan 23:08
Compare
Choose a tag to compare

[0.1.1] - 2024-01-20

Added

  • Enhanced schema validation with warning system for missing fields
  • Support for optional fields with default values
  • Improved handling of nested fields in templates
  • Added comprehensive test fixtures and test configuration

Changed

  • Schema validation now warns instead of failing for missing required fields
  • Optional fields are now initialized with appropriate default values
  • Improved test environment setup with proper fixtures handling

Fixed

  • Fixed issue with template rendering for undefined optional fields
  • Fixed handling of custom_data and nested fields
  • Fixed test environment cleanup and prompts.json handling

Promptix v0.1.0 - Initial Release: Prompt Versioning Studio

19 Jan 22:19
Compare
Choose a tag to compare

Promptix v0.1.0 🚀

First release of Promptix - A powerful prompt management library with an intuitive Streamlit-based Studio interface.

🌟 Highlights

  • Promptix Studio: A modern, web-based interface for managing your prompts.
  • Version Control: Track and manage different versions of your prompts.
  • Live/Draft States: Control which prompt versions are active.
  • Interactive Playground: Test your prompts directly in the UI.

🛠️ Core Features

Promptix Studio

  • Interactive dashboard with prompt statistics.
  • Searchable prompt library.
  • Version management system.
  • Prompt testing playground.
  • Modern, responsive Streamlit UI.

Core Library

  • Simple API for prompt management.
  • Built-in version control.
  • System message and variable support.
  • Easy project integration.

📦 Installation

pip install promptix

🔧 Requirements

  • Python >= 3.8
  • Streamlit >= 1.29.0
  • Python-dotenv >= 1.0.0

📚 Documentation

  • Check out the examples in the examples/ directory.
  • See the README for installation and getting started guide.

🎯 Quick Start

from promptix import Promptix

# Get a prompt with variables
prompt = Promptix.get_prompt(
    prompt_template="CustomerSupport",
    user_name="John Doe",
    issue_type="password reset"
)

🚀 Launch Studio

promptix studio