Skip to content
Discussion options

You must be logged in to vote

Apologies, we definitely need to update the documentation here. The best way to suppress all output is to set echo=False in the init of the model:

gpt = models.OpenAI("gpt-4", api_key=api_key, echo=False)
with system():
    lm = gpt + system_message

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gagb
Comment options

Answer selected by gagb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants