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”
Category Archives: GenAi
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”
Integrating OpenAI’s GPT with Angular: A Step-by-Step Guide
In this article, we’ll walk through the step-by-step process of integrating the OpenAI GPT model into an Angular application. To get started, create a new Angular project and follow each step as you go along. Please note that you’ll need a valid OpenAI API key to proceed. By default, newer versions of Angular projects doContinueContinue reading “Integrating OpenAI’s GPT with Angular: A Step-by-Step Guide”
GenAI for Beginners: What is the Top-p sampling in a model
When working with Large Language Models (LLMs), it is essential to understand specific key parameters that influence the model’s behaviour. Two of the most critical parameters are: Temperature Top-P (nucleus) In the last part, we discussed the Temperature parameter. Read here – https://debugmode.net/2025/06/12/genai-for-beginners-what-is-the-temperature-parameter-in-a-model/ Top-p sampling, also called nucleus sampling, is a method used to controlContinueContinue reading “GenAI for Beginners: What is the Top-p sampling in a model”
GenAI for Beginners: What is the Temperature parameter in a model
When working with Large Language Models (LLMs), it is essential to understand specific key parameters that influence the model’s behaviour. Two of the most critical parameters are: Temperature Top-P (nucleus) sampling value Temperature is a parameter that controls the randomness in the model’s output by affecting how the model selects the next token to generate.ContinueContinue reading “GenAI for Beginners: What is the Temperature parameter in a model”