jerpint commited on
Commit
4a4bbfd
β€’
1 Parent(s): 48603c2

Update README

Browse files
Files changed (1) hide show
  1. README.md +14 -12
README.md CHANGED
@@ -14,25 +14,27 @@ license: mit
14
 
15
  ## Introduction πŸ“š
16
 
17
- RAGTheDocs is an open-source library that allows you to do RAG on any readthedocs documentation using a one-click deploy.
18
 
19
- ## Features πŸš€
20
-
21
- - **Web Scraping and Analysis:** RAGtheDocs automatically scrapes and embeds documentation from any website generated by ReadTheDocs/Sphinx
22
 
23
- - **RAG Interface:** It comes built-in with a gradio UI for users to interact with the RAG agent
 
24
 
25
- - **Customization Options:** Tailor RAGtheDocs to your needs with customizable settings and options.
26
 
 
 
 
 
27
 
28
- ## Installation
29
 
30
- TODO
31
 
32
- ## Usage
33
 
34
- TODO
35
 
36
- ## Configuration
37
 
38
- TODO
 
14
 
15
  ## Introduction πŸ“š
16
 
17
+ RAGTheDocs is an open-source library that allows you to deploy retrieval augmented generation (RAG) on any readthedocs documentation with a one-click deploy on huggingface spaces!
18
 
19
+ ## Usage
 
 
20
 
21
+ 1) Go to the [example space](https://huggingface.co/spaces/jerpint/RAGTheDocs)
22
+ 2) Duplicate the space:
23
 
24
+ ![image](https://github.com/jerpint/buster/assets/18450628/0c89038c-c3af-4c1f-9d3b-9b4d83db4910)
25
 
26
+ 3) Set your environment variables:
27
+ * OPENAI_API_KEY: Needed for the app to work, e.g. `sk-...`
28
+ * READTHEDOCS_URL: The url of the website you are interested in scraping
29
+ * READTHEDOCS_VERSION: This is important only if there exist multiple versions of the docs (e.g. "en/v0.2.7" or "en/latest"). If left empty, it will scrape all available versions.
30
 
31
+ **WARNING** This library is experimental and automatically calls OpenAI APIs for you. Use at your own risk! ⚠️
32
 
 
33
 
34
+ ## Features πŸš€
35
 
36
+ - **Web Scraping and embeddings:** RAGtheDocs automatically scrapes and embeds documentation from any website generated by ReadTheDocs/Sphinx using OpenAI embeddings
37
 
38
+ - **RAG Interface:** It comes built-in with a gradio UI for users to interact with [Buster πŸ€–](github.com/jerpint/buster) our RAG agent.
39
 
40
+ - **Customization Options:** Tailor RAGtheDocs to your needs with customizable settings and options.