Skip to content

Add llama index to summarise long texts#7

Open
synim-sogody wants to merge 3 commits intomainfrom
feat/llama-index
Open

Add llama index to summarise long texts#7
synim-sogody wants to merge 3 commits intomainfrom
feat/llama-index

Conversation

@synim-sogody
Copy link
Contributor

@synim-sogody synim-sogody commented Apr 26, 2023

A rough patch to use Llama Index for long texts. Should resolve #3.
Pinecone is still WIP.

@synim-sogody synim-sogody requested a review from ttomor April 26, 2023 09:28
indexer.py Outdated

index = GPTSimpleVectorIndex.from_documents(documents)

# if PINECONE_INDEX_NAME != None and PINECONE_API_KEY != None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe stash this for later use so that we don't keep commented code in this repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good, will add Pinecone in a different branch 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Has been addressed with the latest commit changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Message you submitted was too long

2 participants

Comments