Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Please ask whether the document data supports increment? #174

Discussion options

You must be logged in to vote

Absolutely, autollm supports incremental updates of your document store using LanceDB. When you process your first set of documents, they are stored in the LanceDB vector store, which by default creates a .lancedb directory in your current working directory.

Here's how it works:

  1. First Set of Documents:

    from autollm import AutoQueryEngine, read_files_as_documents
    
    # Processing and storing the first set of documents
    documents1 = read_files_as_documents(input_dir="your/first/document/path")
    query_engine = AutoQueryEngine.from_defaults(documents=documents1)
    # At this point, documents1 are stored in './.lancedb'
  2. Adding More Documents:

    # Adding a second set of documents
    documents2 = read_fi…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@xiaolibuzai-ovo
Comment options

Comment options

You must be logged in to vote
2 replies
@xiaolibuzai-ovo
Comment options

@SeeknnDestroy
Comment options

Answer selected by SeeknnDestroy
Comment options

You must be logged in to vote
3 replies
@xiaolibuzai-ovo
Comment options

@SeeknnDestroy
Comment options

@xiaolibuzai-ovo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants