Skip to content

added pinecone upserting helper#30

Open
anacis wants to merge 2 commits intomainfrom
reverse_prompt
Open

added pinecone upserting helper#30
anacis wants to merge 2 commits intomainfrom
reverse_prompt

Conversation

@anacis
Copy link
Copy Markdown
Collaborator

@anacis anacis commented Jan 26, 2024

useful function if we want to try any other db experiements

PINECONE_API_KEY= os.getenv('PINECONE_API_KEY')
DIMENSION = 768

def get_docs(doc_dir):
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

There's a pinecone notebook already in the repo. Should we add this there instead?

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.

2 participants