Skip to content

Commit

Permalink
Add semantic reranking notebook (#308)
Browse files Browse the repository at this point in the history
* Add semantic reranking notebook

* Move data to a file

* Improve text

* Add outputs

* Add notebooks to TOC

* Add to exempt notebooks

* Move reranking notebook to the non-testable list

* Add blurb on Cohere integr, fix API key placeholder

* Change title and filename
  • Loading branch information
demjened authored Aug 12, 2024
1 parent df9cc2d commit 26d07be
Show file tree
Hide file tree
Showing 5 changed files with 642 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Try out Playground in Kibana with the following notebooks:
- [`07-inference.ipynb`](./notebooks/search/07-inference.ipynb)
- [`08-learning-to-rank.ipynb`](./notebooks/search/08-learning-to-rank.ipynb)
- [`09-semantic-text.ipynb`](./notebooks/search/09-semantic-text.ipynb)
- [`10-semantic-reranking-retriever-cohere.ipynb`](./notebooks/search/10-semantic-reranking-retriever-cohere.ipynb)

### Integrations

Expand Down
3 changes: 2 additions & 1 deletion bin/find-notebooks-to-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ EXEMPT_NOTEBOOKS=(
"notebooks/esql/esql-getting-started.ipynb"
"notebooks/search/07-inference.ipynb"
"notebooks/search/08-learning-to-rank.ipynb"
"notebooks/search/10-semantic-reranking-retriever-cohere.ipynb"
"notebooks/images/image-similarity.ipynb"
"notebooks/langchain/langchain-vector-store.ipynb"
"notebooks/langchain/self-query-retriever-examples/chatbot-example.ipynb"
Expand Down Expand Up @@ -37,7 +38,7 @@ EXEMPT_NOTEBOOKS=(
# cannot run on that stack version or older
# Examples:
# EXEMPT_NOTEBOOKS__8 for notebooks that must be skipped on all versions 8.x and older
# EXEMPT_NOTEBOOKS__8_12 for notebooks that must skipped on versions 8.12 and older
# EXEMPT_NOTEBOOKS__8_12 for notebooks that must be skipped on versions 8.12 and older

EXEMPT_NOTEBOOKS__8_12=(
# Add any notebooks that must be skipped on versions 8.12 or older here
Expand Down
Loading

0 comments on commit 26d07be

Please sign in to comment.