Planning to make large behavioural changes to a (sometimes long-running) production-grade AI agent. Working with `pydantic-evals` today because I want to eval the agent before and after. So far it looks very similar to Langfuse datasets/runs for evalling, except that the data lives in your repository instead of in the Langfuse platform.

https://ai.pydantic.dev/evals/

#llms #pydantic #genai #agents #claude #langfuse

Pydantic Evals - Pydantic AI

GenAI Agent Framework, the Pydantic way

Hahaha, oh Pydantic...

> Unlike unit tests, evals are an emerging art/science. Anyone who claims to know exactly how your evals should be defined can safely be ignored.

Source: https://ai.pydantic.dev/evals/

#pydantic #evals #llms #genai

Pydantic Evals - Pydantic AI

GenAI Agent Framework, the Pydantic way

RE: https://mastodon.social/@lobsters/116241885772634780

Oxyde looks really cool. I work with Pydantic a lot, but have missed having the Django ORM. Oxyde appears to bring a Django ORM-like experience to Pydantic, and I'm here for it.

#Pydantic #Python #Django

Oh wow, another ORM! Because clearly, the world was begging for a "Pydantic-native async #ORM with a #Rust core" 😂. It's like they threw #buzzwords into a blender and hit "high performance"! 🥴
https://github.com/mr-fatalyst/oxyde #Pydantic #HighPerformance #HackerNews #ngated
GitHub - mr-fatalyst/oxyde: Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability.

Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability. - mr-fatalyst/oxyde

GitHub
GitHub - mr-fatalyst/oxyde: Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability.

Oxyde ORM is a type-safe, Pydantic-centric asynchronous ORM with a high-performance Rust core designed for clarity, speed, and reliability. - mr-fatalyst/oxyde

GitHub
Vercel Just Proposed a TypeScript-Inspired Upgrade to Python's Type System

Vercel engineers spent a year building PEP 827 — a proposal that could give Python the programmable type system TypeScript developers have always taken for granted.

TechLife
#Python dataclasses are the weak alternative to #Pydantic...don't argue with an extra dependency

Le framework d'API web #FastAPI a sorti une version 0.131.0 qui délègue à #Pydantic la sérialisation JSON de la réponse lorsqu'on utilise une annotation pour typer la réponse renvoyée par la route d'API plutôt que de définir une classe dans le décorateur qui définit la route (dans ce cas, c'est FastAPI qui gère la sérialisation). La sérialisation par FastAPI se fait alors plus rapidement, car elle est implémentée en #rust.

https://fastapi.tiangolo.com/advanced/custom-response/#json-performance

#Python #framework #web #rustification

Custom Response - HTML, Stream, File, others - FastAPI

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Simon Willison (@simonw)

작성자는 Pydantic의 Rust로 작성된 새 Python 서브셋을 WebAssembly로 컴파일해 일반 WebAssembly와 Pyodide 친화적 버전 둘 다 동작시켰다고 보고했습니다. 이는 Pydantic 관련 도구의 브라우저·WASM 환경 통합 가능성을 보여주며 Python 데이터 유효성 검사/모델링 툴의 배포·실행 옵션을 확장합니다. 관련 블로그 링크 포함.

https://x.com/simonw/status/2019910820323553691

#pydantic #wasm #pyodide #webassembly

Simon Willison (@simonw) on X

I got Pydantic's new written-in-Rust Python subset to compile to WebAssembly in both regular and Pyodide-friendly variants https://t.co/ta6Pxw6KGf

X (formerly Twitter)

unihttp – пишем декларативные API-клиенты на Python

Привет! Хочу представить вам свою библиотеку – unihttp . Уверен, что все сталкивались с необходимостью работы с какими-либо API, но что делать, если у этого сервиса (внешнего или внутреннего) отсутствует библиотека, позволяющая лаконично вызывать нужные методы?

https://habr.com/ru/articles/992844/

#python #opensource #api #rest #pydantic #adaptix #dataclasses

unihttp – пишем декларативные API-клиенты на Python

Привет! Хочу представить вам свою библиотеку – unihttp . Уверен, что все сталкивались с необходимостью работы с какими-либо API, но что делать, если у этого сервиса (внешнего или внутреннего)...

Хабр