Skip to main content

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.

Metadata

Release files for contextplus 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contextplus 0.1.4
File Size Uploaded
contextplus-0.1.4.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for contextplus 0.1.4
File Interpreter ABI Platform
contextplus-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / contextplus-0.1.4.tar.gz

Download URL contextplus-0.1.4.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4c9168633e4895469713cb732ca35fb1fee9caa11cc447a367b32bee873f0713
BLAKE2b-256 checksum
How to use checksums
2774a8635405eeea4a74b020a8bf93eba035e3ca0186671a3686bf2ccf0a63e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / contextplus-0.1.4-py3-none-any.whl

Download URL contextplus-0.1.4-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c75af0e4fb03d0a1c36a88100de5097f2f3f333a8a54a8ea86e9f069feb12d06
BLAKE2b-256 checksum
How to use checksums
833ce1813f09ca5ca3615935f8fbd971c5691f19188d409e97144fc7c13c61c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page