Skip to content

ChristopherHaris/search-kana

Repository files navigation

Search Kana

Search Kana, a search engine with semantic search, using Upstash(vector database) and Cohere AI

Stack

  • 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

How to Install & Run

Follow these steps to install and run the application:

  1. Clone Repository:

    git clone https://github.com/ChristopherHaris/sakana-porto.git
    cd sakana-porto
  2. Install Dependencies:

    npm install
  3. 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
  4. Run the Application:

    npm run dev

The application will be accessible at localhost.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.