Modify sample code (#133)

This commit is contained in:
akmhmgc 2023-03-22 03:03:11 +09:00 committed by GitHub
parent ba3806b587
commit 7d6763fa40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ This loader designed to be used as a way to load data into [Llama Index](https:/
```python
import pickle
import os
from llama_index import GPTSimpleVectorIndex
assert (
os.getenv("OPENAI_API_KEY") is not None