Skip to content

Commit

Permalink
deploy: 4e8447f
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed Oct 27, 2024
1 parent 21d3da2 commit 3eeea97
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 64 deletions.
15 changes: 8 additions & 7 deletions faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2281,12 +2281,13 @@ <h2 id="frequently-asked-questions">Frequently Asked Questions<a class="headerli
<h3 id="distances-and-similarity">Distances and Similarity<a class="headerlink" href="#distances-and-similarity" title="Permanent link">&para;</a></h3>
<p>Chroma uses distance metrics to measure how dissimilar a result is from a query. A distance of 0 indicates that the two items are identical, while larger distances indicate greater dissimilarity. This approach starts at 0 and increases upward, aligning with the intuitive notion of distance.</p>
<p>In contrast, similarity metrics measure how similar two items are, often on a scale where higher values represent greater similarity. For example:</p>
<div class="language-text highlight"><pre><span></span><code>• Cosine Similarity ranges from -1 to 1, where:
• 1 indicates identical orientation (maximum similarity),
• 0 indicates orthogonality (no similarity),
• -1 indicates opposite orientation (maximum dissimilarity).
• Dot Product can range from negative to positive infinity, depending on the vectors’ magnitudes and directions. When vectors are normalized and non-negative, the dot product ranges from 0 to 1.
</code></pre></div>
<ul>
<li>Cosine Similarity ranges from -1 to 1, where:</li>
<li>1 indicates identical orientation (maximum similarity),</li>
<li>0 indicates orthogonality (no similarity),</li>
<li>-1 indicates opposite orientation (maximum dissimilarity).</li>
<li>Dot Product can range from negative to positive infinity, depending on the vectors' magnitudes and directions. When vectors are normalized and non-negative, the dot product ranges from 0 to 1.</li>
</ul>
<h4 id="why-does-chroma-use-distance-metrics">Why Does Chroma Use Distance Metrics?<a class="headerlink" href="#why-does-chroma-use-distance-metrics" title="Permanent link">&para;</a></h4>
<p>Chroma uses distance metrics because they provide a straightforward way to quantify dissimilarity between vectors. Consistency is another key aspect - irrespecitve of the distance metric used, distance results follow the same conceptual framework. Finally, distance is is an intuitive metric which makes Chroma more accessible to a wider audience.</p>
<h3 id="what-does-chroma-use-to-index-embedding-vectors">What does Chroma use to index embedding vectors?<a class="headerlink" href="#what-does-chroma-use-to-index-embedding-vectors" title="Permanent link">&para;</a></h3>
Expand Down Expand Up @@ -2561,7 +2562,7 @@ <h3 id="adding-documents-is-slow">Adding documents is slow<a class="headerlink"
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 15, 2024</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 27, 2024</span>
</span>


Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

112 changes: 56 additions & 56 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,226 +2,226 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://cookbook.chromadb.dev/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/contributing/getting-started/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/contributing/useful-shortcuts/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/api/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/clients/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/collections/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/concepts/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/configuration/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/document-ids/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/filters/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/install/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/resources/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/storage-layout/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/system_constraints/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/tenants-and-databases/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/advanced/queries/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/advanced/wal-pruning/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/core/advanced/wal/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/ecosystem/clients/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/embeddings/bring-your-own-embeddings/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/embeddings/cross-encoders/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/embeddings/embedding-models/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/embeddings/gpu-support/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/faq/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/langchain/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/langchain/embeddings/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/langchain/retrievers/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/llamaindex/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/llamaindex/embeddings/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/ollama/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/integrations/ollama/embeddings/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/running/deployment-patterns/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/running/health-checks/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/running/performance-tips/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/running/road-to-prod/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/running/running-chroma/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/running/systemd-service/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/security/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/security/auth/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/security/chroma-ssl-cert/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/security/ssl-proxies/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/backup/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/batching/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/cors/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/keyword-search/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/memory-management/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/multi-category-filters/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/privacy/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/rebuilding/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/time-based-queries/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/multi-tenancy/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/multi-tenancy/authorization-model-impl-with-openfga/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/multi-tenancy/authorization-model-with-openfga/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/multi-tenancy/multi-user-basic-auth/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
<url>
<loc>https://cookbook.chromadb.dev/strategies/multi-tenancy/naive-multi-tenancy/</loc>
<lastmod>2024-10-26</lastmod>
<lastmod>2024-10-27</lastmod>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 3eeea97

Please sign in to comment.