mirror of
https://github.com/run-llama/llama-hub.git
synced 2025-11-07 05:14:42 +00:00
Modify sample code (#133)
This commit is contained in:
parent
ba3806b587
commit
7d6763fa40
@ -43,6 +43,7 @@ This loader designed to be used as a way to load data into [Llama Index](https:/
|
|||||||
```python
|
```python
|
||||||
import pickle
|
import pickle
|
||||||
import os
|
import os
|
||||||
|
from llama_index import GPTSimpleVectorIndex
|
||||||
|
|
||||||
assert (
|
assert (
|
||||||
os.getenv("OPENAI_API_KEY") is not None
|
os.getenv("OPENAI_API_KEY") is not None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user