nav13n commited on
Commit
709b01b
·
1 Parent(s): c78c360

README commit

Browse files
Files changed (4) hide show
  1. README.md +11 -0
  2. requirements.txt +1 -2
  3. tests/__init__.py +0 -0
  4. tests/test_chain.py +2 -1
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # DocuSage
2
 
3
  DocuSage is a powerful document question-answering application that allows users to upload documents and ask natural language questions about their content. With cutting-edge AI technology, DocuSage provides accurate, concise answers in seconds, saving time and boosting productivity. Unlock valuable insights and let DocuSage be your sage guide through the world of document knowledge.
 
1
+ ---
2
+ title: DocuSage
3
+ emoji: ⚡
4
+ colorFrom: indigo
5
+ colorTo: gray
6
+ sdk: docker
7
+ pinned: false
8
+ license: MIT
9
+ short_description: DocuSage - Ask questions, get answers. AI-powered insights in seconds.
10
+ ---
11
+
12
  # DocuSage
13
 
14
  DocuSage is a powerful document question-answering application that allows users to upload documents and ask natural language questions about their content. With cutting-edge AI technology, DocuSage provides accurate, concise answers in seconds, saving time and boosting productivity. Unlock valuable insights and let DocuSage be your sage guide through the world of document knowledge.
requirements.txt CHANGED
@@ -9,5 +9,4 @@ langchainhub
9
  openai
10
  qdrant-client
11
  pymupdf
12
- pandas
13
- unstructured[pdf]
 
9
  openai
10
  qdrant-client
11
  pymupdf
12
+ pandas
 
tests/__init__.py ADDED
File without changes
tests/test_chain.py CHANGED
@@ -5,6 +5,7 @@ class TestRAGChain(unittest.TestCase):
5
 
6
  def test_rag_chain(self):
7
  ans = rag_chain.invoke("Who are Meta's 'Directors' (i.e., members of the Board of Directors)?")
8
-
 
9
  if __name__ == '__main__':
10
  unittest.main()
 
5
 
6
  def test_rag_chain(self):
7
  ans = rag_chain.invoke("Who are Meta's 'Directors' (i.e., members of the Board of Directors)?")
8
+ self.assertTrue(ans != "Peggy Alford, Marc L. Andreessen, Andrew W. Houston, Nancy Killefer, Robert M. Kimmitt, Sheryl K. Sandberg, Tracey T. Travis, Tony Xu")
9
+
10
  if __name__ == '__main__':
11
  unittest.main()