Tutorial #12: Use ChatGPT and off-the-shelf RAG on Terminal/Command Prompt/Shell - SymbolicAI

Subscribers:
5,330
Published on ● Video Link: https://www.youtube.com/watch?v=RJ6i_b91nQE



Duration: 47:02
606 views
19


Leo and Marius share with us the latest addition to SymbolicAI - Use ChatGPT and off-the-shelf RAG on your Terminal/Command Prompt/Shell!

You can now talk to your Terminal in free text and get an answer back, do off-the-shelf RAG over your documents.

Basic Syntax:
"query" - one-off query to LLM
!"query" - new conversation with LLM
."query" - continuation from previous !"query"
?"query" - performs web search of query using SerpAPI
"query" | document - automatic RAG over document

Procedure:
1. Open your Terminal / Command Prompt / Shell
2. pip install symbolicai
3. configure parameters such as OpenAI key using "symwzd"
4. Start chatting with LLM using "symsh"
5. Enjoy!

SymbolicAI Repo: https://github.com/ExtensityAI/symbolicai

~~~~~~~~~~~~~~~~~~~~~~~~~

0:00 Introduction
0:25 Installation
3:50 Stateless Query
6:20 Stateful Query
7:25 Document Query
10:30 Off-the-shelf RAG over documents
16:55 History of past queries
19:10 Index search over chunks
24:50 Create index over directory/repository
27:45 Google Search
29:05 Advanced Content: Personality and Macros
38:35 Summary and Teaser for Future Content

~~~~~~~~~~~~~~~~~~~~

AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator.

Discord: https://discord.gg/bzp87AHJy5
LinkedIn: https://www.linkedin.com/in/chong-min-tan-94652288/
Online AI blog: https://delvingintotech.wordpress.com/
Twitter: https://twitter.com/johntanchongmin
Try out my games here: https://simmer.io/@chongmin




Other Videos By John Tan Chong Min


2024-02-20SymbolicAI / ExtensityAI Paper Overview (Part 1) - Key Philosophy Behind the Design - Symbols
2024-02-13Embeddings Walkthrough (Part 2): Context-Dependent Embeddings, Shifting Embedding Space
2024-02-06Embeddings Walkthrough (Part 1) - Bag of Words to word2vec to Transformer contextual embeddings
2024-01-29V* - Better than GPT-4V? Iterative Context Refining for Visual Question Answer!
2024-01-23AutoGen: A Multi-Agent Framework - Overview and Improvements
2024-01-09AppAgent: Using GPT-4V to Navigate a Smartphone!
2024-01-08Tutorial #13: StrictJSON, my first Python Package! - Get LLMs to output into a working JSON!
2023-12-20"Are you smarter than an LLM?" game speedrun
2023-12-08Is Gemini better than GPT4? Self-created benchmark - Fact Retrieval/Checking, Coding, Tool Use
2023-12-04Learning, Fast and Slow: 10 Years Plan - Memory Soup, Hier. Planning, Emotions, Knowledge Sharing
2023-12-01Tutorial #12: Use ChatGPT and off-the-shelf RAG on Terminal/Command Prompt/Shell - SymbolicAI
2023-11-20JARVIS-1: Multi-modal (Text + Image) Memory + Decision Making with LLMs in MineCraft!
2023-11-20Tutorial #11: Virtual Persona from Documents, Multi-Agent Chat, Text-to-Speech to hear your Personas
2023-11-14A Roadmap for AI: Past, Present and Future (Part 3) - Multi-Agent, Multiple Sampling and Filtering
2023-11-07Learning, Fast and Slow: My Landmark Idea for fast, adaptable agents (ICDL 2023 Best Paper Finalist)
2023-11-06A roadmap for AI: Past, Present and Future (Part 2): Fixed vs Flexible, Memory Soup vs Hierarchy
2023-11-03AI & Education: Education when AI tools are smarter than us - Discussion with Kuang Wen (Part 2)
2023-11-03AI & Education: RAG Question-Answer, Test Question Generator, Autograder by Kuang Wen! (Part 1)
2023-10-31A Roadmap for AI: Past, Present and Future (Part 1)
2023-10-28Tutorial #10: StrictJSON v2 (StrictText): Handle any output - quotation marks or backslash!
2023-10-24ChatDev: Can LLM Agents really replace a software company?