Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CV storage library #2

Open
wants to merge 5 commits into
base: staging
Choose a base branch
from
Open

CV storage library #2

wants to merge 5 commits into from

Conversation

itsfarseen
Copy link
Collaborator

No description provided.

Comment on lines -139 to +103
# Construct the MongoDB document
for section, context_vector in context_vectors:
document = {
"title": article["section_name"],
"context_vector": context_vector,
"header_name": section
}
collection.insert_one(document)
# TODO: section or article["section_name"]
# @nate please clarify
cv_db.insert(section, context_vector)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@nalane what is the difference between article["section_name"] and section? Do we need both or is just section fine?

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.

1 participant