Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch Surrounding Chunks Notebook (elastic#261)
* Fetch Surrounding Chunks commit of Fetch Surrounding Chunks python notebook * added pip install pandas added !pip install pandas * added pip install google.colab fixed issue during checks. installed google.colab * updated notebook to use api key updated notebook to use api key instead of username and password similar to notebook here: https://colab.research.google.com/github/elastic/elasticsearch-labs/blob/main/notebooks/search/00-quick-start.ipynb#scrollTo=f38e0397 * Updated Notebook Updated notebook to handle downloading required models such as elser and sentence transformer minilm * updated notebook var var chapter_number was not initialized. Fixed. * updated notebook for chapter_number bug chapter_number = None. forgot = sign * updated noted added es_model_id * updated notebook remove es_model_id as it is not needed. * var ini ini fetch-surrounding-chunks * dense_embedding_model_id dense_embedding_model_id was missing from query. renamed. * update for debug for debugging changed max_chapter_chunk_result * updated notebook added error handling * Ini Push removed fetch surrounding chunks from doc chunking folder and into supporting blog content
- Loading branch information