Skip to content

Trying to use guidance in Colab environment #261

Answered by taehallm
taehallm asked this question in Q&A
Discussion options

You must be logged in to vote

Solved it by importing openai package but I'm still confused.

import openai
openai.api_key = "YOUR_API_KEY"

I thought os.environ['OPENAI_API_KEY'] = "MY_API_KEY" would also work 😢

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rickbraddy-pharma
Comment options

@taehallm
Comment options

Answer selected by taehallm
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