Quick Tips: PydanticAI - Control OpenAI Data Retention with openai_store
Plus read an entire CSV folder with DuckDB
Grab your coffee. Here are this week’s highlights.
📅 Today’s Picks
PydanticAI: Control OpenAI Data Retention with openai_store
Problem
By default, OpenAI may retain your API request data for internal review and model improvement. For healthcare, finance, and legal applications, this default creates compliance risks you can’t afford.
Solution
PydanticAI provides the openai_store setting to explicitly disable data retention in one line.
DuckDB - read an entire CSV folder in one line
Problem
Working with multiple CSV files often means writing extra code to load, combine, and process each file.
Solution
DuckDB makes this simpler by letting you query multiple CSV files directly with SQL and pattern matching, so you can analyze them in one efficient query.
💬 Rate Your Experience
How would you rate your newsletter experience? Share your feedback →
🔍 Explore More on CodeCut
Tool Selector - Discover 70+ Python tools for AI and data science
Production Ready Data Science - A practical book for taking projects from prototype to production


