Empowering Conversations with Real-Time Facts
Project description
ContextPlus
Empowering Conversations with Real-Time Facts
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
Built Distribution
File details
Details for the file contextplus-0.1.4.tar.gz
.
File metadata
- Download URL: contextplus-0.1.4.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9168633e4895469713cb732ca35fb1fee9caa11cc447a367b32bee873f0713 |
|
MD5 | b122625c0ba443bd03bd69c357e08495 |
|
BLAKE2b-256 | 2774a8635405eeea4a74b020a8bf93eba035e3ca0186671a3686bf2ccf0a63e4 |
File details
Details for the file contextplus-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: contextplus-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75af0e4fb03d0a1c36a88100de5097f2f3f333a8a54a8ea86e9f069feb12d06 |
|
MD5 | 4884a69f3412e3e54606be6d744a5245 |
|
BLAKE2b-256 | 833ce1813f09ca5ca3615935f8fbd971c5691f19188d409e97144fc7c13c61c4 |