Anyone else working with MS Guidance?
Guidance
Works w both the OpenAI and Azure apis for GPT 3.5-turbo and GPT-4
Guidance enables you to control modern language models more effectively and efficiently than traditional prompting or chaining. Guidance programs allow you to interleave generation, prompting, and logical control into a single continuous flow matching how the language model actually processes the text. Simple output structures like Chain of Thought and its many variants (e.g. ART, Auto-CoT, etc.) have been shown to improve LLM performance. The advent of more powerful LLMs like GPT-4 allows for even richer structure, and guidance
makes that structure easier and cheaper.
Features:
- Simple, intuitive syntax, based on Handlebars templating.
- Rich output structure with multiple generations, selections, conditionals, tool use, etc.
- Playground-like streaming in Jupyter/VSCode Notebooks.
- Smart seed-based generation caching.
- Support for role-based chat models (e.g. ChatGPT).
- Easy integration with Hugging Face models, including guidance acceleration for speedups over standard prompting, token healing to optimize prompt boundaries, and regex pattern guides to enforce formats.