In one of my previous blog posts, I introduced LlamaIndex—a powerful framework for building LLM applications. In this post, I’d like to take it a step further by creating a toy project using a Next.js backend paired with the Olla...
Requirements:
pip install langgraph langchain_ollama
Here is the complete code for building a chatbot that uses Ollama as its provider:
from typing import Annotated
from typing_extensions import TypedDict
from langgraph.graph import StateGraph, START, END
from langgraph.graph.message import a...
Alibaba has launched the QwQ-32B-Preview, a cutting-edge AI model designed to enhance logical reasoning and problem-solving skills.
I recently tested the QwQ model on Ollama, and it's the first notable alternative to OpenAI's O1. The results are quite promising:
calculate 10+10
So I have this...