Skip to content

Commit

Permalink
Update GPT Index --> Llama Index (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
amorriscode authored Oct 1, 2023
1 parent 9986e5a commit 82567b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/intermediate/long_form_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ While some language models have limited context length, there are AI assistants,

## 6. Code libraries

Python libraries like [Llama Index](https://github.com/jerryjliu/llama_index) and [Langchain](https://github.com/langchain-ai/langchain) can be used to deal with long form content. In particular, GPT Index can "index" the content into smaller parts then perform a vector search to find which part of the content is most relevent, and solely use that. Langchain can perform recursive summaries over chunks of text in which in summarizes one chunk and includes that in the prompt with the next chunk to be summarized.
Python libraries like [Llama Index](https://github.com/jerryjliu/llama_index) and [Langchain](https://github.com/langchain-ai/langchain) can be used to deal with long form content. In particular, Llama Index can "index" the content into smaller parts then perform a vector search to find which part of the content is most relevent, and solely use that. Langchain can perform recursive summaries over chunks of text in which in summarizes one chunk and includes that in the prompt with the next chunk to be summarized.

## Conclusion

Dealing with long form content can be challenging, but by employing these strategies, you can effectively manage and navigate through the content with the assistance of language models. Remember to experiment, iterate, and refine your approach to determine the most effective strategy for your specific needs.
Dealing with long form content can be challenging, but by employing these strategies, you can effectively manage and navigate through the content with the assistance of language models. Remember to experiment, iterate, and refine your approach to determine the most effective strategy for your specific needs.

1 comment on commit 82567b3

@vercel
Copy link

@vercel vercel bot commented on 82567b3 Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

learn-prompting – ./

learn-prompting-git-main-trigaten.vercel.app
learn-prompting-trigaten.vercel.app
learn-prompting.vercel.app

Please sign in to comment.