Search Kana, a search engine with semantic search, using Upstash(vector database) and Cohere AI
- NextJS - A flexible React framework that gives you building blocks to create fast, full-stack web applications
- CohereAI - Used for the embedding model
- Neon - The fully managed serverless Postgres
- Upstash - Vector database
Follow these steps to install and run the application:
-
Clone Repository:
git clone https://github.com/ChristopherHaris/sakana-porto.git cd sakana-porto
-
Install Dependencies:
npm install
-
Set Up Environment Variables:
Create a .env file in the root directory and configure the necessary environment variables. You can use .env.example as a template.
Example:
DATABASE_URL=YOUR_DATABASE_URL UPSTASH_VECTOR_REST_URL=REST_URL UPSTASH_VECTOR_REST_TOKEN=REST_TOKEN COHERE_API_KEY=YOUR_COHERE_API_KEY
-
Run the Application:
npm run dev
The application will be accessible at localhost.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.