Select the source before tuning generation
Choose among private, licensed and public sources and test how sampling affects responses.
Select the source before tuning generation
Work through the decision
A travel assistant must answer both a private corporate reimbursement question and a public question about a transport disruption. Turning temperature down made answers consistent but still wrong. What should the owner change?
Check your reasoning
For reimbursement, retrieve the current company policy with access controls. For live public conditions, use an appropriate fresh public source and inspect its date. If using a licensed market feed, check rights and freshness separately. Sampling affects variation; it cannot supply a missing document.
Compare the choices
- Retrieve authorized enterprise evidence
- Ground in the organization's own documents using managed Agent Search or a configurable RAG API. Enforce access and return source references.
- Use licensed third-party data
- For proprietary external information, choose an authorized provider, verify freshness and respect use and redistribution limits.
- Ground with Google Search
- Use current public web evidence when appropriate. Inspect dates, authority and relevance before presenting a factual claim.
- Adjust sampling and output settings
- Temperature and top-p affect diversity, output limits bound length and safety settings constrain content. None creates missing evidence.
Interpret a consistent mistake
A private contract says the limit is 12 units; repeated model answers say 10. Lowering temperature can consistently repeat 10. Retrieve the applicable contract version and test whether the cited clause supports 12 before adjusting variety.
Practice the guide skills
- Classify a source as first-party, licensed third-party or public world knowledge. Verify authority, access and currency before using it. Watch 5:01:22
- Trace retrieval and source injection before generation. Check whether citations actually support the generated claim. Watch 5:03:02
- Choose managed Agent Search for prebuilt RAG, configurable RAG APIs for custom retrieval or Google Search for current public evidence. Watch 5:04:11
- Change temperature, top-p and output length one at a time. Review safety settings separately and record their impact on quality. Watch 5:16:08
Official objectives for this lesson
Related lesson · Trace data from its source to a business decision
Select the source before tuning generation quiz
Answer 3 questions. Check each answer for an explanation.