llm-api-engine  by developersdigest

API engine for LLM-powered data extraction

Created 7 months ago
732 stars

Top 47.3% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a framework for building and deploying AI-powered APIs that extract structured data from websites using natural language prompts. It targets developers and power users who need to quickly create custom data extraction endpoints without extensive coding, leveraging LLMs for schema generation and web scraping for data retrieval.

How It Works

The LLM API Engine utilizes a decoupled architecture. A Next.js frontend serves as the API builder interface, allowing users to describe data extraction needs in natural language. OpenAI's models automatically generate JSON schemas, and Firecrawl handles intelligent web scraping. Configurations are stored in Redis, enabling flexible deployment of consumable API endpoints on platforms like Cloudflare Workers, Vercel Edge Functions, or AWS Lambda.

Quick Start & Requirements

  • Install dependencies: npm install
  • Prerequisites: Node.js 18+, Upstash Redis account, OpenAI API key, Firecrawl API key, Serper API key.
  • Run development server: npm run dev
  • View application: http://localhost:3000
  • Documentation: [Not explicitly linked, but API endpoints are listed]

Highlighted Details

  • Natural language API creation and automatic schema generation via OpenAI.
  • Intelligent web scraping powered by Firecrawl.
  • Decoupled architecture for flexible deployment of API endpoints.
  • Redis-powered caching and storage.
  • Structured data output with JSON Schema validation.

Maintenance & Community

  • Project is actively in progress, with CRON functionality being a key focus.
  • No explicit community links (Discord/Slack) or notable contributors are mentioned in the README.

Licensing & Compatibility

  • MIT License.
  • Compatible with commercial use and closed-source linking.

Limitations & Caveats

CRON functionality for scheduled scraping is listed as "In Progress" and not yet implemented. Detailed implementation guides for various CRON options are also pending.

Health Check
Last Commit

7 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.