Skip to content

krzysztoff1/spam-checker

Repository files navigation

SpamChecker

A NestJS-based API for detecting spam content using OpenAI's Structured Output and Vercel AI SDK.

Features

  • AI-powered spam detection
  • API key authentication for secure access

Setup

  1. Clone the repository:

    git clone https://github.com/your-username/spamchecker.git
    cd spamchecker
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file in the root directory and add the following:

    API_KEY=your_api_key_here
    OPENAI_API_KEY=your_openai_api_key_here
    

Running the app

  1. Start the development server:
    npm run start
    

About

NestJS API for validating user generated content using gpt-4o

Resources

Stars

Watchers

Forks