{"info":{"_postman_id":"cf066b0b-4d3c-443f-8324-95eb0d9bdc4d","name":"Heartfulness Literature  - Content Similarity Service","description":"<html><head></head><body><p>Simple experiment on heartfulness.org mission literature dataset.</p>\n<p>Applied Flair <a href=\"https://github.com/zalandoresearch/flair/blob/master/resources/docs/TUTORIAL_3_WORD_EMBEDDING.md\">Word</a> + <a href=\"https://github.com/zalandoresearch/flair/blob/master/resources/docs/TUTORIAL_5_DOCUMENT_EMBEDDINGS.md\">Document Embeddings</a> on a small subset of the given mission literature dataset. Then computed cosine similarity on the embedding vectors. Top 'k' elements from resulting vector are mapped with the content id's and sent back as 'Similar Content' in an REST API.</p>\n<h3 id=\"github-repo\">Github Repo</h3>\n<p><a href=\"https://github.com/rithinch/heartfulness-similar-content-service\">https://github.com/rithinch/heartfulness-similar-content-service</a></p>\n<h3 id=\"tech-stack\">Tech Stack</h3>\n<p>Tech Stack includes Python (<a href=\"https://github.com/pytorch/pytorch\">pytorch</a>, <a href=\"https://github.com/zalandoresearch/flair\">flair</a>, <a href=\"https://github.com/pandas-dev/pandas\">pandas</a>) + <a href=\"https://azure.microsoft.com/en-gb/services/machine-learning-service/\">Azure Machine Learning Service</a> for training in cloud and model deployment as webservice.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5756089","collectionId":"cf066b0b-4d3c-443f-8324-95eb0d9bdc4d","publishedId":"SVfGzCVu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-08-18T23:01:21.000Z"},"item":[{"name":"Query By Content ID","id":"2cbe936c-caf9-450b-9cb3-c5bbf47f1a2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 15\n}"},"url":"http://31d48104-0d5d-4576-9ebf-166026034a3f.eastus.azurecontainer.io/score","description":"<p>Pass in a content id (0-1999) and the service will return top 10 similar paragraphs with scores (including itself on top).</p>\n<p>For simplicity and demonstration purposes, content id's are kept the same as in the data.csv file.</p>\n","urlObject":{"protocol":"http","path":["score"],"host":["31d48104-0d5d-4576-9ebf-166026034a3f","eastus","azurecontainer","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"2cbe936c-caf9-450b-9cb3-c5bbf47f1a2b"},{"name":"Query by Search Text","id":"dae6856d-4bab-4c6e-a98f-57f8bbf13cec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"query\": \"The manifestation too has been a very long process covering a period of about 120,000 years time\"\n}"},"url":"http://31d48104-0d5d-4576-9ebf-166026034a3f.eastus.azurecontainer.io/score","description":"<p>Senario 3 - Pass in a query (words/sentences/paragraph)\nthe service will return top 10 similar paragraphs (JSON) with cosine similarity scores.</p>\n","urlObject":{"protocol":"http","path":["score"],"host":["31d48104-0d5d-4576-9ebf-166026034a3f","eastus","azurecontainer","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"dae6856d-4bab-4c6e-a98f-57f8bbf13cec"}],"event":[{"listen":"prerequest","script":{"id":"a5718c7b-ee0d-46a0-a5f5-f4a19dcfe1b6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9734a9a7-0a80-4150-ab17-12a480e86876","type":"text/javascript","exec":[""]}}]}