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

Update getting-started-basic.mdx to add wait for extraction #839

Closed
wants to merge 1 commit into from

Conversation

rishiraj
Copy link
Contributor

No description provided.

@rishiraj rishiraj requested a review from diptanu August 14, 2024 22:35
@@ -293,7 +293,8 @@ def load_data(player):
docs = WikipediaLoader(query=player, load_max_docs=1).load()

for doc in docs:
client.add_documents("wiki_extraction_pipeline", doc.page_content)
content_id = client.add_documents("wiki_extraction_pipeline", doc.page_content)
client.wait_for_extraction(content_id)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this from here, and do this in the query script by first listing the content and then waiting on them.

@diptanu diptanu closed this Aug 30, 2024
@diptanu diptanu deleted the waitextraction branch August 30, 2024 21:57
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