AI Personal Learning
and practical guidance
豆包Marscode1

Prompt Smith: Easily Manage Multiple Versions of Gen AI Prompts Online

General Introduction

Prompt Smith is a prompt engineering solution designed to help users easily manage generative AI prompts. The platform offers a self-hosted option that gives users full control over their data. With Dockerized deployment, users can easily get the service up and running. Prompt Smith also provides a RESTful API and SDKs for Python and Node.js for easy integration and use.

Prompt Smith:提示工程解决方案,轻松管理 Gen AI 提示词-1


 

Prompt Smith:提示工程解决方案,轻松管理 Gen AI 提示词-1

 

Function List

  • Self-hosted option: Users have full control over their data.
  • Dockerized Deployment: Simplifies the process of starting and running services.
  • RESTful API: User-friendly integration and access to alerts.
  • SDK Support: Provides SDKs for Python and Node.js.
  • API Key Management: API key management through a centralized UI.
  • Cue Management: Prompt management through a centralized UI.
  • version control: Version control at the database level.

 

Using Help

Installation process

  1. Local Startup Service::
    • Using commands docker-compose up --build Start the service.
    • interviews http://localhost:3000 Management.
  2. Default login credentials::
    • Email:admin@localhost.lan
    • Password:AwesomePromptsManagement
    • Do not use the default credentials in a production environment.

Function Operation

  1. Create a Tip::
    • interviews http://localhost:3000/prompt Create a new prompt.
    • Enter the prompt and save.
  2. Creating API Keys::
    • interviews http://localhost:3000/key Create a new API key.
    • Use the generated API key for authentication.
  3. Get tips::
    • Get tips via RESTful API:
      curl "http://localhost:3000/api/bff/api/sdk/prompt/{prompt-key}" \
      -H 'Authorization: Bearer {api-key}' \
      -H 'Content-Type: application/json; charset=utf-8'
      
    • Get tips via the SDK:
      • Python SDK::
        from promptsmith_sdk import PromptSmith
        client = PromptSmith(api_key="your_api_key")
        prompt = client.get_prompt("prompt_key")
        print(prompt)
        
      • Node.js SDK::
        const PromptSmith = require('promptsmith-sdk');
        const client = new PromptSmith('your_api_key');
        client.getPrompt('prompt_key').then(prompt => console.log(prompt));
        

caveat

  • data persistence: Note that the data in the Demo instance may not be retained and will be deleted on a scheduled basis.
  • Contribution Guidelines: Users are welcome to submit feature requests or bug reports via issue or PR.
May not be reproduced without permission:Chief AI Sharing Circle " Prompt Smith: Easily Manage Multiple Versions of Gen AI Prompts Online
en_USEnglish