Skip to main content

Empowering Conversations with Real-Time Facts

Project description


ContextPlus

ContextPlus

Empowering Conversations with Real-Time Facts

License GitHub forks GitHub stars

Report Bug · Request Feature

Overview

ContextPlus is a Python library designed to enhance conversations by providing real-time facts and information using large language models (LLMs). It operates completely on the CPU, making it accessible for integration into various applications without the need for specialized hardware.

Installation

To install ContextPlus, use the following pip command:

pip install contextplus

Usage

Import and use the context function from the contextplus library to integrate real-time factual data into your projects:

from contextplus import context

# Example usage
response = context("Who are the family members of Barack Obama?")
print(response)
>> The family of Barack Obama, the 44th president of the United States, is a prominent American family active in law, education, activism and politics. His immediate family includes his wife Michelle Obama and daughters Malia and Sasha. He often referred to his family during his candidacy and two terms as president. His family is of African-American heritage, descendants of Africans and Europeans of the colonial era and antebellum eras. Michelle Obama's family history traces from colonists and slavery in the South to Reconstruction.

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

contextplus-0.1.3.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

contextplus-0.1.3-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

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