AI-News-Team / AI-News

AI written news articles... what could possibly go wrong!
0 stars 0 forks source link

`39` semantic searching #41

Closed aardhyn closed 1 year ago

aardhyn commented 1 year ago

Semantic Searching

Researching and implementing a prototype for semantic searching on articles

https://www.sbert.net/

The Docker environment takes a good 6-10 minutes to build, and has issues communicating with the server running on the host machine. Nothing Docker Compose can't solve later...

Todo

Execution

Build the database, start the server, and seed the database from the scraper.

Configure SEARCH_ENGINE_HOST and SEARCH_ENGINE_PORT in /server/.env. Use an unused port of your choice and localhost for the host.

Configure these same variables in /search/.env.

Run the search engine with

init.local.sh

Send your queries to the server with

/article.search?query=your search term here