Few-Shot Prompts on Azure OpenAI: Choosing and Ordering Examples
How to pick, order and budget few-shot examples for Azure OpenAI completion models, with the biases to watch for and when to stop adding examples.
Thoughts on data engineering, cloud architecture, and technology. 2213 articles and counting.
Showing 24 of 2213 posts — page 54 of 93
How to pick, order and budget few-shot examples for Azure OpenAI completion models, with the biases to watch for and when to stop adding examples.
Four prompt rules that hold up against real user input on Azure OpenAI completions: positive instructions, strict formats, delimiters and roles, plus tests.
How to count tokens with tiktoken, size max_tokens, log real usage and cap spend for Azure OpenAI completion models in the January 2023 preview.
Azure OpenAI preview limits are requests per second per deployment. How to pace calls, retry 429s properly and scale out with the openai 0.26 Python library.
How Azure OpenAI's preview content filter shows up in code: HTTP 400 prompts, content_filter finish reasons, and why you still need your own guardrails.
Azure OpenAI's preview ships with use-case review, content filtering and abuse monitoring. Here is where those controls stop and your application's begin.
Azure OpenAI or OpenAI's own API in January 2023? Access, models, data use, cost and code compared, plus one Python client that can target either.
A security baseline for an Azure OpenAI preview resource in January 2023: private endpoints, Azure AD auth, customer-managed keys, logging and policy.
There is no ChatGPT API yet. Here is how to build multi-turn chat on Azure OpenAI's Completions API: transcripts, state, token budgets and streaming.
How C# 11, TypeScript 4.9 and Rust 1.66 treat tuples: naming, mutability, equality and pattern matching, and when a named type is the better choice.
Cache-aside, write-through, write-behind and refresh-ahead with Azure Cache for Redis in .NET 7 isolated Azure Functions, and when each one is the wrong choice.
Run and debug an isolated .NET Azure Functions blob trigger against Azurite, and understand the receipts, retries and limits of local testing.
What GPT-3.5 means on Azure OpenAI in January 2023: which models are in the catalogue, what they cost, and how to design for text-davinci-003's arrival.
Azure OpenAI is still a limited-access preview as 2023 starts. Here is what to settle now on access, identity, data handling and code so you're ready for GA.
Closing out 2022 from Australia on New Year's Eve, the technical predictions for 2023 feel more consequential than they ever have—because November 30…
Containerization and Kubernetes: Lessons Learned in 2022
Observability in 2022 moved beyond simple monitoring to true understanding of system behavior. OpenTelemetry became the standard for instrumentation. SLOs…
2022 established these patterns as the foundation of modern data engineering. The lakehouse became the default architecture for new data platforms. Data…
IaC maturity is a journey, not a destination. Start where you are, establish good practices early, and continuously improve. The goal is infrastructure that…
2022 brought significant security advancements in Azure, from Defender for Cloud improvements to enhanced Zero Trust capabilities. As we move into 2023,…
These scripts are my gift to you for a more efficient 2023. Start with the cleanup script to reduce waste, then implement tag compliance and scheduling.…
The holidays are the reading catch-up opportunity I look forward to all year—the stack of technical books that accumulated while the project workload was…
1. Collect metrics CPU, memory, network, IOPS 2. Analyze patterns Peak, average, trends 3. Identify candidates Under utilized resources 4. Recommend changes…
To get started with TDD in TypeScript, you will need to set up a TypeScript project and install the necessary dependencies.