diff --git a/notebooks/hybrid-search/meta.toml b/notebooks/hybrid-search/meta.toml new file mode 100644 index 0000000..a4da391 --- /dev/null +++ b/notebooks/hybrid-search/meta.toml @@ -0,0 +1,4 @@ +[meta] +title="Hybrid Search" +description="Hybrid search combines keyword search with semantic search, aiming to provide more accurate results." +tags=[] diff --git a/notebooks/hybrid-search/notebook.ipynb b/notebooks/hybrid-search/notebook.ipynb new file mode 100644 index 0000000..1ebd161 --- /dev/null +++ b/notebooks/hybrid-search/notebook.ipynb @@ -0,0 +1 @@ +{"cells":[{"cell_type":"markdown","id":"505a207d-82ee-406d-bb92-e6a6900d6d18","metadata":{},"source":["
\n"," | title | \n","description | \n","label | \n","
---|---|---|---|
0 | \n","World Briefings | \n","BRITAIN: BLAIR WARNS OF CLIMATE THREAT Prime M... | \n","World | \n","
1 | \n","Nvidia Puts a Firewall on a Motherboard (PC Wo... | \n","PC World - Upcoming chip set will include buil... | \n","Sci/Tech | \n","
2 | \n","Olympic joy in Greek, Chinese press | \n","Newspapers in Greece reflect a mixture of exhi... | \n","Sports | \n","
3 | \n","U2 Can iPod with Pictures | \n","SAN JOSE, Calif. -- Apple Computer (Quote, Cha... | \n","Sci/Tech | \n","
4 | \n","The Dream Factory | \n","Any product, any shape, any size -- manufactur... | \n","Sci/Tech | \n","
... | \n","... | \n","... | \n","... | \n","
1995 | \n","You Control: iTunes puts control in OS X menu ... | \n","MacCentral - You Software Inc. announced on Tu... | \n","Sci/Tech | \n","
1996 | \n","Argentina beat Italy for place in football final | \n","Favourites Argentina beat Italy 3-0 this morni... | \n","Sports | \n","
1997 | \n","NCAA case no worry for Spurrier | \n","Shortly after Steve Spurrier arrived at Florid... | \n","Sports | \n","
1998 | \n","Secret Service Busts Cyber Gangs | \n","The US Secret Service Thursday announced arres... | \n","Sci/Tech | \n","
1999 | \n","Stocks Flat; Higher Oil Limits Gains | \n","US stocks were little changed on Thursday as a... | \n","Business | \n","
2000 rows × 3 columns
\n","Action Required
\n","Make sure to select the news database from the drop-down menu at the top of this notebook. It updates the connection_url which is used by the %%sql magic command and SQLAlchemy to make connections to the selected database.\n","
\n","\n"," | title | \n","description | \n","genre | \n","score | \n","
---|---|---|---|---|
0 | \n","All Australians accounted for in Iraq: Downer ... | \n","AFP - Australia has accounted for all its nati... | \n","World | \n","0.445395 | \n","
1 | \n","Cricket: Aussies dominate India | \n","Australia tighten their grip on the third Test... | \n","World | \n","0.368577 | \n","
2 | \n","Man tried for UK student's murder | \n","The trial of a man accused of murdering York b... | \n","World | \n","0.350485 | \n","
3 | \n","Ponting doesn #39;t think much of Kiwis or win... | \n","RICKY PONTING believes the game #39;s watchers... | \n","Sports | \n","0.345483 | \n","
4 | \n","Hassan Body Found in Fallujah: Australian PM | \n","Australia #39;s prime minister says a body fou... | \n","World | \n","0.341777 | \n","
5 | \n","Aussie alive after capture in Iraq | \n","AUSTRALIAN journalist John Martinkus is lucky ... | \n","World | \n","0.334077 | \n","
6 | \n","A trio of television technologies | \n","AUSTRALIANS went into a television-buying fren... | \n","Sci/Tech | \n","0.332006 | \n","
7 | \n","Australia PM Gets Down to Work on Fourth Term ... | \n","Reuters - Australia's conservative Prime Minis... | \n","World | \n","0.324335 | \n","
8 | \n","Police pull body of lost autistic man, 46, fro... | \n","Canadian Press - OAKVILLE, Ont. (CP) - The bod... | \n","World | \n","0.322738 | \n","
9 | \n","Australia targeted for first time in Iraq car ... | \n","Australian troops in Baghdad came under attack... | \n","World | \n","0.321895 | \n","
\n"," | title | \n","description | \n","genre | \n","semantic_score | \n","keyword_score | \n","combined_score | \n","
---|---|---|---|---|---|---|
0 | \n","All Australians accounted for in Iraq: Downer ... | \n","AFP - Australia has accounted for all its nati... | \n","World | \n","0.445395 | \n","0.0 | \n","0.222698 | \n","
1 | \n","Cricket: Aussies dominate India | \n","Australia tighten their grip on the third Test... | \n","World | \n","0.368577 | \n","0.0 | \n","0.184289 | \n","
2 | \n","Man tried for UK student's murder | \n","The trial of a man accused of murdering York b... | \n","World | \n","0.350485 | \n","0.0 | \n","0.175242 | \n","
3 | \n","Ponting doesn #39;t think much of Kiwis or win... | \n","RICKY PONTING believes the game #39;s watchers... | \n","Sports | \n","0.345483 | \n","0.0 | \n","0.172742 | \n","
4 | \n","Hassan Body Found in Fallujah: Australian PM | \n","Australia #39;s prime minister says a body fou... | \n","World | \n","0.341777 | \n","0.0 | \n","0.170889 | \n","
5 | \n","Aussie alive after capture in Iraq | \n","AUSTRALIAN journalist John Martinkus is lucky ... | \n","World | \n","0.334077 | \n","0.0 | \n","0.167039 | \n","
6 | \n","A trio of television technologies | \n","AUSTRALIANS went into a television-buying fren... | \n","Sci/Tech | \n","0.332006 | \n","0.0 | \n","0.166003 | \n","
7 | \n","Australia PM Gets Down to Work on Fourth Term ... | \n","Reuters - Australia's conservative Prime Minis... | \n","World | \n","0.324335 | \n","0.0 | \n","0.162168 | \n","
8 | \n","Police pull body of lost autistic man, 46, fro... | \n","Canadian Press - OAKVILLE, Ont. (CP) - The bod... | \n","World | \n","0.322738 | \n","0.0 | \n","0.161369 | \n","
9 | \n","Australia targeted for first time in Iraq car ... | \n","Australian troops in Baghdad came under attack... | \n","World | \n","0.321895 | \n","0.0 | \n","0.160948 | \n","