llm-api-engine  by developersdigest

API engine for LLM-powered data extraction

created 6 months ago
726 stars

Top 48.6% on sourcepulse

GitHubView on GitHub
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

6 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
7 more.

firecrawl by mendableai

1.9%
44k
API service for turning websites into LLM-ready data
created 1 year ago
updated 1 day ago
Feedback? Help us improve.