# make sure rails is setup
gem install rails # output| import pymongo | |
| import time | |
| from sentence_transformers import SentenceTransformer | |
| from companies import names # list of company names in a separate python file | |
| ### DESCRIPTION | |
| """ | |
| Search against the Sphere dataset using vector search results fused with full text search results via reciprocal rank fusion. |
| import os | |
| import pymongo | |
| os.environ["OPENAI_API_KEY"] = '<openai API key>' | |
| import openai | |
| ### SETUP |
| var Deck = { | |
| reset: function() { | |
| this.size = 0 | |
| this.cards = [] | |
| while(this.size < 81) { | |
| this.cards.push(Card.new(this.size)) | |
| this.size += 1 | |
| } | |
| this.shuffle() |