Step-by-Step Guide: Using LangExtract with OpenAI

Recently, Google launched a library called LangExtract. LangExtract is an open-source Python library that enables developers to transform unstructured text into structured information using large language models (LLMs). It offers a lightweight interface compatible with multiple model backends, including Gemini and GPT, making it well-suited for processing large unstructured text into structured information. Some key featuresContinueContinue reading “Step-by-Step Guide: Using LangExtract with OpenAI”

Async Programming in Python

Python async programming is not the same as multi-threading. Even though they both achieve concurrency, multi-threading tasks run in parallel on multiple threads, whereas async programming functions run asynchronously using the event loop. Async programming is most useful when your program spends a lot of time waiting for input or output (I/O), like: Web scraping many pages atContinueContinue reading “Async Programming in Python”