Code Monkey home page Code Monkey logo

factai's Introduction

FactAI: Intelligent Fact-Checking AI Service

Welcome to FactAI, an intelligent fact-checking service powered by advanced artificial intelligence. Developed and maintained by Zhiwei Fang, this project employs state-of-the-art algorithms designed for seamless integration with contemporary Python libraries. FactAI is designed as an AI service, optimized for on-premises platform deployments, offering a robust solution for your fact-checking needs.

Project Overview

FactAI employs a pre-trained model to discern the relationship between the title and body of an article. It outputs an estimation of this relationship in the form of probabilities across four categories: unrelated, discussing, agreeing, and disagreeing. These probabilities sum to one, with the highest value indicating the most likely relationship as determined by our AI model.

Deployment and Setup

FactAI leverages the power of Docker for consistent and seamless deployment. For every new commit to the master branch, our Continuous Integration/Continuous Deployment (CI/CD) pipeline automatically builds a Docker container. The container is then published on the Python package repository and is deployed on available hardware automatically upon a backend call from the fake-news-warning application.

To manually build and run the FactAI Docker container, follow these steps:

# Build the factai Docker image
docker build -t factai .

# Run the factai container, mapping the required ports externally
docker run -p 8020:8020 -p 8021:8021 -it factai bash

# Start the factai service
python3 run_factai_service.py --no-daemon

# Execute the test script
python3 test_factai_service.py

Thank you for your interest in FactAI. As the main author and developer, Zhiwei Fang believes in the power of AI to foster a more factual and informed world. We welcome your contributions and feedback as we continue to evolve and enhance this service.

factai's People

Contributors

pentilm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.