adds warning to QA example code

This commit is contained in:
Ted Sanders
2022-10-24 13:46:57 -07:00
parent 37e0136ce0
commit e3d7091d70
4 changed files with 45 additions and 12 deletions

View File

@ -1,3 +1,9 @@
"""
Note: To answer questions based on text documents, we recommend the procedure in
[Question Answering using Embeddings](https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb).
Some of the code below may rely on [deprecated API endpoints](https://github.com/openai/openai-cookbook/tree/main/transition_guides_for_deprecated_API_endpoints).
"""
import argparse
import openai