Skip to content

Commit

Permalink
Updated package name to llama_index (run-llama#1127)
Browse files Browse the repository at this point in the history
Using llama_index instead of gpt_index
  • Loading branch information
abderrahmaneizri authored Apr 11, 2023
1 parent 114769d commit 137a13a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how_to/analysis/optimizers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ exploring ways to expand optimization capabilities to other areas, such as perfo
Here is a sample code snippet on comparing the outputs without optimization and with.

```python
from gpt_index import GPTSimpleVectorIndex
from gpt_index.optimization.optimizer import SentenceEmbeddingOptimizer
from llama_index import GPTSimpleVectorIndex
from llama_index.optimization.optimizer import SentenceEmbeddingOptimizer
# load from disk
index = GPTSimpleVectorIndex.load_from_disk('simple_vector_index.json')

Expand Down

0 comments on commit 137a13a

Please sign in to comment.