ai-detector
v0.0.4
Published
[![npm](https://img.shields.io/npm/v/ai-detector)](https://www.npmjs.com/package/ai-detector) [![Node.js Package](https://github.com/rsaryev/ai-detector/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/rsaryev/ai-detector/actions/workflows
Downloads
7
Readme
🧠 AI Detector
AI Detector is a command-line tool designed to analyze code and determine the likelihood that it was generated by an AI model. It leverages the power of OpenAI's API to evaluate code samples. Currently, the tool uses a general-purpose model, but it's expected that a specialized model for detecting AI-generated code will be introduced in the future, which will enhance the accuracy of the tool.
Usage
npx ai-detector [options]
or
bunx ai-detector [options]
Options
Options:
-V, --version output the version number
-f, --file <path> Analyze the specified file
-d, --dir <path> Analyze the specified directory
-r, --reset Reset the configuration
-h, --help display help for command