0842310eba
The reranker examples configured a `reranker` block but called memory.search(...) without rerank=True. Memory.search() defaults rerank=False (mem0/memory/main.py:1333) and only reranks 'if rerank and self.reranker' (:1447), so reranking never ran: - cohere, zero_entropy, llm, sentence_transformer print result['rerank_score'], which doesn't exist unless reranking runs -> KeyError on copy-paste. - optimization (reranker benchmark) and custom-prompts (reranker-prompt test) silently measured un-reranked search. Add the missing rerank=True flag to every search meant to exercise the reranker.
Mintlify Starter Kit
Click on Use this template to copy the Mintlify starter kit. The starter kit contains examples including
- Guide pages
- Navigation
- Customizations
- API Reference pages
- Use of popular components
Development
Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command
npm i -g mintlify
Run the following command at the root of your documentation (where mint.json is)
mintlify dev
Publishing Changes
Install our Github App to auto propagate changes from your repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.
Troubleshooting
- Mintlify dev isn't running - Run
mintlify installit'll re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
mint.json