pendrag commited on
Commit
5e51956
·
1 Parent(s): 0f85829

README updated

Browse files
Files changed (1) hide show
  1. README.md +13 -12
README.md CHANGED
@@ -11,23 +11,24 @@ pinned: false
11
 
12
  This code creates a web interface using Gradio that combines INSPIRE HEP (High Energy Physics) database searches with AI-powered responses. Here's what it does:
13
 
14
- Search Enhancement:
 
 
 
15
 
16
- Takes a user query and uses GPT-4 to expand it into multiple relevant search variations
17
- Searches the INSPIRE HEP database using these expanded queries
18
  Example: "how far are black holes?" gets expanded into multiple variations like "distance from black holes", "remoteness of black holes", etc.
19
 
20
 
21
- Result Processing:
22
 
23
- Retrieves academic papers from INSPIRE HEP
24
- Formats the paper metadata including authors, year, title, and DOI
25
- Creates a context from the papers' titles and abstracts
26
 
27
 
28
- AI Answer Generation:
29
 
30
- Uses GPT-4 to generate a comprehensive answer based on the search results
31
- Citations are included in the format [1], [2], etc.
32
- Cleans up and renumbers the references to match only the cited papers
33
- Provides a summary at the end of each answer
 
11
 
12
  This code creates a web interface using Gradio that combines INSPIRE HEP (High Energy Physics) database searches with AI-powered responses. Here's what it does:
13
 
14
+ ## Search Enhancement:
15
+
16
+ 1. Takes a user query and uses GPT-4 to expand it into multiple relevant search variations
17
+ 2. Searches the INSPIRE HEP database using these expanded queries
18
 
 
 
19
  Example: "how far are black holes?" gets expanded into multiple variations like "distance from black holes", "remoteness of black holes", etc.
20
 
21
 
22
+ ## Result Processing:
23
 
24
+ 1. Retrieves academic papers from INSPIRE HEP
25
+ 2. Formats the paper metadata including authors, year, title, and DOI
26
+ 3. Creates a context from the papers' titles and abstracts
27
 
28
 
29
+ ## AI Answer Generation:
30
 
31
+ 1. Uses GPT-4 to generate a comprehensive answer based on the search results
32
+ 2. Citations are included in the format [1], [2], etc.
33
+ 3. Cleans up and renumbers the references to match only the cited papers
34
+ 4. Provides a summary at the end of each answer