Skip to content

bug fix #269

New issue

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

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

Already on GitHub? # to your account

Merged
merged 18 commits into from
Jun 11, 2024
Merged

bug fix #269

merged 18 commits into from
Jun 11, 2024

Conversation

sunilemanjee
Copy link
Contributor

During @consulthys review of the nookbook, he found dup chunks were being printed out. fixed.

sunilemanjee and others added 17 commits June 3, 2024 22:54
commit of Fetch Surrounding Chunks python notebook
added !pip install pandas
fixed issue during checks.  installed  google.colab
Updated notebook to handle downloading required models such as elser and  sentence transformer minilm
var chapter_number was not initialized. Fixed.
bug chapter_number = None. forgot = sign
added es_model_id
remove es_model_id as it is not needed.
ini fetch-surrounding-chunks
dense_embedding_model_id was missing from query.  renamed.
for debugging changed max_chapter_chunk_result
added error handling
removed fetch surrounding chunks from doc chunking folder and into supporting blog content
added open in colab
Valentin Crettaz found during his review dup chunks were printed out.  fixed the issue.
Copy link

gitnotebooks bot commented Jun 10, 2024

Found 1 changed notebook. Review the changes at https://gitnotebooks.com/elastic/elasticsearch-labs/pull/269

@@ -39,13 +39,13 @@
},
Copy link
Member

Choose a reason for hiding this comment

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

Commented on notebook supporting-blog-content/fetch-surrounding-chunks/fetch-surrounding-chunks.ipynb Cell 5 Line 32

# Create the client instance
esclient = Elasticsearch(
    cloud_id=ELASTIC_CLOUD_ID,
    api_key=ELASTIC_API_KEY,
)
print(esclient.info())

contains UserWarning. suggest not commit this.

Respond and view the context here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joemcelroy thank you. Issue resolved and pushed. review requested.

Remove warnings from output
@sunilemanjee sunilemanjee merged commit 0282941 into elastic:main Jun 11, 2024
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants