-
Couldn't load subscription status.
- Fork 252
Adds Cohere inference service notebook #204
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
Conversation
Found 2 changed notebooks. Review the changes at https://gitnotebooks.com/elastic/elasticsearch-labs/pull/204
@szabosteve Hey, you may want to add this notebook to the testing exception list on this file, since we are unable to run tests for notebooks that depend on third-party services at this time.
Thanks for the info, @miguelgrinberg! I've added the notebook to the exempt list via d760dd4.
Hey @szabosteve - could you move this notebook to a new folder called cohere please? https://github.com/elastic/elasticsearch-labs/tree/main/notebooks/integrations
Also failing the pre-commit stage. take a look at contributing.md
@joemcelroy Yup, I did it via 6ece101. It seems the pre-commit hook is also passed.
Looks great, nice and clean! 👏
One open question about needing a paid Cohere account. If there is a workaround to use trial API keys, it might be worth considering. This would maximize accessibility. We already set the bar pretty high because you need an Elastic Cloud account.
Thanks for the review! I have a workaround that is a bit more complicated but makes the bulk request unnecessary, so users without a paid Cohere account can use it. I proposed adding it to the OpenAI notebook but the decision was to remove that option for more clarity.
Uh oh!
There was an error while loading. Please reload this page.
Overview
Related to https://github.com/elastic/search-docs-team/issues/71
This PR adds a Jupyter notebook that contains an end-to-end example of using the Inference API with the Cohere service.
It also makes some changes in the OpenAI notebook to make it more exact.
Preview
Open In Colab