Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.33 KB

README.md

File metadata and controls

45 lines (37 loc) · 1.33 KB
Logo

Instant IQ Boost for LLMs


PyPi License

Installation

pip install nootropic

Usage

from nootropic import Nootropic
from openai import OpenAI
from os import environ as env

client = OpenAI(
    api_key=env.get('OPENAI_API_KEY'),
)

# Wrap your client with Nootropic
client = Nootropic(
    client,
    # prefix='Prefix for every user message.',
    # postfix='Postfix for every user message.',
    # system='System prompt.',
    # disable_cache=False,
)

Supported SDKs