AI Personal Learning
and practical guidance
豆包Marscode1
Ollama教程合集
26

Ollama Tutorial Collection

Implementing a Local Agent with Ollama+LlamaIndex

Introduction This document describes how to use ReActAgent in LlamaIndex in combination with Ollama to implement a simple local agent. The LLM used in this document is the qwen2:0.5b model, due to the different ability of different models to invoke the tools, you can try to use a different model to achieve ...

使用 Ollama+LangChain 实现本地 Agent-首席AI分享圈

Implementing a Local Agent with Ollama+LangChain

Introduction ReAct (Reasoning and Acting) is a framework that combines reasoning and action to enhance the performance of intelligences in complex tasks. The framework enables intelligences to accomplish tasks more effectively in dynamic environments by tightly integrating logical reasoning with practical action. Source : ReAct: ...

使用 Ollama+LlamaIndex 搭建本地 RAG 应用-首席AI分享圈

Building a Local RAG Application with Ollama+LlamaIndex

Introduction This document will detail how to use the LlamaIndex framework to build a local RAG (Retrieval-Augmented Generation) application. By integrating LlamaIndex, it is possible to build a RAG system in a local environment that combines the capabilities of Retrieval and Generation to improve the efficiency of information retrieval...

Building a Local RAG Application with Ollama+LangChain

This tutorial assumes that you are already familiar with the following concepts: Chat Models Chaining runnables Embeddings Vector stores Retrieval-augmented generation Many popular projects such as llama.cpp , Ollama , and llamafile have shown that running a large language model in a local environment is a good idea. A local environment for running large language models...

Ollama 本地部署模型接入 Dify-首席AI分享圈

Ollama Local Deployment Model Access Dify

Dify supports access to large-scale language model inference and embedding capabilities deployed by Ollama. Quick Access Download Ollama Access Ollama installation and configuration, view Ollama local deployment tutorials. Run Ollama and chat with Llama ollama run llama3.1 Launch into ...

Ollama 在 LangChain 中的使用 - JavaScript 集成-首席AI分享圈

Ollama in LangChain - JavaScript Integration

Introduction This document describes how to use Ollama in a JavaScript environment to integrate with LangChain to create powerful AI applications.Ollama is an open source deployment tool for large language models, while LangChain is a framework for building language model-based applications. By combining...

Ollama 在 LangChain 中的使用 - Python 集成-首席AI分享圈

Ollama in LangChain - Python Integration

Introduction This document describes how to use Ollama in a Python environment to integrate with LangChain to create powerful AI applications.Ollama is an open source deployment tool for large language models, while LangChain is a framework for building language model-based applications. By combining these two...

Using the Ollama API in Golang

This article describes how to use the Ollama API in Golang.This document is designed to help developers get up to speed quickly and take full advantage of the capabilities of Ollama.Ollama itself is developed in the Golang language, and the interface code for the Golang language version is available in the official repository directory https://github.com/olla...

Using the Ollama API in C++

This article describes how to use the Ollama API in C++. This document is designed to help C++ developers get up to speed quickly and take full advantage of Ollama's capabilities. By studying this document, you can easily integrate Ollama into your projects. Note that the Ollama community and documentation may be more...

Using the Ollama API in JavaScript

This article describes how to use the Ollama API in JavaScript. This document is designed to help developers get started quickly and take full advantage of Ollama's capabilities. You can use it in a Node.js environment or import the corresponding module directly in the browser. By studying this document, you can easily set...

在 Java 中使用 Ollama API-首席AI分享圈

Using the Ollama API in Java

This article describes how to use the Ollama API in Java.This document is designed to help developers get started quickly and take full advantage of Ollama's capabilities. You can call the Ollama API directly in your program, or you can call Ollama from a Spring AI component.By studying this document, you can easily set...

Using the Ollama API in Python

In this article, we take a brief look at how to use the Ollama API in Python.Whether you want to have a simple chat conversation, work with big data using streaming responses, or want to do model creation, copying, deletion, etc. locally, this article can guide you. In addition, we show ...

Ollama API 使用指南-首席AI分享圈

Ollama API User's Guide

Introduction Ollama provides a powerful REST API that enables developers to easily interact with large language models. With the Ollama API, users can send requests and receive responses generated by the model, applied to tasks such as natural language processing, text generation, and so on. In this paper, we will introduce in detail the generation of complementary, dialog generation ...

Ollama 自定义在 GPU 中运行-首席AI分享圈

Ollama customization running in GPUs

Windows The following is an example of how to customize Ollama to run in the GPU on a Windows system.Ollama uses the CPU for inference by default. For faster inference, you can configure the GPU used by Ollama.This tutorial will guide you on how to set up the ring on a Windows...

en_USEnglish