![SCR-20240703-khki](https://private-user-images.githubusercontent.com/56629705/345279954-132c6228-6551-48d2-bd7b-15e6a05fde23.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNzkxMDAsIm5iZiI6MTcyNTE3ODgwMCwicGF0aCI6Ii81NjYyOTcwNS8zNDUyNzk5NTQtMTMyYzYyMjgtNjU1MS00OGQyLWJkN2ItMTVlNmEwNWZkZTIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDA4MjAwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlMTRiYTQxOGIzZWViYzdhODQ1NmJiMDZjYjU1MjM1Yzc0ZmFiOTU1MzczYTg0Y2M1NTg2ODI4ZDcyYWM4YjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AsWBEi3BwZZ9o8h19uosP03VNliAFUeDte8QUg9g3uQ)
An elegant hybrid search engine that significantly enhances search precision by seamlessly querying semantically related results using embedding AI models.
- Semantic Search Engine
- Tech Stack
- Installation
- Important
- Environment Variables
- Starting the Development Server
- Contributing
- Live Preview
- TypeScript
- Next.js
- Tailwind CSS
- Drizzle
- PostgreSQL
- VectorDB
- Hugging Face
Make sure you have Node.js installed on your machine.
Clone the repository:
git clone https://github.com/nyintosh/semantic-search.git
Navigate to the project directory:
cd semantic-search
Install dependencies: Run one of the following commands based on your preferred package manager:
- Using npm:
npm install
- Using yarn:
yarn install
- Using pnpm:
pnpm install
To run this locally, make sure you've set up a PostgreSQL database and obtained API keys for both Upstash Vector and Hugging Face. Alternatively, you can utilize similar technologies and update the configuration accordingly.
This project requires the following environment variables:
DATABASE_URL
UPSTASH_VECTOR_REST_URL
UPSTASH_VECTOR_REST_TOKEN
HF_TOKEN
Make sure to set these environment variables in your development environment.
To start the development server: Run one of the following commands based on your preferred package manager:
- Using npm:
npm run dev
- Using yarn:
yarn dev
- Using pnpm:
pnpm dev
Open your browser and navigate to http://localhost:3000 to see the app live.
If you want to add additional features and improvements, we welcome contributions! Please follow these guidelines:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
You can preview the live version of the project at https://nk-semantic-search.vercel.app.