Practical overview
When it fits
Use it when you want to explore question answering over a folder of PDF and DOCX documents and can work with its Python examples or Streamlit interface.
Who it is for
- Developers who want to search and ask questions about a folder of PDF and DOCX documents.
- People exploring a document-search workflow for collections such as policy archives.
Documented uses
- Load PDF and DOCX files from a selected folder.
- Submit a question about the collection through the command-line example.
- Launch a Streamlit interface configured for a document folder.
Requirements & limits
The repository is public, open source, and licensed under Apache-2.0.
- The README supports PDF and DOCX files, but explicitly excludes DOC files.
- The web interface requires changing the
global_dirsetting inweb_ui.pybefore launch. - The repository provides a CLI example and a Streamlit launch command.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set a document folder and launch the Streamlit interface
Configure the web interface to use a folder of PDF and DOCX documents, then launch Streamlit.
Before you start
- The Documentsearch project files.
- A folder containing PDF and/or DOCX files.
Steps
Edit the
global_dirsetting inweb_ui.pyto point to the document folder.Run
streamlit run web_ui.py --server.fileWatcherType nonefrom the project environment.
Expected outcome
The project’s Streamlit web interface is launched with the configured document folder.
Guide limitations
- The README lists PDF and DOCX support and says DOC files are not supported.
Query a document folder from the command-line example
Use the provided Python example to ask a question about documents in a configured folder.
Before you start
- The Documentsearch project files.
- A folder of PDF and/or DOCX documents.
Steps
In
demo.py, setglobal_dirto the document folder.Create a
KnowLedgeinstance withKnowLedge(global_dir=global_dir).Call
search_resultwith a question string and print the returned result and data.
Expected outcome
The example prints the result and data returned for the supplied question.
Guide limitations
- The README lists PDF and DOCX support and says DOC files are not supported.
- The README provides an example question but does not detail the returned data format.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- yuanzhoulvpi2017/DocumentSearch · Official homepage title · retained in its source language

