cyber-security-resources/ai_research/prompt_engineering/README.md
2024-03-31 20:47:57 -04:00

6.6 KiB

Prompt Engineering Resources

Prompting Guide

This is a great resource for prompting LLMs:

Tools and Sample Prompt Repositories

Resource Description Link
LlamaIndex LlamaIndex is a project consisting of a set of data structures designed to make it easier to use large external knowledge bases with LLMs. [Github]
Promptify Solve NLP Problems with LLM's & Easily generate different NLP Task prompts for popular generative models like GPT, PaLM, and more with Promptify [Github]
Arize-Phoenix Open-source tool for ML observability that runs in your notebook environment. Monitor and fine tune LLM, CV and Tabular Models. [Github]
Better Prompt Test suite for LLM prompts before pushing them to PROD [Github]
CometLLM Log, visualize, and evaluate your LLM prompts, prompt templates, prompt variables, metadata, and more. [Github]
Embedchain Framework to create ChatGPT like bots over your dataset [Github]
Interactive Composition Explorerx ICE is a Python library and trace visualizer for language model programs. [Github]
Haystack Open source NLP framework to interact with your data using LLMs and Transformers. [Github]
LangChainx Building applications with LLMs through composability [Github]
OpenPrompt An Open-Source Framework for Prompt-learning [Github]
Prompt Engine This repo contains an NPM utility library for creating and maintaining prompts for Large Language Models (LLMs). [Github]
PromptInject PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. [Github]
Prompts AI Advanced playground for GPT-3 [Github]
Prompt Source PromptSource is a toolkit for creating, sharing and using natural language prompts. [Github]
ThoughtSource A framework for the science of machine thinking [Github]
PROMPTMETHEUS One-shot Prompt Engineering Toolkit [Tool]
AI Config An Open-Source configuration based framework for building applications with LLMs [Github]
LastMile AI Notebook-like playground for interacting with LLMs across different modalities (text, speech, audio, image) [Tool]
XpulsAI Effortlessly build scalable AI Apps. AutoOps platform for AI & ML [Tool]
Agenta Agenta is an open-source LLM developer platform with the tools for prompt management, evaluation, human feedback, and deployment all in one place. [Github]
Promptotype Develop, test, and monitor your LLM { structured } tasks [Tool]

Tutorials and Videos

Introduction to Prompt Engineering

- [Prompt Engineering 101 - Introduction and resources](https://www.linkedin.com/pulse/prompt-engineering-101-introduction-resources-amatriain)
- [Prompt Engineering 101](https://humanloop.com/blog/prompt-engineering-101)
- [Prompt Engineering Guide by SudalaiRajkumar](https://github.com/SudalaiRajkumar/Talks_Webinars/blob/master/Slides/PromptEngineering_20230208.pdf)

Beginner's Guide to Generative Language Models

- [A beginner-friendly guide to generative language models - LaMBDA guide](https://aitestkitchen.withgoogle.com/how-lamda-works)
- [Generative AI with Cohere: Part 1 - Model Prompting](https://txt.cohere.ai/generative-ai-part-1)

Best Practices for Prompt Engineering

- [Best practices for prompt engineering with OpenAI API](https://help.openai.com/en/articles/6654000-best-practices-for-prompt-engineering-with-openai-api)
- [How to write good prompts](https://andymatuschak.org/prompts)

Complete Guide to Prompt Engineering

- [A Complete Introduction to Prompt Engineering for Large Language Models](https://www.mihaileric.com/posts/a-complete-introduction-to-prompt-engineering)
- [Prompt Engineering Guide: How to Engineer the Perfect Prompts](https://richardbatt.co.uk/prompt-engineering-guide-how-to-engineer-the-perfect-prompts)

Technical Aspects of Prompt Engineering

- [3 Principles for prompt engineering with GPT-3](https://www.linkedin.com/pulse/3-principles-prompt-engineering-gpt-3-ben-whately)
- [A Generic Framework for ChatGPT Prompt Engineering](https://medium.com/@thorbjoern.heise/a-generic-framework-for-chatgpt-prompt-engineering-7097f6513a0b)
- [Methods of prompt programming](https://generative.ink/posts/methods-of-prompt-programming)

Resources for Prompt Engineering

- [Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts)
- [Best 100+ Stable Diffusion Prompts](https://mpost.io/best-100-stable-diffusion-prompts-the-most-beautiful-ai-text-to-image-prompts)
- [DALLE Prompt Book](https://dallery.gallery/the-dalle-2-prompt-book)
- [OpenAI Cookbook](https://github.com/openai/openai-cookbook)
- [Prompt Engineering by Microsoft](https://microsoft.github.io/prompt-engineering)

YouTube Videos