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> --prompt <prompt> --output <output_file>
  • <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.
  • --output: Path to the output text file.

Example:

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

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.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.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contentgenius-1.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.1.tar.gz
Algorithm Hash digest
SHA256 df22c19fd6ea9e999916b6913bcdeab2a3834af69ef16989a38f0c0ca2e1b7c9
MD5 9933ef0be84520072e7763d281d8bbb2
BLAKE2b-256 f1b8046c70496ab4b41078c9efe38272dfeef5ae30ae7524532f63adf57da9b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contentgenius-1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 442b7bdb614d3719352899ad21e2cb399319fc5eb71fbf79918fcac89847bc6f
MD5 25fd6af66d43e35bc42aa1ffe853d230
BLAKE2b-256 77aeae3c1e2d96cf1fa2bd6e315c7fa7a264c617781a44897444070e23b29ceb

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