Skip to main content

This package contains implementation of an AI-powered content analysis tool.

Project description

contentgenius: AI-powered content analysis tool

Overview

contentgenius is an AI-powered content analysis tool designed to help users understand and improve their content. It leverages state-of-the-art natural language processing (NLP) techniques to provide insights into various aspects of text, such as sentiment, topic, style, and readability.

Features

  • Analyze PDF content
  • Analyze text content
  • Analyze CSV content
  • Analyze PowerPoint content
  • Analyze YouTube videos
  • Analyze web pages
  • Analyze chat logs
  • Analyze source code files
  • Analyze software packages
  • Analyze MP3 audio files

Installation

To install contentgenius, follow these steps:

  1. Clone the repository:
git clone <repository_url>
  1. Navigate to the project directory:
cd contentgenius
  1. Create a virtual environment (recommended):
python3 -m venv venv
  1. Activate the virtual environment:
source venv/bin/activate
  1. Install the dependencies:
pip install -r requirements.txt

Usage

To use contentgenius, run the main script with the desired options:

python3 main.py <mode> --input <input_file> --analysis <analysis_type>
  • <mode>: The mode of analysis (e.g., analyze-pdf, analyze-text, etc.).
  • --input: Path to the input text file.
  • --prompt: The prompt/question to be asked to the LLM.

Example:

python3 main.py --input input.txt --prompt "What is the main idea ot the text?"

Configuration

contentgenius can be configured using a configuration file. The default configuration file is config.yaml. You can modify this file to customize the behavior of the tool.

Contributing

We welcome contributions to contentgenius! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Implement your changes.
  4. Write tests for your changes.
  5. Submit a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contentgenius-1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contentgenius-1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file contentgenius-1.tar.gz.

File metadata

  • Download URL: contentgenius-1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.4

File hashes

Hashes for contentgenius-1.tar.gz
Algorithm Hash digest
SHA256 d24a8f2056b46944ecce423e8d85c2fc79383ca4cf4e0fc6410e0f33b9b128a2
MD5 193905a3a79867d3cece7324d7ba779c
BLAKE2b-256 e0b54a3bdad2311a6ca6d34d9558c0d58d0150a009e162a1cf7d49b42703584a

See more details on using hashes here.

File details

Details for the file contentgenius-1-py3-none-any.whl.

File metadata

  • Download URL: contentgenius-1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.4

File hashes

Hashes for contentgenius-1-py3-none-any.whl
Algorithm Hash digest
SHA256 04da2f9b9723a7ab701509d4c580aca30043acad47c892ba08c5e2a9e568551e
MD5 0b6ffb1e63401a574edff5076f245e09
BLAKE2b-256 f3c578c9dd7ffe6688767436292cfaf89e59d8346a23d778b12056393fab336e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page