Creating your own Stablecoin
A stablecoin is a type of cryptocurrency that is designed to maintain a stable value relative to some asset, usually a fiat currency such as the US dollar…
Thoughts on data engineering, cloud architecture, and technology. 2213 articles and counting.
Showing 24 of 2213 posts — page 53 of 93
A stablecoin is a type of cryptocurrency that is designed to maintain a stable value relative to some asset, usually a fiat currency such as the US dollar…
Cross encoders directly score query document pairs: Use an LLM to judge relevance: Using Cohere's specialized rerank API: 1. Retrieve more, re rank fewer :…
A robust way to combine rankings: Adjust weights based on query characteristics: 1. Start balanced : 50/50 is often a good default 2. Tune on your data :…
OpenAI Embeddings Guide MTEB Benchmark Embedding Best Practices
Simple but effective for uniform content: Respect sentence boundaries: Natural document structure: Use embeddings to find natural break points: Hierarchical…
The basic pattern for straightforward use cases: Transform queries for better retrieval: Generate a hypothetical answer first, then use it for retrieval:…
What retrieval augmented generation is, why it beats fine-tuning for company knowledge, and a minimal loop on Azure OpenAI completions in January 2023.
Azure Cognitive Search can't search vectors in January 2023. Here's how to re-rank its keyword results with Azure OpenAI embeddings, and when not to bother.
Run Qdrant 0.11 with Azure OpenAI embeddings: valid point IDs, payload indexes, filtered HNSW search, memory settings, and when Qdrant isn't the right choice.
Run Milvus 2.2 standalone, load Azure OpenAI embeddings with pymilvus, and learn the schema, index, consistency and delete rules before you self-host it.
Run Weaviate 1.17 with embeddings from Azure OpenAI: schema choices, batch imports, filtered vector search, BM25 and the hybrid search caveats to know first.
Set up a Pinecone index for Azure OpenAI embeddings: dimensions, pod types, namespaces, metadata indexing and idempotent upserts, plus when to skip it.
What a vector database adds over brute force: ANN indexes, recall, filtering and updates, and how Pinecone, Weaviate, Milvus, Qdrant and pgvector compare.
Build a small semantic search prototype on Azure OpenAI embeddings and NumPy, measure it with hit rate@k, add BM25, and know when to move to a real index.
What text embeddings are, which Azure OpenAI embeddings models you can use in January 2023, how to compare vectors, and when embeddings are the wrong tool.
How stream=True works on the Azure OpenAI 2022-12-01 Completions API, what you give up by streaming, and how to relay tokens to a browser without losing any.
What the GA 2022-12-01 Azure OpenAI REST API looks like on the wire: URLs, auth headers, completions, embeddings, errors and when to skip the SDK.
Azure OpenAI Service reached GA on 16 January 2023: what that changes for production plans, what still needs an approved application, and how to proceed.
Azure OpenAI is GA but has no official .NET SDK yet. How I'd build a thin, typed C# client over the 2022-12-01 REST API that is easy to delete later.
How to configure the openai 0.26 Python library for Azure OpenAI in January 2023: API keys or Azure AD tokens, deployment names, timeouts, retries and async.
Azure OpenAI is GA with a Completions API only, and ChatGPT is coming soon. How to decide what needs chat and keep your prompt code ready for the change.
How temperature and top_p reshape token sampling in Azure OpenAI completions, why to tune one not both, and how to measure the effect before you ship.
Azure OpenAI completion models have no system role yet. How to design, budget, version and test an instruction preamble that does that job instead.
What the 2022 chain-of-thought papers show, how to apply zero-shot CoT and self-consistency on Azure OpenAI completions, and when the extra tokens don't pay.