Skip to content

Instantly share code, notes, and snippets.

View rhuffstedtler's full-sized avatar

Robert Huffstedtler rhuffstedtler

View GitHub Profile
@rhuffstedtler
rhuffstedtler / gist:dde68cd4dc0a0542cc8cf4e2bbd17a54
Created January 4, 2026 22:45
LLM prompt to retrieve ten year treasury yield from FRED and return it in a JSON object
Task: Output the market yield on US treasury securities at 10-Year Constant Maturity.
##General Instructions##
1. Don't retrieve anything extra through web searches. Only retrieve exactly what I asked for.
2. Where I have curly braces in the prompt replace them with the referenced variable or the instruction inside the curly braces.
3. Do not include anything in the response other than the JSON object. If you think there is something I must know, include it in the human_notes field of the json.
##Steps##
1. Determine today's date
2. Set variables