Python Library

Use our easy-to-use Python wrapper in only a few lines of code.

Install

Run pip install geneplore_api to install it.

Use

from geneplore_api install api_sync as api
from api import ConversationMessage as Message

api.api_key = "YOUR API KEY" # Get this key by following the instructions in our Quickstart

print(api.Chat.OpenAI("gpt-3.5-turbo", [Message("user", "Hi! how are you?")])