Git Product home page Git Product logo

promptdesk / promptdesk Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 4.0 9.92 MB

Promptdesk is a tool designed for effectively creating, organizing, and evaluating prompts and large language models (LLMs).

Home Page: https://promptdesk.ai/docs/quickstart

License: GNU Affero General Public License v3.0

JavaScript 3.94% Dockerfile 0.05% TypeScript 52.77% CSS 39.71% HTML 2.05% Shell 0.92% SCSS 0.56%
llmops llms prompt-engineering software-engineering large-language-models llm llm-agent llm-apps javascript-library prompt-toolkit prompt-tuning prompts python-library

promptdesk's Introduction


pypi npm docker docker pulls AGPLv3

Bold Innovation, Simplified AI

PromptDesk is 100% free and open-source minimalist tool to facilitate the creation, organization, integration, and evaluation of prompts, prompt-based applications, agents and Large Language Models (LLMs).

Quickstart Guide »

Features · Podcast · Articles · Contributors · Community

Available in: Python - JavaScript

If you like this project, please consider giving this repo a ⭐️ star.

Alt Text

Features

  • 🤝 Cross-team Collaboration
  • 📚 Comprehensive Documentation
  • 📅 Deploy One-click Apps for Sharing
  • 👨‍💻 Python and Javascript SDK
  • 🏠 Local or Proxied Calls
  • 📈 Comprehensive Logs
  • ♾️ Unlimited Models
  • 🔐 Data Privacy and Security
  • 🌐 Any model, any scale
  • 🚀 Easy to set up and integrate (5 minutes)

🚀 Getting Started and Installation

To get started with PromptDesk OS, visit promptdesk.ai/docs/quickstart for the installation script. It's a simple, two-line install process that takes an average of just 5 minutes from start to finish.

PromptDesk OS is a self-hosted, 100% free and open-source Docker container that can be deployed anywhere.

You can also jump straight to building prompts or start integrating prompts in python or javascript.

Python SDK

Using the PromptDesk Python SDK, you can easily integrate your prompts into your Python applications.

pip install promptdesk

You can call the prompt you build in the application by using the generate method.

from promptdesk import PromptDesk

pd = PromptDesk(
    api_key = "YOUR_PROMPTDESK_API_KEY", #find in /settings
    service_url = "http://localhost"
)

story = pd.generate("short-story-test", {
    "setting": "dark and stormy night",
    "character": "lonely farmer",
    "plot": "visited by a stranger"
})

print(story)

JavaScript SDK

Using the PromptDesk JavaScript SDK, you can easily integrate your prompts into your Python applications.

npm install promptdesk

You can call the prompt you build in the application by using the generate method.

import { PromptDesk } from 'promptdesk'; //ES6
//const { PromptDesk } = require('promptdesk'); //CommonJS

var pd = new PromptDesk({
    apiKey: "YOUR_PROMPTDESK_API_KEY", //find in /settings
    serviceUrl: "http://localhost"
})

const story = await pd.generate("short-story-test", {
    "setting": "dark and stormy night",
    "character": "lonely farmer",
    "plot": "visited by a stranger"
})

console.log(story)

🔗 Important Links

For more information about PromptDesk, please refer to the following resources:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.