A language for LLM prompt design | Guidance

Samuel Chan
Samuel Chan
9.9 هزار بار بازدید - پارسال - Guidance calls itself "a guidance
Guidance calls itself "a guidance language for controlling large language models", and is an open source project by Microsoft that "enables [prompt designers] to control modern language models more effectively and efficiently than traditional prompting or chaining". This is a tutorial on Guidance to see whether it delivers on that promise and how it fits into the LLM (large language models, like GPT-3, Cohere, Alpaca, Claude etc) tooling ecosystem.

Instead of parting ways with your money on "prompt engineering gurus" only to learn how to write clear instructions in English (💩!), invest the time and money into learning how to create better interfaces between prompt and output using a framework (or more accurately templating language) like Guidance. It works with almost all LLMs (proprietary ones like GPT, to open source models on huggingface).  

- Watch PART 1 of the LangChain / LLM series:
Build a GPT Q&A on your own data
LangChain + OpenAI tutorial: Building...

- Watch PART 2 of the LangChain / LLM series:
LangChain + OpenAI to chat w/ (query)  own Database / CSV!
LangChain + OpenAI to chat w/ (query)...

- Watch PART 3 of the LangChain / LLM series
LangChain + HuggingFace's Inference API (no OpenAI credits required!)
LangChain + HuggingFace's Inference A...

- Watch PART 4 of the LangChain / LLM series
Understanding Embeddings in LLMs (ft LlamadIndex + Chroma db)
Understanding Embeddings in LLMs (ft ...

- Watch PART 5 of the LangChain / LLM series
Query any website with GPT3 and LlamaIndex
GPT scrapes + answers from any sites ...

- Watch PART 6 of the LangChain / LLM series
Locally-hosted, offline LLM w/LlamaIndex + OPT (open source, instruction-tuning LLM)
Locally-hosted, offline LLM w/LlamaIn...

- Watch PART 7 of the LangChain / LLM series
Building an AI language tutor: Pinecone + LlamaIndex + GPT-3 + BeautifulSoup
Building an AI language tutor: Pineco...

- Watch PART 8 of the LangChain / LLM series
Building a queryable journal 💬 w/ OpenAI, markdown & LlamaIndex 🦙
Building a queryable journal 💬 w/ Ope...

- Watch PART 9 of the LLM series
Making a Sci-Fi game w/ Cohere LLM + Stability.ai: Generative AI tutorial
Making a Sci-Fi game w/ Cohere LLM + ...

- Watch PART 10 of the LLM series
GPT builds entire app from prompt (ft. SMOL Developer)
GPT builds entire app from prompt (ft...

Link to Guidance (GitHub): https://github.com/microsoft/guidance

All the code for the LLM (large language models) series featuring GPT-3, ChatGPT, LangChain, LlamaIndex and more are on my github repository so go and ⭐ star or 🍴 fork it. Happy Coding!
https://github.com/onlyphantom/llm-py...
پارسال در تاریخ 1402/04/02 منتشر شده است.
9,902 بـار بازدید شده
... بیشتر