🥱Home
  • /Posts🗯
  • /ARCHIVES🕑
  • /TAGS🚦
  • /SEARCH🔍
  • /ABOUT🌞
主页 » Tags

LLM

LlamaIndex - Building a RAG pipeline

LlamaIndex - Building a RAG pipeline 1 Loading & Ingestion Load the data Transform the data Index and store the data 1.1 Loaders The way LlamaIndex does this is via data connectors, also called Reader 1 2 3 4 5 6 7 #读取文件夹: from llama_index.core import SimpleDirectoryReader documents = SimpleDirectoryReader("./data").load_data() #读取单个文档 from llama_index.core import Document doc = Document(text="text") 1.2 Transformations After the data is loaded, you then need to process and transform your data before putting it into a storage system. These transformations include chunking, extracting metadata, and embedding each chunk. This is necessary to make sure that the data can be retrieved, and used optimally by the LLM. ...

2024-11-03 · yyz

Ollama - 安装与基本使用

Author - yyz Last Update Time - 2024/06/06 操作系统 - Ubuntu 22.04 0 安装Ollama Linux: 1 curl -fsSL https://ollama.com/install.sh | sh Windows: Download Ollama on Windows

2024-06-22 · yyz

Model List - 性能排序

ReRanker模型 bge-reranker-base_v1 bge-rereanker-v2-minicpm-layerwise Embedding模型 bce-embedding-base_v1 - Qangthing acge_text_embedding

2024-06-06 · yyz