Tag: Pydantic

  • Simon Willison’s Weblog: googleapis/python-genai

    Source URL: https://simonwillison.net/2024/Dec/12/python-genai/#atom-everything Source: Simon Willison’s Weblog Title: googleapis/python-genai Feedly Summary: googleapis/python-genai Google released this brand new Python library for accessing their generative AI models yesterday, offering an alternative to their existing generative-ai-python library. The API design looks very solid to me, and it includes both sync and async implementations. Here’s an async streaming response:…

  • Simon Willison’s Weblog: PydanticAI

    Source URL: https://simonwillison.net/2024/Dec/2/pydanticai/#atom-everything Source: Simon Willison’s Weblog Title: PydanticAI Feedly Summary: PydanticAI New project from Pydantic, which they describe as an “Agent Framework / shim to use Pydantic with LLMs". I asked which agent definition they are using and it’s the "system prompt with bundled tools" one. To their credit, they explain that in their…

  • Cloud Blog: Pirates in the Data Sea: AI Enhancing Your Adversarial Emulation

    Source URL: https://cloud.google.com/blog/topics/threat-intelligence/ai-enhancing-your-adversarial-emulation/ Source: Cloud Blog Title: Pirates in the Data Sea: AI Enhancing Your Adversarial Emulation Feedly Summary: Matthijs Gielen, Jay Christiansen Background New solutions, old problems. Artificial intelligence (AI) and large language models (LLMs) are here to signal a new day in the cybersecurity world, but what does that mean for us—the attackers…

  • Hacker News: Extracting financial disclosure and police reports with OpenAI Structured Output

    Source URL: https://gist.github.com/dannguyen/faaa56cebf30ad51108a9fe4f8db36d8 Source: Hacker News Title: Extracting financial disclosure and police reports with OpenAI Structured Output Feedly Summary: Comments AI Summary and Description: Yes **Summary:** The provided text details a demonstration of OpenAI’s GPT-4o-mini model for extracting structured data from financial disclosure reports and police blotter narratives. This showcases how AI can effectively parse…