Skip to content

[Feature | AI] Integrate AI Matching for Titles and Descriptions with TMDB API #40

Description

@AbreuHD

The goal of this issue is to integrate AI capabilities (ChatGPT or DeepSeek) into KuhakuAPI to improve the matching process between scraped website data (titles and descriptions) and the TMDB API. This feature will enhance data accuracy by intelligently associating scraped content with the correct TMDB entries.

Tasks to be completed

  • Evaluate and choose between ChatGPT and DeepSeek for AI-based matching.
  • Implement an AI-driven matching algorithm to:
    • Compare scraped movie/series titles and descriptions with TMDB data.
    • Handle variations in naming conventions and inconsistencies.
    • Provide confidence scores for matches.
  • Integrate the AI solution into the existing API workflow.
  • Test the AI matching accuracy against a sample dataset to ensure reliability.
  • Optimize API calls to minimize response times and reduce token usage costs.
  • Update documentation to include details about the AI integration.

Acceptance criteria

  • The AI successfully matches scraped content with TMDB entries with high accuracy.
  • The implementation does not significantly impact API performance.
  • Error handling and fallback mechanisms are in place for unmatched items.
  • Proper logging and monitoring are implemented to track AI performance.

Additional notes

Consider implementing caching strategies to reduce redundant AI processing and API calls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions