正在加载视频...

视频加载失败

Introducing RAG CLI 🧑‍💻🔎 - a dead-simple command-line tool that allows you to RAG literally any file on your local machine. Index any files including glob patterns, such as `$ llamaindex-cli rag --files "./docs/**/*.rst”` To search simply do `$ llamaindex-cli rag --question "What is LlamaIndex?”` Built with our IngestionPipeline...

67,903 次观看 • 2 年前 •via X (Twitter)

9 条评论

Fabrizio Milo 的头像
Fabrizio Milo2 年前

just a word of caution: this can be expensive if you don't know how big are your files in terms of tokens. It does sends data to @OpenAI with the blog's default configuration.

ahmed 的头像
ahmed2 年前

Which embedding model it is using?

LlamaIndex 🦙 的头像
LlamaIndex 🦙2 年前

@ahmed_abdullahx ada-002, but you can customize it to use any model!

ppg 的头像
ppg2 年前

@ollama From the name "llamaindex" it would seem your default model would be at least llama or open weights based but instead the default is openAI based. Any reason for that? Do the open models do very poorly?

Matrix Dai 的头像
Matrix Dai2 年前

@TheAICoder This is easiest way to index and "ask" local files.

AiBee Agency 的头像
AiBee Agency2 年前

🛠️ The RAG CLI tool looks like a game-changer for developers! Easy indexing means quicker access and better productivity. Could you share more on how it handles large file systems? #DevTools #CommandLineMagic

Peter Calvanelli 的头像
Peter Calvanelli2 年前

🤯

Bryce Amacker 的头像
Bryce Amacker2 年前

@memdotai mem it

Mem 的头像
Mem2 年前

@llama_index Saved! Here's the compiled thread:

相关视频

Announcing a new Coursera course: Retrieval Augmented Generation (RAG) You'll learn to build high performance, production-ready RAG systems in this hands-on, in-depth course created by and taught by , experienced AI and ML engineer, researcher, and educator. RAG is a critical component today of many LLM-based applications in customer support, internal company Q&A systems, even many of the leading chatbots that use web search to answer your questions. This course teaches you in-depth how to make RAG work well. LLMs can produce generic or outdated responses, especially when asked specialized questions not covered in its training data. RAG is the most widely used technique for addressing this. It brings in data from new data sources, such as internal documents or recent news, to give the LLM the relevant context to private, recent, or specialized information. This lets it generate more grounded and accurate responses. In this course, you’ll learn to design and implement every part of a RAG system, from retrievers to vector databases to generation to evals. You’ll learn about the fundamental principles behind RAG and how to optimize it at both the component and whole-system levels. As AI evolves, RAG is evolving too. New models can handle longer context windows, reason more effectively, and can be parts of complex agentic workflows. One exciting growth area is Agentic RAG, in which an AI agent at runtime (rather than it being hardcoded at development time) autonomously decides what data to retrieve, and when/how to go deeper. Even with this evolution, access to high-quality data at runtime is essential, which is why RAG is a key part of so many applications. You'll learn via hands-on experiences to: - Build a RAG system with retrieval and prompt augmentation - Compare retrieval methods like BM25, semantic search, and Reciprocal Rank Fusion - Chunk, index, and retrieve documents using a Weaviate vector database and a news dataset - Develop a chatbot, using open-source LLMs hosted by Together AI, for a fictional store that answers product and FAQ questions - Use evals to drive improving reliability, and incorporate multi-modal data RAG is an important foundational technique. Become good at it through this course! Please sign up here:

Andrew Ng

124,981 次观看 • 1 年前