That’s it! ✨ 🧙♂️ Enjoy debugging your Chroma applications using Langtrace.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Langtrace AI Docs","colors":{"primary":"#005FAF","light":"#07C983","dark":"#005FAF"},"favicon":"/favicon.svg","logo":{"light":"https://mintcdn.com/langtraceai-2/-UwpI0EgGcwfnnlh/logo/light.svg?fit=max\u0026auto=format\u0026n=-UwpI0EgGcwfnnlh\u0026q=85\u0026s=77c6fb15878e0a52eb6a033906f6b2d7","dark":"https://mintcdn.com/langtraceai-2/-UwpI0EgGcwfnnlh/logo/dark.svg?fit=max\u0026auto=format\u0026n=-UwpI0EgGcwfnnlh\u0026q=85\u0026s=a60dcf3a9343815b24001622e4758ce1"},"api":{"playground":{"display":"none"},"mdx":{"server":"https://app.langtrace.ai/api","auth":{"method":"key","name":"x-api-key"}}},"navbar":{"links":[{"label":"Support","href":"/contact/contact-us"}],"primary":{"type":"button","label":"Langtrace App","href":"https://langtrace.ai"}},"footer":{"socials":{"twitter":"https://twitter.com/langtrace_ai?utm_source=langtrace-docs\u0026utm_medium=footer\u0026utm_campaign=langtrace-docs","github":"https://github.com/Scale3-Labs/langtrace","discord":"https://discord.com/invite/EaSATwtr4t","youtube":"https://www.youtube.com/channel/UCmqi7fUaU4kslkXl2qZFjNw?utm_source=langtrace-docs\u0026utm_medium=footer\u0026utm_campaign=langtrace-docs"}},"integrations":{"ga4":{"measurementId":"G-CLZFYWTWJR"}},"navigation":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/Scale3-Labs/langtrace","icon":"github"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"langtraceai-2","hasAudioNarration":false,"actualSubdomain":"langtraceai-2","customDomains":["docs.langtrace.ai"],"gitSource":{"type":"github","owner":"scale3-labs","repo":"langtrace-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e68b4c43fec466d79d3e","collectionId":"8dfb5abd-1639-487f-ab00-fa42b75659e8","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e68b4c43fec466d79d3e:success","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Documentation","count":95},{"language":"default","tag":"Supported Integrations","count":52},{"language":"default","tag":"LLM Frameworks","count":15},{"language":"default","tag":"LLM \u0026 Tools","count":14},{"language":"default","tag":"Tracing","count":13},{"language":"default","tag":"Features","count":12},{"language":"default","tag":"Hosting","count":10},{"language":"default","tag":"Getting Started","count":8},{"language":"default","tag":"Observability Tools","count":8},{"language":"default","tag":"Vector Stores","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"supported-integrations/vector-stores/chromadb","slug":"/supported-integrations/vector-stores/chromadb","pageMetadata":{"title":"ChromaDB","description":"Chroma gives you the tools to store embeddings and their metadata.","href":"/supported-integrations/vector-stores/chromadb"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Chroma gives you the tools to store embeddings and their metadata.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,OptimizedFrame}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Chroma is a AI-native open-source vector database focused on developer productivity and happiness. Chroma is licensed under Apache 2.0.`}),`\n`,_jsx(OptimizedFrame,{width:`560`,height:`315`,src:`https://www.youtube.com/embed/DFgngVQ3hUM?si=Jr2LhsTAY7bR4Uh1`,title:`YouTube video player`,frameBorder:`0`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,referrerPolicy:`strict-origin-when-cross-origin`,allowFullScreen:true}),`\n`,_jsx(Heading,{level:`2`,id:`setup`,children:`Setup`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Install Langtrace’s SDK and `,_jsx(_components.a,{href:`/quickstart`,children:`initialize`}),` the SDK in your code.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Install Chroma with:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chromadb`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`yarn`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chromadb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chromadb-default-embed`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(_components.p,{children:`Here’s a quick example of how to use Langtrace with LlamaIndex:`}),`\n`,_jsx(CodeBlock,{filename:`Typescript SDK`,numberOfLines:`33`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`33`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` *`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Langtrace`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@langtrase/typescript-sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ChromaClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OpenAIEmbeddingFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"chromadb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Langtrace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`write_spans_to_console:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Promise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`void`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\tawait`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Langtrace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`withLangTraceRootSpan`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\t\tconst`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` ChromaClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\t\tconst`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` embedder`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OpenAIEmbeddingFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\topenai_api_key:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`OPENAI_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\tconsole`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`info`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Creating collection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\t\tconst`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` collection`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getOrCreateCollection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tname:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"test_collection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tembeddingFunction:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` embedder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\tconsole`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`info`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Adding documents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\t\tawait`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` collection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tids:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tmetadatas:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`source:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"my_source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`source:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"my_source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tdocuments:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This is a document\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This is another document\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\tconsole`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`info`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Querying documents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\t\tconst`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` results`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` collection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tnResults:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tqueryTexts:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This is a query document\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\tconsole`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`info`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`results`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t});`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`void`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"done\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://github.com/Scale3-Labs/langtrace-docs/blob/main/langtrace-examples/chroma-example/chroma-starter.py.ipynb`,children:`Python Notebook`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://colab.research.google.com/github/Scale3-Labs/langtrace-docs/blob/main/langtrace-examples/chroma-example/chroma-starter.py.ipynb`,children:`Google Collab`})}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`That’s it! ✨ 🧙♂️ Enjoy debugging your Chroma applications using Langtrace.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"ChromaDB","description":"Chroma gives you the tools to store embeddings and their metadata.","href":"/supported-integrations/vector-stores/chromadb"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Setup","slug":"setup","depth":2,"children":[]},{"title":"Usage","slug":"usage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"langtraceai-2","siteName":"Langtrace AI Docs","title":"ChromaDB - Langtrace AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T06:43:01.167Z","originalFileLocation":"supported-integrations/vector-stores/chromadb.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Chroma gives you the tools to store embeddings and their metadata.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Langtrace AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"ChromaDB - Langtrace AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Chroma gives you the tools to store embeddings and their metadata.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Langtrace AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://langtraceai-2.mintlify.app/_mintlify/api/og/v2?division=Vector+Stores\u0026amp;title=ChromaDB\u0026amp;description=Chroma+gives+you+the+tools+to+store+embeddings+and+their+metadata.\u0026amp;theme=503dfeefbdae18e039bc8205\u0026amp;signature=7867863953cb54eb5d37c2d880adeb4e43d1cd5ca9269884fb7b3c504b30cde7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"ChromaDB - Langtrace AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Chroma gives you the tools to store embeddings and their metadata.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://langtraceai-2.mintlify.app/_mintlify/api/og/v2?division=Vector+Stores\u0026amp;title=ChromaDB\u0026amp;description=Chroma+gives+you+the+tools+to+store+embeddings+and+their+metadata.\u0026amp;theme=503dfeefbdae18e039bc8205\u0026amp;signature=7867863953cb54eb5d37c2d880adeb4e43d1cd5ca9269884fb7b3c504b30cde7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/langtraceai-2/gZzt63U8gw8c3MYo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Langtrace AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#005FAF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/supported-integrations/vector-stores/chromadb.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.langtrace.ai/#organization\",\"name\":\"Langtrace AI Docs\",\"url\":\"https://docs.langtrace.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/langtraceai-2/-UwpI0EgGcwfnnlh/logo/light.svg?fit=max\u0026auto=format\u0026n=-UwpI0EgGcwfnnlh\u0026q=85\u0026s=77c6fb15878e0a52eb6a033906f6b2d7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.langtrace.ai#website\",\"name\":\"Langtrace AI Docs\",\"url\":\"https://docs.langtrace.ai\",\"publisher\":{\"@id\":\"https://docs.langtrace.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb#webpage\",\"url\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb\",\"name\":\"ChromaDB\",\"description\":\"Chroma gives you the tools to store embeddings and their metadata.\",\"dateModified\":\"2026-01-07T06:43:01.167Z\",\"isPartOf\":{\"@id\":\"https://docs.langtrace.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Supported Integrations\",\"item\":\"https://docs.langtrace.ai/supported-integrations/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChromaDB\",\"item\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb#article\",\"headline\":\"ChromaDB\",\"name\":\"ChromaDB\",\"description\":\"Chroma gives you the tools to store embeddings and their metadata.\",\"url\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb\",\"mainEntityOfPage\":{\"@id\":\"https://docs.langtrace.ai/supported-integrations/vector-stores/chromadb#webpage\"},\"dateModified\":\"2026-01-07T06:43:01.167Z\",\"publisher\":{\"@id\":\"https://docs.langtrace.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.langtrace.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Langtrace AI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Langtrace AI Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/Scale3-Labs/langtrace","icon":"github"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"How to Guides","href":"/how-to-guides"},{"title":"Concepts","href":"/concepts"},{"group":"SDK","pages":[{"title":"Langtrace Python SDK","sidebarTitle":"Python SDK","href":"/sdk/python_sdk"},{"title":"Langtrace Typescript SDK","sidebarTitle":"Typescript SDK","href":"/sdk/typescript_sdk"},{"title":"Langtrace SDK Features","sidebarTitle":"Features","href":"/sdk/sdk_features"}]},{"title":"FAQs","href":"/faqs"}]},{"group":"Tracing","pages":[{"title":"Tracing Overview","href":"/tracing/overview"},{"group":"Features","pages":[{"title":"Sending Traces","sidebarTitle":"Sending Traces","href":"/tracing/send_traces"},{"title":"Grouping Operations","sidebarTitle":"Grouping Traces","href":"/tracing/group_traces"},{"title":"Pass User Feedback","sidebarTitle":"Passing User Feedback","href":"/tracing/trace_user_feedback"},{"title":"Attach User IDs to Traces","sidebarTitle":"Attach User Id","href":"/tracing/attach_user_id"},{"title":"Attach Prompt IDs and Versions to Traces","sidebarTitle":"Attach Prompt Id / Version","href":"/tracing/attach_prompt_id"},{"title":"Add Additional Attributes to Traces","sidebarTitle":"Additional Attributes","href":"/tracing/additional_attributes"},{"title":"Disable Tracing For Functions","sidebarTitle":"Disable Function Tracing","href":"/tracing/disable_function_tracing"},{"title":"Disable Tracing For Specific Vendors","href":"/tracing/disable_vendor_instrumentation"},{"title":"Disable Tracing For Prompts \u0026 Completions","href":"/tracing/disable_prompt_\u0026_completions_tracing"},{"title":"Set custom span names to traces","sidebarTitle":"Set Custom Span Name","href":"/tracing/custom_span_naming"},{"title":"Filtering Traces by Session ID","sidebarTitle":"Filtering Traces by Session ID","href":"/tracing/filter_by_session_id"},{"title":null,"href":"/tracing/openai/chat-completion"}]}]},{"group":"Prompting","pages":[{"title":"Manage Prompts","sidebarTitle":"Manage Prompts","href":"/features/manage_prompts"},{"title":"Manage Zod Schema for Tool Calling","sidebarTitle":"Tool Calling Schema","href":"/features/manage_zod_schema"},{"title":"Model Playground","sidebarTitle":"Model Playground","href":"/features/playground"}]},{"group":"Evaluations \u0026 Testing","pages":[{"title":"Evaluations","href":"/features/evaluations"},{"title":"Compare Evaluations","href":"/features/compare-evaluations"},{"title":"Annotations","href":"/features/annotations"}]},{"group":"Supported Integrations","pages":[{"title":"Overview","href":"/supported-integrations/overview"},{"group":"LLM \u0026 Tools","pages":[{"title":"Anthropic","href":"/supported-integrations/llm-tools/anthropic"},{"title":"Arch","href":"/supported-integrations/llm-tools/arch"},{"title":"Azure-OpenAI","href":"/supported-integrations/llm-tools/azure-openai"},{"title":"Cerebras","href":"/supported-integrations/llm-tools/cerebras"},{"title":"Cohere","href":"/supported-integrations/llm-tools/cohere"},{"title":"DeepSeek","href":"/supported-integrations/llm-tools/deepseek"},{"title":"Gemini","href":"/supported-integrations/llm-tools/gemini"},{"title":"Groq","href":"/supported-integrations/llm-tools/groq"},{"title":"Mistral AI","href":"/supported-integrations/llm-tools/mistral-ai"},{"title":"KubeAI","href":"/supported-integrations/llm-tools/kubeai"},{"title":"Ollama","href":"/supported-integrations/llm-tools/ollama"},{"title":"OpenAI","href":"/supported-integrations/llm-tools/openai"},{"title":"Perplexity","href":"/supported-integrations/llm-tools/perplexity"},{"title":"xAI","href":"/supported-integrations/llm-tools/xai"}]},{"group":"LLM Frameworks","pages":[{"title":"LlamaIndex","href":"/supported-integrations/llm-frameworks/llamaindex"},{"title":"Langchain","href":"/supported-integrations/llm-frameworks/langchain"},{"title":"CrewAI","href":"/supported-integrations/llm-frameworks/crewai"},{"title":"DSPy","href":"/supported-integrations/llm-frameworks/dspy"},{"title":"Mem0","href":"/supported-integrations/llm-frameworks/mem0"},{"title":"OpenAI Agents SDK","href":"/supported-integrations/llm-frameworks/openai-agents-sdk"},{"title":"SwarmZero","sidebarTitle":"SwarmZero","href":"/supported-integrations/llm-frameworks/swarmzero"},{"title":"Vercel AI SDK","sidebarTitle":"Vercel AI","href":"/supported-integrations/llm-frameworks/vercelaisdk"},{"title":"LiteLLM","href":"/supported-integrations/llm-frameworks/litellm"},{"title":"AWS Bedrock","href":"/supported-integrations/llm-frameworks/bedrock"},{"title":"Graphlit","href":"/supported-integrations/llm-frameworks/graphlit"},{"title":"Guardrails","href":"/supported-integrations/llm-frameworks/guardrails"},{"title":"Agno","href":"/supported-integrations/llm-frameworks/agno"},{"title":"Cleanlab","href":"/supported-integrations/llm-frameworks/cleanlab"},{"title":"Neo4j GraphRAG","href":"/supported-integrations/llm-frameworks/neo4j-graphrag"}]},{"group":"Observability Tools","pages":[{"title":"Dash0","href":"/supported-integrations/observability-tools/dash0"},{"title":"Elastic APM","href":"/supported-integrations/observability-tools/elastic"},{"title":"Grafana Cloud","href":"/supported-integrations/observability-tools/grafana"},{"title":"SigNoz","href":"/supported-integrations/observability-tools/signoz"},{"title":"New Relic","href":"/supported-integrations/observability-tools/newrelic"},{"title":"Datadog","href":"/supported-integrations/observability-tools/datadog"},{"title":"Honeycomb","href":"/supported-integrations/observability-tools/honeycomb"},{"title":"IBM Instana","description":"Langtrace and IBM Instana Integration Guide","href":"/supported-integrations/observability-tools/ibm-instana"}]},{"group":"Vector Stores","pages":[{"title":"ChromaDB","href":"/supported-integrations/vector-stores/chromadb"},{"title":"Pinecone","description":"Pinecone is a vector database that enables fast and accurate vector search for building AI applications. It provides the infrastructure for the long-term memory and retrieval needed to develop state-of-the-art AI systems.","href":"/supported-integrations/vector-stores/pinecone"},{"title":"Qdrant","href":"/supported-integrations/vector-stores/qdrant"},{"title":"Weaviate","href":"/supported-integrations/vector-stores/weaviate"},{"title":"MongoDB Vector Search","href":"/supported-integrations/vector-stores/mongodb"},{"title":"Milvus Vector Database","href":"/supported-integrations/vector-stores/milvus"},{"title":"Neo4j","href":"/supported-integrations/vector-stores/neo4j"}]},{"group":"Web Frameworks","pages":[{"title":"FastAPI","href":"/supported-integrations/web-frameworks/fastapi"},{"title":"Flask","href":"/supported-integrations/web-frameworks/flask"},{"title":"Django","href":"/supported-integrations/web-frameworks/django"},{"title":"NextJS","href":"/supported-integrations/web-frameworks/nextjs"}]},{"group":"OTEL Exporters","pages":[{"title":"OTEL Configuration","sidebarTitle":"Configuration","href":"/supported-integrations/otel-support/otel-configuration"},{"title":"TypeScript SDK","href":"/supported-integrations/otel-support/ts-http-json"},{"title":"Python SDK","href":"/supported-integrations/otel-support/python-http-json"}]}]},{"group":"API Reference","pages":[{"group":"Project APIs","pages":[{"title":"POST Project","api":"POST /project","href":"/api-reference/project/POST-project"},{"title":"POST Project API Key","api":"POST /api-key","href":"/api-reference/project/POST-project-api-key"}]},{"group":"Prompt Registry APIs","pages":[{"title":"GET Prompt from Registry","api":"GET /promptset","href":"/api-reference/prompt-registry/GET-prompt-registry"}]},{"group":"Traces API","pages":[{"title":"POST Traces","api":"POST /traces","href":"/api-reference/traces/POST-traces"},{"title":"Send Trace","api":"POST /api/trace","href":"/api-reference/traces/POST-trace"}]}]},{"group":"Hosting","pages":[{"title":"Overview","href":"/hosting/overview"},{"title":"Authentication","href":"/hosting/auth"},{"title":"Langtrace Self-Hosting Configuration","sidebarTitle":"Configuration","href":"/hosting/using_local_setup"},{"title":null,"href":"/hosting/traces_retention"},{"title":"Recommended Configurations","href":"/hosting/recommended_configurations"},{"group":"Hosting Options","pages":[{"title":"Docker Setup","sidebarTitle":"Docker","href":"/hosting/hosting_options/docker-standalone"},{"title":"Docker Compose Setup","sidebarTitle":"Docker Compose","href":"/hosting/hosting_options/docker-compose"},{"title":"Langtrace on Kubernetes","sidebarTitle":"Kubernetes","href":"/hosting/hosting_options/kubernetes"},{"title":"Langtrace Setup on Azure","sidebarTitle":"Azure","href":"/hosting/hosting_options/azure"},{"title":"Langtrace on Railway","sidebarTitle":"Railway","href":"/hosting/hosting_options/railway"}]}]},{"group":"Contact Us","pages":[{"title":"Contact Us","sidebarTitle":"Contact Us","href":"/contact/contact-us"}]}]}]},"basePath":"","title":"ChromaDB - Langtrace AI Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":[],"chunks":[]}