The LangChain integration provides Chat and Embedding classes that automatically manage downloading models and starting servers.Install langchain-openai in your environment:
pip install langchain-openai
Only pip install packages in your conda environment once all other packages and their dependencies have been installed. For more information on installing pip packages in your conda environment, see Installing pip packages.
The AnacondaQuantizedLLM class is not currently supported due to llama.cpp limitations with the v1/completions endpoint. Use AnacondaQuantizedModelChat for chat completions and AnacondaQuantizedModelEmbeddings for embeddings.See llama.cpp discussion for details.
Here is a minimal setup example for using LangChain with Anaconda’s models:
from langchain.prompts import ChatPromptTemplatefrom anaconda_ai.integrations.langchain import AnacondaQuantizedModelChat, AnacondaQuantizedModelEmbeddingsprompt = ChatPromptTemplate.from_template("tell me a joke about {topic}")model = AnacondaQuantizedModelChat(model_name='meta-llama/llama-2-7b-chat-hf_Q4_K_M.gguf')chain = prompt | modelmessage = chain.invoke({'topic': 'python'})
To use an already running server, pass server/<server-name> as the model_name:
model = AnacondaQuantizedModelChat(model_name='server/my-server')
You can pass server configuration options using the extra_options parameter:
These options are passed directly to the inference server during startup.For more information on using the langchain-openai package, see the official documentation.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anaconda","description":"Guides, tutorials, and reference material for Anaconda's Python, data science, and AI tools","colors":{"primary":"#1d6cf7","light":"#1d6cf7","dark":"#96f778"},"logo":{"light":"https://mintcdn.com/anaconda-29683c67/s-9WR15r5rZoaPqb/logo/light.svg?fit=max\u0026auto=format\u0026n=s-9WR15r5rZoaPqb\u0026q=85\u0026s=5996719b8530aaf065dc1ee1f39b2e67","dark":"https://mintcdn.com/anaconda-29683c67/s-9WR15r5rZoaPqb/logo/dark.svg?fit=max\u0026auto=format\u0026n=s-9WR15r5rZoaPqb\u0026q=85\u0026s=db482b1eac6af589d234160a76de3400","href":"https://www.anaconda.com/docs/main"},"favicon":"https://mintcdn.com/anaconda-29683c67/p8JNFuYYvTL8gfpM/favicon.png?fit=max\u0026auto=format\u0026n=p8JNFuYYvTL8gfpM\u0026q=85\u0026s=51a585758330bbe8f1ea032113854252","api":{"playground":{"display":"simple"}},"background":{"color":{"light":"#f4f5f8","dark":"#10121a"}},"navbar":{},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/anacondainc","github":"https://github.com/ContinuumIO","youtube":"https://www.youtube.com/c/ContinuumIo"},"links":[{"header":"Company","items":[{"label":"Anaconda Newsletter","href":"https://www.anaconda.com/newsletter"}]}]},"seo":{"metatags":{"canonical":"https://www.anaconda.com/docs"}},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"ga4":{"measurementId":"G-VQTY6YKM6J"},"heap":{"appId":"758475466"}},"contextual":{"options":["claude","chatgpt","perplexity","cursor","vscode","add-mcp","copy"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anaconda-29683c67","hasAudioNarration":false,"actualSubdomain":"anaconda-29683c67","customDomains":["anaconda.com"],"gitSource":{"type":"github","owner":"anaconda","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae0aea648a2baadae90fe07","collectionId":"3739ae59-a4e4-4d84-9e10-01e8d36e1fa7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae0aea648a2baadae90fe07"},"feedback":{"thumbs":true,"contextualFeedback":{"allowEmail":true,"emailDisclaimer":"Your email will only be used to follow up on this feedback."}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae0aea648a2baadae90fe07","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Data Science \u0026 AI Workbench","count":240},{"language":"default","tag":"Anaconda Platform","count":150},{"language":"default","tag":"Package Security Manager","count":128},{"language":"default","tag":"Anaconda CLI","count":112},{"language":"default","tag":"Guides","count":105},{"language":"default","tag":"Anaconda CLI \u0026 MCP","count":104},{"language":"default","tag":"Plugins","count":93},{"language":"default","tag":"Commands","count":91},{"language":"default","tag":"Anaconda Desktop","count":86},{"language":"default","tag":"Platform Guides","count":86}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"support@anaconda.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","href":"/docs/_mintlify/custom/anaconda-29683c67/8e7e337189353d6a/custom.css"}],"page":{"pagePath":"cli-reference/anaconda-ai/integrations/langchain","slug":"/cli-reference/anaconda-ai/integrations/langchain","pageMetadata":{"title":"LangChain","searchDescription":"Use Anaconda AI models with LangChain for chat and embeddings.","keywords":["ai","navigator","sdk","langchain","integrations"],"description":null,"href":"/cli-reference/anaconda-ai/integrations/langchain"},"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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The LangChain integration provides Chat and Embedding classes that automatically manage downloading models and starting servers.`}),`\n`,_jsxs(_components.p,{children:[`Install `,_jsx(_components.code,{children:`langchain-openai`}),` in your environment:`]}),`\n`,_jsx(CodeBlock,{filename:``,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:` langchain-openai`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Only `,_jsx(_components.code,{children:`pip install`}),` packages in your conda environment once all other packages and their dependencies have been installed. For more information on installing pip packages in your conda environment, see `,_jsx(_components.a,{href:`/getting-started/working-with-conda/packages/pip-install#using-pip-install-in-a-conda-environment`,children:`Installing pip packages`}),`.`]})}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`AnacondaQuantizedLLM`}),` class is not currently supported due to llama.cpp limitations with the v1/completions endpoint. Use `,_jsx(_components.code,{children:`AnacondaQuantizedModelChat`}),` for chat completions and `,_jsx(_components.code,{children:`AnacondaQuantizedModelEmbeddings`}),` for embeddings.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`https://github.com/ggerganov/llama.cpp/discussions/9219`,children:`llama.cpp discussion`}),` for details.`]})]}),`\n`,_jsx(_components.p,{children:`Here is a minimal setup example for using LangChain with Anaconda’s models:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` langchain.prompts `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ChatPromptTemplate`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` anaconda_ai.integrations.langchain `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AnacondaQuantizedModelChat, AnacondaQuantizedModelEmbeddings`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`prompt `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ChatPromptTemplate.from_template(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tell me a joke about `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{topic}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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\":`#D4D4D4`},children:`model `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AnacondaQuantizedModelChat(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`model_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'meta-llama/llama-2-7b-chat-hf_Q4_K_M.gguf'`}),_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\":`#D4D4D4`},children:`chain `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` prompt `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` model`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`message `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` chain.invoke({`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'topic'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'python'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To use an already running server, pass `,_jsx(_components.code,{children:`server/\u003cserver-name>`}),` as the `,_jsx(_components.code,{children:`model_name`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`model `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AnacondaQuantizedModelChat(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`model_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'server/my-server'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can pass server configuration options using the `,_jsx(_components.code,{children:`extra_options`}),` parameter:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`model `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AnacondaQuantizedModelChat(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'meta-llama/llama-2-7b-chat-hf_Q4_K_M.gguf'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` extra_options`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ctx_size'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4096`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'n_gpu_layers'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'temperature'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`These options are passed directly to the inference server during startup.`}),`\n`,_jsxs(_components.p,{children:[`For more information on using the `,_jsx(_components.code,{children:`langchain-openai`}),` package, see the `,_jsx(_components.a,{href:`https://github.com/langchain-ai/langchain/blob/master/README.md`,children:`official documentation`}),`.`]})]})}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":"LangChain","searchDescription":"Use Anaconda AI models with LangChain for chat and embeddings.","keywords":["ai","navigator","sdk","langchain","integrations"],"description":null,"href":"/cli-reference/anaconda-ai/integrations/langchain"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/anaconda-29683c67/b738e1eb47e9934c/_transcend.js","/docs/_mintlify/custom/anaconda-29683c67/3ca111da84ffed5d/docs-dropdown-tooltip.js","/docs/_mintlify/custom/anaconda-29683c67/a3d1c2dd97aa6593/toc-indicator.js"],"subdomain":"anaconda-29683c67","siteName":"Anaconda","title":"LangChain - Anaconda","contextualStarterQuestions":[{"_id":"6ada7bbf1864d9f201476f60","deploymentId":"6781700c5f1e7d2ac00fcc4a","questionText":"How do I configure server options?","status":"active","generatedBy":"contextual","path":"cli-reference/anaconda-ai/integrations/langchain","createdAt":"2026-10-22T21:10:23.251Z","updatedAt":"2026-10-22T21:10:23.251Z","__v":0},{"_id":"6ada7bbf1864d9f201476f5f","deploymentId":"6781700c5f1e7d2ac00fcc4a","questionText":"What classes does LangChain provide?","status":"active","generatedBy":"contextual","path":"cli-reference/anaconda-ai/integrations/langchain","createdAt":"2026-10-22T21:10:23.251Z","updatedAt":"2026-10-22T21:10:23.251Z","__v":0},{"_id":"6ada7bbf1864d9f201476f5e","deploymentId":"6781700c5f1e7d2ac00fcc4a","questionText":"How do I install langchain-openai?","status":"active","generatedBy":"contextual","path":"cli-reference/anaconda-ai/integrations/langchain","createdAt":"2026-10-22T21:10:23.251Z","updatedAt":"2026-10-22T21:10:23.251Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T21:02:41.010Z","originalFileLocation":"cli-reference/anaconda-ai/integrations/langchain.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=\"application-name\" content=\"Anaconda\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_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=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"LangChain - Anaconda\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anaconda\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anaconda-29683c67.mintlify.app/_mintlify/api/og/v2?division=Integrations\u0026amp;title=LangChain\u0026amp;theme=a631e829865976b88c6af112\u0026amp;signature=8f4bddcdfcc5459e866f89b7e6ff192c84f8302b72bd4a50b0a449a08be11b3a\">\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=\"LangChain - Anaconda\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anaconda-29683c67.mintlify.app/_mintlify/api/og/v2?division=Integrations\u0026amp;title=LangChain\u0026amp;theme=a631e829865976b88c6af112\u0026amp;signature=8f4bddcdfcc5459e866f89b7e6ff192c84f8302b72bd4a50b0a449a08be11b3a\">\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=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anaconda\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1d6cf7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/cli-reference/anaconda-ai/integrations/langchain.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.anaconda.com/#organization\",\"name\":\"Anaconda\",\"url\":\"https://www.anaconda.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anaconda-29683c67/s-9WR15r5rZoaPqb/logo/light.svg?fit=max\u0026auto=format\u0026n=s-9WR15r5rZoaPqb\u0026q=85\u0026s=5996719b8530aaf065dc1ee1f39b2e67\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.anaconda.com/docs#website\",\"name\":\"Anaconda\",\"url\":\"https://www.anaconda.com/docs\",\"publisher\":{\"@id\":\"https://www.anaconda.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain#webpage\",\"url\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain\",\"name\":\"LangChain\",\"dateModified\":\"2026-10-22T21:02:41.010Z\",\"isPartOf\":{\"@id\":\"https://www.anaconda.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Plugins\",\"item\":\"https://www.anaconda.com/docs/cli-reference/anaconda-auth/getting-started\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"anaconda-ai\",\"item\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/getting-started\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Integrations\",\"item\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/sagemaker\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"LangChain\",\"item\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain#article\",\"headline\":\"LangChain\",\"name\":\"LangChain\",\"url\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain\",\"mainEntityOfPage\":{\"@id\":\"https://www.anaconda.com/docs/cli-reference/anaconda-ai/integrations/langchain#webpage\"},\"dateModified\":\"2026-10-22T21:02:41.010Z\",\"keywords\":\"ai, navigator, sdk, langchain, integrations\",\"publisher\":{\"@id\":\"https://www.anaconda.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.anaconda.com/docs#website\"}}]}\u003c/script>","siteName":"Anaconda","nav":{"global":null,"products":[{"product":"Anaconda Docs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/anaconda-29683c67/images/anaconda-icon.svg","pages":[{"title":"Anaconda Docs","href":"/main"}]},{"product":"Getting Started","icon":"rocket-launch","pages":[{"title":"Getting Started","href":"/getting-started/main"}]},{"product":"Anaconda.org","icon":"globe","pages":[{"title":"Anaconda.org","href":"/anaconda-org/key-features"}]},{"product":"Anaconda Desktop","icon":"desktop","pages":[{"title":"Anaconda Desktop","href":"/anaconda-desktop/key-features"}]},{"product":"Package Security Manager","icon":"shield-check","versions":[{"version":"6.8.0"},{"version":"6.7.2"},{"version":"6.7.1"},{"version":"6.7.0"},{"version":"6.6.5"},{"version":"6.6.4"},{"version":"6.6.3"},{"version":"6.6.2"},{"version":"6.6.1"},{"version":"6.6.0"},{"version":"6.5.3"},{"version":"6.5.2"},{"version":"6.5.1"},{"version":"6.4.0"},{"version":"6.3.1"},{"version":"6.3.0"},{"version":"6.2.0"},{"version":"6.1.9"},{"version":"6.1.8"},{"version":"6.1.7"},{"version":"6.1.6"},{"version":"6.1.4"}],"pages":[{"title":"Package Security Manager","href":"/anaconda-platform/main"}]},{"product":"Anaconda Platform","icon":"layer-group","pages":[{"title":"Anaconda Platform","href":"/platform/main"}]},{"product":"Data Science \u0026 AI Workbench","icon":"chart-network","versions":[{"version":"5.9.0"},{"version":"5.8.1"},{"version":"5.8.0"},{"version":"5.7.1"},{"version":"5.7.0"},{"version":"5.6.2"},{"version":"5.6.1"},{"version":"5.6.0"},{"version":"5.5.2"},{"version":"5.5.1"}],"pages":[{"title":"Data Science \u0026 AI Workbench","href":"/data-science/latest/main"}]},{"product":"Anaconda CLI \u0026 MCP","icon":"terminal","tabs":[{"tab":"Anaconda CLI","groups":[{"group":"Anaconda CLI","pages":[{"title":"Getting started","href":"/cli-reference/anaconda-cli/getting-started"},{"title":"Commands and configuration","sidebarTitle":"Commands","href":"/cli-reference/anaconda-cli/commands"},{"title":"Authentication","href":"/cli-reference/anaconda-cli/authentication"},{"title":"Update the CLI","sidebarTitle":"Self update","href":"/cli-reference/anaconda-cli/self-update"},{"title":"Anaconda CLI features","sidebarTitle":"Features","href":"/cli-reference/anaconda-cli/features"},{"title":"Install and manage tools","sidebarTitle":"Tools","href":"/cli-reference/anaconda-cli/tools"},{"title":"Configure MCP clients","sidebarTitle":"MCP","href":"/cli-reference/anaconda-cli/mcp"},{"title":"Troubleshooting","href":"/cli-reference/anaconda-cli/troubleshooting"},{"title":"Release notes","sidebarTitle":"Release notes","href":"/cli-reference/anaconda-cli/release-notes"}]},{"group":"CI/CD","pages":[{"title":"Anaconda GitHub Actions","href":"/cli-reference/anaconda-cli/github-actions"}]},{"group":"Plugins","pages":[{"group":"anaconda-auth","pages":[{"title":"Getting started","href":"/cli-reference/anaconda-auth/getting-started"},{"group":"Commands","root":{"title":"Command reference","href":"/cli-reference/anaconda-auth/commands/index"},"pages":[{"title":"anaconda auth login","sidebarTitle":"anaconda login","href":"/cli-reference/anaconda-auth/commands/login"},{"title":"anaconda auth logout","sidebarTitle":"anaconda logout","href":"/cli-reference/anaconda-auth/commands/logout"},{"title":"anaconda auth whoami","sidebarTitle":"anaconda whoami","href":"/cli-reference/anaconda-auth/commands/whoami"},{"title":"anaconda auth api-key","sidebarTitle":"anaconda api-key","href":"/cli-reference/anaconda-auth/commands/api-key"},{"group":"anaconda sites","root":{"title":"anaconda sites","sidebarTitle":"Subcommand reference","href":"/cli-reference/anaconda-auth/commands/sites"},"pages":[{"title":"anaconda sites list","sidebarTitle":"list","href":"/cli-reference/anaconda-auth/commands/sites-list"},{"title":"anaconda sites show","sidebarTitle":"show","href":"/cli-reference/anaconda-auth/commands/sites-show"},{"title":"anaconda sites add","sidebarTitle":"add","href":"/cli-reference/anaconda-auth/commands/sites-add"},{"title":"anaconda sites modify","sidebarTitle":"modify","href":"/cli-reference/anaconda-auth/commands/sites-modify"},{"title":"anaconda sites remove","sidebarTitle":"remove","href":"/cli-reference/anaconda-auth/commands/sites-remove"}]},{"group":"anaconda token","root":{"title":"anaconda token","sidebarTitle":"Subcommand reference","href":"/cli-reference/anaconda-auth/commands/token"},"pages":[{"title":"anaconda token install","sidebarTitle":"install","href":"/cli-reference/anaconda-auth/commands/token-install"},{"title":"anaconda token uninstall","sidebarTitle":"uninstall","href":"/cli-reference/anaconda-auth/commands/token-uninstall"},{"title":"anaconda token list","sidebarTitle":"list","href":"/cli-reference/anaconda-auth/commands/token-list"},{"title":"anaconda token config","sidebarTitle":"config","href":"/cli-reference/anaconda-auth/commands/token-config"},{"title":"anaconda token set","sidebarTitle":"set","href":"/cli-reference/anaconda-auth/commands/token-set"},{"title":"anaconda token remove","sidebarTitle":"remove","href":"/cli-reference/anaconda-auth/commands/token-remove"}]}]},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/cli-reference/anaconda-auth/troubleshooting"}]},{"group":"anaconda-client","pages":[{"title":"Getting started","href":"/cli-reference/anaconda-client/getting-started"},{"group":"Commands","root":{"title":"Command reference","href":"/cli-reference/anaconda-client/commands/index"},"pages":[{"title":"anaconda org groups","href":"/cli-reference/anaconda-client/commands/groups"},{"title":"anaconda org copy","href":"/cli-reference/anaconda-client/commands/copy"},{"title":"anaconda org download","href":"/cli-reference/anaconda-client/commands/download"},{"title":"anaconda org label","href":"/cli-reference/anaconda-client/commands/label"},{"title":"anaconda org auth","href":"/cli-reference/anaconda-client/commands/auth"},{"title":"anaconda org whoami","href":"/cli-reference/anaconda-client/commands/whoami"},{"title":"anaconda org update","href":"/cli-reference/anaconda-client/commands/update"},{"title":"anaconda org move","href":"/cli-reference/anaconda-client/commands/move"},{"title":"anaconda org config","href":"/cli-reference/anaconda-client/commands/config"},{"title":"anaconda org search","href":"/cli-reference/anaconda-client/commands/search"},{"title":"anaconda org package","href":"/cli-reference/anaconda-client/commands/package"},{"title":"anaconda org login","href":"/cli-reference/anaconda-client/commands/login"},{"title":"anaconda org remove","href":"/cli-reference/anaconda-client/commands/remove"},{"title":"anaconda org upload","href":"/cli-reference/anaconda-client/commands/upload"},{"group":"anaconda channel","root":{"title":"anaconda channel","sidebarTitle":"Subcommand reference","href":"/cli-reference/anaconda-client/commands/channel"},"pages":[{"title":"anaconda channel list","sidebarTitle":"list","href":"/cli-reference/anaconda-client/commands/channel-list"},{"title":"anaconda channel create","sidebarTitle":"create","href":"/cli-reference/anaconda-client/commands/channel-create"},{"title":"anaconda channel remove","sidebarTitle":"remove","href":"/cli-reference/anaconda-client/commands/channel-remove"},{"title":"anaconda channel show","sidebarTitle":"show","href":"/cli-reference/anaconda-client/commands/channel-show"},{"title":"anaconda channel modify","sidebarTitle":"modify","href":"/cli-reference/anaconda-client/commands/channel-modify"},{"title":"anaconda channel upload","sidebarTitle":"upload","href":"/cli-reference/anaconda-client/commands/channel-upload"},{"title":"anaconda channel remove-package","sidebarTitle":"remove-package","href":"/cli-reference/anaconda-client/commands/channel-remove-package"},{"title":"anaconda channel share","sidebarTitle":"share","href":"/cli-reference/anaconda-client/commands/channel-share"},{"title":"anaconda channel notice","sidebarTitle":"notice","href":"/cli-reference/anaconda-client/commands/channel-notice"}]},{"title":"anaconda org show","href":"/cli-reference/anaconda-client/commands/show"},{"title":"anaconda org logout","href":"/cli-reference/anaconda-client/commands/logout"}]},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/cli-reference/anaconda-client/troubleshooting"},{"title":"Release notes","href":"/cli-reference/anaconda-client/release-notes"}]},{"group":"anaconda-repo-cli","pages":[{"title":"Getting started","href":"/cli-reference/anaconda-repo-cli/getting-started"},{"group":"Commands","root":{"title":"Command reference","href":"/cli-reference/anaconda-repo-cli/commands/index"},"pages":[{"title":"anaconda repo whoami","href":"/cli-reference/anaconda-repo-cli/commands/whoami"},{"title":"anaconda repo channel","href":"/cli-reference/anaconda-repo-cli/commands/channel"},{"title":"anaconda repo search","href":"/cli-reference/anaconda-repo-cli/commands/search"},{"title":"anaconda repo upload","href":"/cli-reference/anaconda-repo-cli/commands/upload"},{"title":"anaconda repo download","href":"/cli-reference/anaconda-repo-cli/commands/download"},{"title":"anaconda repo copy","href":"/cli-reference/anaconda-repo-cli/commands/copy"},{"title":"anaconda repo move","href":"/cli-reference/anaconda-repo-cli/commands/move"},{"title":"anaconda repo remove","href":"/cli-reference/anaconda-repo-cli/commands/remove"},{"title":"anaconda repo admin","href":"/cli-reference/anaconda-repo-cli/commands/admin"},{"title":"anaconda repo policy","href":"/cli-reference/anaconda-repo-cli/commands/policy"},{"title":"anaconda repo service-accounts","href":"/cli-reference/anaconda-repo-cli/commands/service-accounts"},{"title":"anaconda repo mirror","href":"/cli-reference/anaconda-repo-cli/commands/mirror"},{"title":"anaconda repo cves","href":"/cli-reference/anaconda-repo-cli/commands/cves"},{"title":"anaconda repo sbom","href":"/cli-reference/anaconda-repo-cli/commands/sbom"},{"title":"anaconda repo report","href":"/cli-reference/anaconda-repo-cli/commands/report"},{"title":"anaconda repo system","href":"/cli-reference/anaconda-repo-cli/commands/system"},{"title":"anaconda repo wizard","href":"/cli-reference/anaconda-repo-cli/commands/wizard"}]},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/cli-reference/anaconda-repo-cli/troubleshooting"}]},{"group":"anaconda-ai","pages":[{"title":"Getting started","href":"/cli-reference/anaconda-ai/getting-started"},{"group":"Commands","root":{"title":"Command reference","href":"/cli-reference/anaconda-ai/commands/index"},"pages":[{"title":"anaconda ai models","sidebarTitle":"models","href":"/cli-reference/anaconda-ai/commands/models"},{"title":"anaconda ai download","sidebarTitle":"download","href":"/cli-reference/anaconda-ai/commands/download"},{"title":"anaconda ai remove","sidebarTitle":"remove","href":"/cli-reference/anaconda-ai/commands/remove"},{"title":"anaconda ai launch","sidebarTitle":"launch","href":"/cli-reference/anaconda-ai/commands/launch"},{"title":"anaconda ai servers","sidebarTitle":"servers","href":"/cli-reference/anaconda-ai/commands/servers"},{"title":"anaconda ai stop","sidebarTitle":"stop","href":"/cli-reference/anaconda-ai/commands/stop"},{"title":"anaconda ai launch-vectordb","sidebarTitle":"launch-vectordb","href":"/cli-reference/anaconda-ai/commands/launch-vectordb"},{"title":"anaconda ai stop-vectordb","sidebarTitle":"stop-vectordb","href":"/cli-reference/anaconda-ai/commands/stop-vectordb"},{"title":"anaconda ai delete-vectordb","sidebarTitle":"delete-vectordb","href":"/cli-reference/anaconda-ai/commands/delete-vectordb"},{"title":"anaconda ai list-tables","sidebarTitle":"list-tables","href":"/cli-reference/anaconda-ai/commands/list-tables"},{"title":"anaconda ai create-table","sidebarTitle":"create-table","href":"/cli-reference/anaconda-ai/commands/create-table"},{"title":"anaconda ai drop-table","sidebarTitle":"drop-table","href":"/cli-reference/anaconda-ai/commands/drop-table"},{"title":"anaconda ai config","sidebarTitle":"config","href":"/cli-reference/anaconda-ai/commands/config"},{"title":"anaconda ai version","sidebarTitle":"version","href":"/cli-reference/anaconda-ai/commands/version"}]},{"title":"Anaconda AI MCP","href":"/cli-reference/anaconda-ai/anaconda-ai-mcp"},{"group":"SDK","root":{"title":"Anaconda AI SDK Overview","href":"/cli-reference/anaconda-ai/sdk/overview"},"pages":[{"title":"Models","href":"/cli-reference/anaconda-ai/sdk/models"},{"title":"Servers","href":"/cli-reference/anaconda-ai/sdk/servers"},{"title":"Vector database","href":"/cli-reference/anaconda-ai/sdk/sdk-vectordb"}]},{"group":"Integrations","pages":[{"title":"Amazon SageMaker","description":null,"href":"/cli-reference/anaconda-ai/integrations/sagemaker"},{"title":"LangChain","href":"/cli-reference/anaconda-ai/integrations/langchain"},{"title":"LlamaIndex","description":null,"href":"/cli-reference/anaconda-ai/integrations/llamaindex"},{"title":"LiteLLM","href":"/cli-reference/anaconda-ai/integrations/litellm"},{"title":"DSPy","href":"/cli-reference/anaconda-ai/integrations/dspy"},{"title":"PydanticAI","href":"/cli-reference/anaconda-ai/integrations/pydanticai"},{"title":"Instructor","href":"/cli-reference/anaconda-ai/integrations/instructor"},{"title":"Panel","href":"/cli-reference/anaconda-ai/integrations/panel"},{"title":"LLM","href":"/cli-reference/anaconda-ai/integrations/llm"}]},{"title":"Release notes","href":"/cli-reference/anaconda-ai/release-notes"}]}]}]},{"tab":"Anaconda MCP","pages":[{"title":"Anaconda MCP","href":"/cli-reference/anaconda-mcp/main"}]}]},{"product":"Legacy applications","icon":"window-restore","pages":[{"title":"Legacy applications","href":"/legacy/anaconda-navigator/main"}]},{"product":"Reference","icon":"book","pages":[{"title":"Reference","href":"/reference/release-notes"}]},{"product":"Support \u0026 Troubleshooting","icon":"headset","pages":[{"title":"Support \u0026 Troubleshooting","href":"/reference/help-support"}]},{"product":"Repository Managers","hidden":true,"pages":[{"title":"Repository Managers","href":"/repo-managers/main"}]}]},"title":"LangChain - Anaconda","buildId":"dpl_AUojGTPodKNPTVaxVPcxnNvkSVqo","deploymentId":"dpl_AUojGTPodKNPTVaxVPcxnNvkSVqo","dynamics":[],"chunks":[]}