Skip to content

EveripediaNetwork/nootropic

Repository files navigation

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