Skip to content

Enhances conversation quality by dynamically integrating factual insights from Wikipedia into discussions across various topics

License

Notifications You must be signed in to change notification settings

Multi-Agent-LLMs/context-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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.

About

Enhances conversation quality by dynamically integrating factual insights from Wikipedia into discussions across various topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages