Deep Lake Vector Store in LlamaIndex
Using Deep Lake as a Vector Store in LlamaIndex
How to Use Deep Lake as a Vector Store in LlamaIndex
!pip3 install langchain llama-indexDownloading and Preprocessing the Data
import os
import textwrap
from llama_index import VectorStoreIndex, SimpleDirectoryReader
from llama_index.vector_stores import DeepLakeVectorStore
from llama_index.storage.storage_context import StorageContext!git clone https://github.com/twitter/the-algorithmrepo_path = '/the-algorithm'
documents = SimpleDirectoryReader(repo_path, recursive=True).load_data()Creating the Deep Lake Vector Store
Use the Vector Store in a Q&A App
Was this helpful?