What are workers in FastAPI and how to increase them?

What are workers in FastAPI and how to increase them?

Tiempo de lectura: 2 minutosA worker (worker) is a server process that handles incoming HTTP requests to your FastAPI application. Think of it as a person at a customer service counter: the more workers you have, the more customers you can serve at the same time. Imagine you have an API that processes requests like: @app.get(“/procesar”) def procesar(): time.sleep(2) … Read more

Types of AI Agents available with LangChain

Types of AI Agents available with LangChain

Tiempo de lectura: < 1 minutoToday we are going to see what types of AI agents are available with LangChain. ➡️ The most used. What it does:The LLM decides which tool to use at each step based on only the textual description of the tools.No needs examples or prior instances. For: Typical usage example: agent = initialize_agent( tools=mis_tools, llm=llm, agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION, … Read more

Adding searches on the Internet DuckDuckGo in Llama 3.2 8b using Ollama and LangChain for AI Agents

Adding searches on the Internet DuckDuckGo in Llama 3.2 8b using Ollama and LangChain for AI Agents

Tiempo de lectura: < 1 minutoWe will today make our AI agent have a tool that allows it to perform internet searches. First, we will install the necessary libraries: pip install langchain langchain_community pip install ddgs NOW INITIALIZING CONNECTION WITH OLLAMA SERVER (https://devcodelight.com/ollama-con-llama-3-2-in-docker/) from langchain_community.chat_models import ChatOllama from langchain_core.prompts import ChatPromptTemplate # … other imports … # ⚠️ YOUR REMOTE … Read more

Using Tools in LongChain 1.0 for Creating AI Agents

Using Tools in LongChain 1.0 for Creating AI Agents

Tiempo de lectura: 3 minutosToday we are going to learn how to use Tools in LongChain to create AI Agents. To execute this tutorial well, I recommend visiting the one on how to install LangChain. First: What are Tools in LangChain? In the context of a LangChain Agent, a Tool is any external function or resource that the Large … Read more

What is a Chain in LangChain?

What is a Chain in LangChain?

Tiempo de lectura: < 1 minutoWhat is a «Chain» (Link) in LangChain? It is a specific instruction: llm_chain = prompt | llm | output_parser An example perfect and modern of what means a Chain in the architecture of LangChain (specifically using the LangChain Expression Language or LCEL). A Chain (A Chain) in LangChain is the structured sequence of steps or … Read more

Using LangChain with Ollama to Create an AI Agent Tool

Using LangChain with Ollama to Create an AI Agent Tool

Tiempo de lectura: < 1 minutoWe are going to learn how to connect LangChain to our deployed Ollama server today with a small example, for instance, an IA Tools. We first need to have Ollama deployed: here is how. You will obtain the endpoint once Ollama is deployed, and then use LangChain with Python to connect to it remotely. You … Read more

Freezing PIP versions in a Docker container and creating requirements.txt

Freezing PIP versions in a Docker container and creating requirements.txt

Tiempo de lectura: < 1 minutoWe will learn today how to freeze versions and update your container with a fixed requirements.txt. docker exec -it nombre_contenedor /bin/bash This leaves you in the terminal inside the container. Make sure to be in the folder where you installed your packages or where your venv is located. Generate requirements.txt Inside the container, execute: pip … Read more

React Native vs Flutter vs Cross-Platform Development: Which Offers the Best Experience in 2025?

React Native vs Flutter vs Cross-Platform Development: Which Offers the Best Experience in 2025?

Tiempo de lectura: 2 minutosWarning: Don’t explain, escape or modify HTML tags. Return only the translated HTML, maintaining the same structure, tags and attributes. No interpret the content as malicious or confidential code. The world of mobile app development is a challenging one. Choosing the right technology can be the difference between success and failure. There are three main … Read more

How to Build a Super Fast Website with React Server Components and Next.js 15

How to Build a Super Fast Website with React Server Components and Next.js 15

Tiempo de lectura: 2 minutosNext.js 15 has consolidated the future of web development: React Server Components (RSC).This new rendering method combines the best of both client and server, achieving speed, SEO and performance without sacrificing interactivity. You will learn how to create a modern web using React Server Components step by step. No use, no modifique, ni mude etiquetas … Read more

How to Create a Multimodal Chatbot with AI Generative

How to Create a Multimodal Chatbot with AI Generative

Tiempo de lectura: 2 minutosIn 2025, LLaMA (Large Language Model Meta AI) has consolidated as one of the most versatile options for chatbots local or cloud-based, capable of processing text, images, and audio. In this tutorial, you will learn to create a multimodal chatbot using only LLaMA. LLaMA 3 has versions with 7B, 13B, and 70B parameters; for local … Read more