Skip to content

Commit 7d07e1e

Browse files
committed
Update changelog
1 parent d267c0e commit 7d07e1e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/changelog.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,10 @@ from bertopic import BERTopic
214214
tokenizer= tiktoken.encoding_for_model("gpt-3.5-turbo")
215215

216216
# Create your representation model
217-
openai.api_key = MY_API_KEY
217+
client = openai.OpenAI(api_key="sk-...")
218218
representation_model = OpenAI(
219-
model="gpt-3.5-turbo",
219+
client,
220+
model="gpt-3.5-turbo",
220221
delay_in_seconds=2,
221222
chat=True,
222223
nr_docs=4,

0 commit comments

Comments
 (0)