Skip to content

dudarev/ask-my-texts

Repository files navigation

Ask My Texts

  • Prepare several texts in Markdown format
  • Ask questions about the texts using Streamlit UI

How to prepare text

Put your text in texts folder. The texts should be in Markdown format. In the beginning of each file include Markdown front matter with url and title fields.

---
url: https://example.com
title: Example
---

Your text here

How to install dependencies

make install

How to configure

Specify your OpenAI API key in .env file. See .example.env for an example.

Generate embeddings and sources with

make embeddings

How to run

make run

How to use

Navigate to http://localhost:8501 in your browser. Ask questions about the text in the text box.

About

An interactive tool to ask questions about your Markdown files using Streamlit UI, powered by OpenAI API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published