jjleng/sensei
À propos
Une autre alternative open source à Perplexity
Autres projetsProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalSensei Search
Sensei Search is an AI-powered answer engine.
📸 Screenshots
Light Mode
Dark Mode
💡 Insights from Utilizing Open Source LLMs
The key takeaways and experiences of working with open source Large Language Models are summarized in a detailed discussion. For more information, you can read the full discussion on Reddit:
🛠️ Tech Stack
Sensei Search is built using the following technologies:
- Frontend: Next.js, Tailwind CSS
- Backend: FastAPI, OpenAI client
- LLMs: Command-R, Qwen-2-72b-instruct, WizardLM-2 8x22B, Claude Haiku, GPT-3.5-turbo
- Search: SearxNG, Bing
- Memory: Redis
- Deployment: AWS, Paka
🏃♂️ How to Run Sensei Search
You can run Sensei Search either locally on your machine or in the cloud.
Running Locally
Follow these steps to run Sensei Search locally:
Prepare the backend environment:
cd sensei_root_folder/backend/ mv .env.development.example .env.developmentEdit
.env.developmentas needed. The example environment assumes you run models through Ollama. Make sure you have reasonably good GPUs to run the command-r/Qwen-2-72b-instruct/WizardLM-2 8x22B model.No need to do anything for the frontend.
Run the app with the following command:
cd sensei_root_folder/ docker compose upOpen your browser and go to http://localhost:3000
Running in the Cloud
We deploy the app to AWS using paka. Please note that the models require GPU instances to run.
Before you start, make sure you have:
- An AWS account
- Requested GPU quota in your AWS account
The configuration for the cluster is located in the cluster.yaml file. You'll need to replace the HF_TOKEN value in cluster.yaml with your own Hugging Face token. This is necessary because the mistral-7b and command-r models require your account to have accepted their terms and conditions.
Follow these steps to run Sensei Search in the cloud:
Install paka:
pip install pakaProvision the cluster in AWS:
make provision-prodDeploy the backend:
make deploy-backendDeploy the frontend:
make deploy-frontendGet the URL of the frontend:
paka function listOpen the URL in your browser.
Explorer des projets similaires
Chargement…