Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 983 Bytes

File metadata and controls

31 lines (20 loc) · 983 Bytes

RagQueryDocuments

RagQueryDocuments is a simple application that evaluates RAG for querying multiple documents of several popular types including PDF, Word, PowerPoint, Excel, Text, Markdown, HTML, XML and JSON.

BYOK (Bring Your Own Key) applies. Only OpenAI is supported, so get a key at https://platform.openai.com.

Install

  • Download the ZIP file.
  • Unzip ragquerydocuments-main.zip and move it somewhere sensible.
  • Open a terminal/command prompt, preferably in admin mode if using Windows.
  • Go to the above folder.

Prepare

  • Install Python.
  • Run reqs.bat/cmd. Let it finish.

Start

  • Run run.bat/cmd to launch the application.
  • A browser view should be automatically opened. If not, the application is accessed at http://localhost:8501/.

Use

  • Upload one or more files of the types supported.
  • Enter your OpenAI API key unless already set via the OPENAI_API_KEY environment variable.
  • Query away.

Contact/support

Contact me if you find something odd.