An embedding is a vectorized numerical representation of data, where the relatedness between different pieces of information is captured through measurable distances. These embeddings are commonly used in applications such as recommendation systems, classification, and search.
This feature is available for SambaStack users only. E5-Mistral-7B-Instruct is not available on SambaCloud.
The Mistral embedding model powers our system, providing high-quality vector representations for various applications.For setup and integration:
The SambaNova Embeddings API is designed for seamless integration with existing applications and follows OpenAI’s embeddings API structure, simplifying migration and adoption.The model takes in text as input and outputs a vector of floating-point numbers, which can be used for tasks like similarity searches.
Generating a single embedding
To generate an embedding for a single input text, use client.embeddings.create() with the model name and input string.
Example
from sambanova import SambaNovaclient = SambaNova( base_url="your-sambanova-base-url", api_key="your-sambanova-api-key",)response = client.embeddings.create( model="E5-Mistral-7B-Instruct", input="The quick brown fox jumps over the lazy dog")print(response)
from openai import OpenAIclient = OpenAI( base_url="your-sambanova-base-url", api_key="your-sambanova-api-key",)response = client.embeddings.create( model="E5-Mistral-7B-Instruct", input="The quick brown fox jumps over the lazy dog")print(response)
To generate embeddings for multiple inputs in a single request, pass an array of input strings to the input parameter.
Example
from sambanova import SambaNovaclient = SambaNova( base_url="your-sambanova-base-url", api_key="your-sambanova-api-key",)response = client.embeddings.create( model="E5-Mistral-7B-Instruct", input=[ "Our solar system orbits the Milky Way galaxy at about 515,000 mph", "Jupiter's Great Red Spot is a storm that has been raging for at least 350 years." ])print(response)
from openai import OpenAIclient = OpenAI( base_url="your-sambanova-base-url", api_key="your-sambanova-api-key",)response = client.embeddings.create( model="E5-Mistral-7B-Instruct", input=[ "Our solar system orbits the Milky Way galaxy at about 515,000 mph", "Jupiter's Great Red Spot is a storm that has been raging for at least 350 years." ])print(response)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SambaNova Documentation","colors":{"primary":"#974FC7","light":"#974FC7","dark":"#974FC7"},"logo":{"light":"https://mintcdn.com/sambanova-systems/SM8Xs_Eg3x1tlCPk/logo/new-logo.png?fit=max\u0026auto=format\u0026n=SM8Xs_Eg3x1tlCPk\u0026q=85\u0026s=20f20c2369b8f043d9b2ffa55408fd8d","dark":"https://mintcdn.com/sambanova-systems/Jn3W9iRFUNw6zFv7/logo/new-logo-dark.png?fit=max\u0026auto=format\u0026n=Jn3W9iRFUNw6zFv7\u0026q=85\u0026s=660233c9a1affaf1ed08785472551190","href":"https://sambanova.ai"},"favicon":"https://mintcdn.com/sambanova-systems/tKEjjixpklKce6C2/favicon.webp?fit=max\u0026auto=format\u0026n=tKEjjixpklKce6C2\u0026q=85\u0026s=f345bba634c9e3c52db898e169393d6b","api":{"openapi":"https://raw.githubusercontent.com/sambanova/sambanova-inference-api-spec/refs/heads/main/openapi.documented.json","mdx":{"server":["https://api.sambanovacloud.com/"]}},"appearance":{"default":"system"},"background":{"color":{"light":"#f9fafb","dark":"#262626"}},"navbar":{"links":[{"href":"https://community.sambanova.ai","label":"Community"}],"primary":{"type":"button","label":"Try It Now","href":"https://cloud.sambanova.ai/?_gl=1*i3sino*_gcl_au*MzM0MDE5MzAwLjE3MjkwMTkyNzk.*_ga*MTk0NTY3NjQ1NC4xNzI5MDE5Mjg4*_ga_2D4J2VB6SX*MTcyOTA1ODE3OS4zLjAuMTcyOTA1ODE5Ni40My4wLjA."}},"footer":{"socials":{"youtube":"https://www.youtube.com/c/SambaNovaSystems/featured","x":"https://twitter.com/SambaNovaAI","linkedin":"https://www.linkedin.com/company/sambanova-systems"},"links":[{"header":"Company","items":[{"label":"About us","href":"https://sambanova.ai/company/about"},{"label":"Careers","href":"https://sambanova.ai/company/careers"},{"label":"Newsroom","href":"https://sambanova.ai/press"},{"label":"Contact us","href":"https://sambanova.ai/contact"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://sambanova.ai/resources/tag/blog"},{"label":"Case studies","href":"https://sambanova.ai/resources/tag/case-study"},{"label":"White papers","href":"https://sambanova.ai/resources/tag/white-paper"},{"label":"Events","href":"https://sambanova.ai/events"}]},{"header":"Developers","items":[{"label":"SambaAcademy","href":"https://sambanova.ai/samba-academy"},{"label":"Pricing","href":"https://cloud.sambanova.ai/plans/pricing"}]},{"header":"Support and legal","items":[{"label":"Support","href":"https://sambanova.ai/support"},{"label":"Legal agreements","href":"https://sambanova.ai/legal-agreements"},{"label":"Privacy policy","href":"https://sambanova.ai/privacy-policy"}]}]},"seo":{"paths":[{"path":"en/v0.5.17","metatags":{"robots":"noindex, follow"}},{"path":"ja/v0.5.17","metatags":{"robots":"noindex, follow"}},{"path":"en/v1.0.57","metatags":{"robots":"noindex, follow"}},{"path":"ja/v1.0.57","metatags":{"robots":"noindex, follow"}},{"path":"en/v1.1.1","metatags":{"robots":"noindex, follow"}},{"path":"ja/v1.1.1","metatags":{"robots":"noindex, follow"}},{"path":"en/v1.2.0","metatags":{"robots":"noindex, follow"}},{"path":"ja/v1.2.0","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.0.2","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.0.2","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.1.1","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.1.1","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.1.2","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.1.2","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.2.3","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.2.3","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.2.5","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.2.5","metatags":{"robots":"noindex, follow"}},{"path":"en/v2.2.6","metatags":{"robots":"noindex, follow"}},{"path":"ja/v2.2.6","metatags":{"robots":"noindex, follow"}}]},"styling":{"codeblocks":{},"latex":true},"integrations":{"ga4":{"measurementId":"G-J9NMQGJS7S"},"mixpanel":{"projectToken":"ae12e973ba11b9259ca8f76fc03db5e1"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sambanova-systems","hasAudioNarration":false,"actualSubdomain":"sambanova-systems","customDomains":["docs.sambanova.ai"],"gitSource":{"type":"github","owner":"sambanova","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false},"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":"6af6ed60e90c1f4f013ea583","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"SambaStack","count":593},{"language":"ja","tag":"SambaStack","count":526},{"language":"en","tag":"Hardware Administration","count":205},{"language":"en","tag":"Service Administration","count":203},{"language":"ja","tag":"ハードウェア管理","count":181},{"language":"ja","tag":"サービス管理","count":180},{"language":"en","tag":"SambaRack Manager","count":139},{"language":"ja","tag":"SambaRack Manager","count":121},{"language":"en","tag":"Model deployment","count":108},{"language":"ja","tag":"モデルデプロイ","count":92},{"language":"en","tag":"Integrations","count":81},{"language":"en","tag":"Reference Architecture","count":80},{"language":"ja","tag":"外部ツール連携","count":74},{"language":"en","tag":"Resources","count":73},{"language":"ja","tag":"リファレンスアーキテクチャ","count":70},{"language":"en","tag":"Monitoring and Observability","count":66},{"language":"ja","tag":"リソース","count":66},{"language":"ja","tag":"監視と可観測性","count":60},{"language":"en","tag":"Deploying models and bundles","count":42},{"language":"ja","tag":"プラットフォーム管理","count":35},{"language":"default","tag":"API reference","count":21},{"language":"default","tag":"Chat Agents API","count":11},{"language":"default","tag":"Inference API","count":10},{"language":"default","tag":"Subagents Interactive","count":4},{"language":"default","tag":"Subagents","count":4},{"language":"default","tag":"Audio","count":2},{"language":"default","tag":"Messages","count":2},{"language":"default","tag":"Models","count":2},{"language":"default","tag":"Chat completions","count":1},{"language":"default","tag":"Completions","count":1}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"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},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".logo-container{display:flex;align-items:center;justify-content:center;height:48px;margin-bottom:1rem}.logo-container img{max-width:100%;max-height:100%;width:auto;height:32px;object-fit:contain}.eyebrow{display:block;font-size:0.75rem;font-weight:500;text-transform:uppercase;color:#6B7280;margin-bottom:0.5rem;letter-spacing:0.05em}.page-description{display:none}.dark body,.dark p,.dark li,.dark td,.dark th,.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6{color:#E6E6E3}.dark [class*=\"muted\"],.dark [class*=\"secondary\"],.dark [class*=\"subtitle\"],.dark [class*=\"description\"]{color:#B3B3AE}.dark .card{background-color:#2e2e2e!important}#sidebar{background-color:#f3f4f6}.dark #sidebar{background-color:#202020}div:has(>#sidebar){padding-left:8px!important;padding-right:8px!important;margin-left:0!important;max-width:1680px!important}#content{max-width:880px!important}#navbar>.max-w-8xl{margin-left:0!important}#navbar div.lg\\:px-12{padding-left:24px!important}#navbar div.px-12{padding-left:24px!important}div:has(>#content-side-layout){gap:1.5rem!important}.prose p,.prose li,.prose>span,.prose .prose{font-size:14px!important;line-height:20px!important}#sidebar button svg{color:#4B5563!important;width:12px!important}.dark #sidebar button svg{color:#9CA3AF!important}#sidebar{border-right:1px solid rgba(0, 0, 0, 0.08)}.dark #sidebar{border-right:1px solid rgba(255, 255, 255, 0.08)}#sidebar button{justify-content:space-between!important}.itable{overflow-x:auto}.itable table{table-layout:fixed;width:100%}.itable th:first-child,.itable td:first-child{width:190px}@media (max-width: 640px){.itable table{table-layout:auto;width:auto;min-width:100%}.itable th:first-child,.itable td:first-child{width:auto}}.irow-hidden,.itable-hidden,.iheading-hidden{display:none}.integration-filter-input{display:block;width:100%;max-width:420px;font:inherit;font-size:14px;padding:10px 14px;border:1px solid rgba(0, 0, 0, 0.12);border-radius:8px;margin:4px 0 28px;background:transparent;color:inherit}.dark .integration-filter-input{border-color:rgba(255, 255, 255, 0.16)}"}],"page":{"pagePath":"en/features/embeddings","slug":"/en/features/embeddings","pageMetadata":{"sidebarTitle":"Embeddings","og:title":"Embeddings Implementation Guide - SambaNova Documentation","title":"Implement embeddings features","description":null,"href":"/en/features/embeddings"},"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`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`An embedding is a vectorized numerical representation of data, where the relatedness between different pieces of information is captured through measurable distances. These embeddings are commonly used in applications such as recommendation systems, classification, and search.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This feature is available for SambaStack users only. E5-Mistral-7B-Instruct is not available on SambaCloud.`})}),`\n`,_jsx(_components.p,{children:`The Mistral embedding model powers our system, providing high-quality vector representations for various applications.`}),`\n`,_jsx(_components.p,{children:`For setup and integration:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Get an API key from the `,_jsx(_components.a,{href:`/en/get-started/api-keys-urls`,children:`API keys and URLs`}),` page.`]}),`\n`,_jsx(_components.li,{children:`Review sample implementations in the documentation.`}),`\n`,_jsx(_components.li,{children:`Generate embeddings using provided examples.`}),`\n`,_jsx(_components.li,{children:`Integrate embeddings into your application workflows.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For a detailed breakdown of available parameters, see the `,_jsx(_components.a,{href:`https://docs.sambanova.ai/docs/api-reference/embeddings/create-embeddings`,children:`Embedding endpoint API document`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`generating-embeddings`,children:`Generating embeddings`}),`\n`,_jsxs(_components.p,{children:[`The SambaNova Embeddings API is designed for seamless integration with existing applications and follows `,_jsx(_components.a,{href:`https://platform.openai.com/docs/guides/embeddings`,children:`OpenAI’s embeddings API`}),` structure, simplifying migration and adoption.`]}),`\n`,_jsx(_components.p,{children:`The model takes in text as input and outputs a vector of floating-point numbers, which can be used for tasks like similarity searches.`}),`\n`,_jsx(Heading,{level:`2`,id:`generating-a-single-embedding`,children:`Generating a single embedding`}),`\n`,_jsxs(_components.p,{children:[`To generate an embedding for a single input text, use `,_jsx(_components.code,{children:`client.embeddings.create()`}),` with the model name and input string.`]}),`\n`,_jsx(Heading,{level:`3`,id:`example`,children:`Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python (SambaNova)`,numberOfLines:`13`,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:`13`,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:` sambanova `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SambaNova`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SambaNova(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-base-url\"`}),_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:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-api-key\"`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.embeddings.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E5-Mistral-7B-Instruct\"`}),_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:` input`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The quick brown fox jumps over the lazy dog\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python (OpenAI)`,numberOfLines:`13`,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:`13`,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:` openai `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-base-url\"`}),_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:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-api-key\"`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.embeddings.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E5-Mistral-7B-Instruct\"`}),_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:` input`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The quick brown fox jumps over the lazy dog\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response)`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-response`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"list\"`}),_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:` \"data\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"embedding\"`}),_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:` \"embedding\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.002843`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.017531`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.012934`}),_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:` \"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E5-Mistral-7B-Instruct\"`}),_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:` \"usage\"`}),_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:` \"prompt_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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:` \"total_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\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(Heading,{level:`2`,id:`generating-multiple-embeddings`,children:`Generating multiple embeddings`}),`\n`,_jsxs(_components.p,{children:[`To generate embeddings for multiple inputs in a single request, pass an array of input strings to the `,_jsx(_components.code,{children:`input`}),` parameter.`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-2`,children:`Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python (SambaNova)`,numberOfLines:`16`,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:`16`,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:` sambanova `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SambaNova`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SambaNova(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-base-url\"`}),_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:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-api-key\"`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.embeddings.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E5-Mistral-7B-Instruct\"`}),_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:` input`}),_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:` \"Our solar system orbits the Milky Way galaxy at about 515,000 mph\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Jupiter's Great Red Spot is a storm that has been raging for at least 350 years.\"`})}),`\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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`16`,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:`16`,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:` openai `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-base-url\"`}),_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:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-sambanova-api-key\"`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.embeddings.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E5-Mistral-7B-Instruct\"`}),_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:` input`}),_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:` \"Our solar system orbits the Milky Way galaxy at about 515,000 mph\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Jupiter's Great Red Spot is a storm that has been raging for at least 350 years.\"`})}),`\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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response)`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-response-2`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,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:`16`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E5-Mistral-7B-Instruct\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"list\"`}),_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:` \"data\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"embedding\"`}),_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:` \"embedding\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.2633975`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.13856208`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.04331574`}),_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`,_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"embedding\"`}),_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:` \"embedding\"`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.14496337`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.21044481`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`...`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.16187587`}),_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`,_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`]})})})]})}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":{"codeStyling":{},"config":{},"pageMetadata":{"sidebarTitle":"Embeddings","og:title":"Embeddings Implementation Guide - SambaNova Documentation","title":"Implement embeddings features","description":null,"href":"/en/features/embeddings"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Generating embeddings","slug":"generating-embeddings","depth":2,"children":[]},{"title":"Generating a single embedding","slug":"generating-a-single-embedding","depth":2,"children":[{"title":"Example","slug":"example","depth":3,"children":[]},{"title":"Example response","slug":"example-response","depth":3,"children":[]}]},{"title":"Generating multiple embeddings","slug":"generating-multiple-embeddings","depth":2,"children":[{"title":"Example","slug":"example-2","depth":3,"children":[]},{"title":"Example response","slug":"example-response-2","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sambanova-systems","siteName":"SambaNova Documentation","title":"Embeddings Implementation Guide - SambaNova Documentation","navMaps":{"firstHrefInVersion":{"v2.3.2":{"href":"/en/features/embeddings","matchLevel":0},"v2.2.6":{"href":"/en/features/embeddings","matchLevel":0},"v2.2.5":{"href":"/en/features/embeddings","matchLevel":0},"v2.2.3":{"href":"/en/features/embeddings","matchLevel":0},"v2.1.2":{"href":"/en/features/embeddings","matchLevel":0},"v2.1.1":{"href":"/en/features/embeddings","matchLevel":0},"v2.0.2":{"href":"/en/features/embeddings","matchLevel":0},"v1.2.0":{"href":"/en/features/embeddings","matchLevel":0},"v1.1.1":{"href":"/en/features/embeddings","matchLevel":0},"v1.0.57":{"href":"/en/features/embeddings","matchLevel":0},"v0.5.17":{"href":"/en/features/embeddings","matchLevel":0}},"firstHrefInLanguage":{"en":{"href":"/en/features/embeddings","matchLevel":0},"ja":{"href":"/ja/features/embeddings","matchLevel":1}}},"lastModified":"2026-11-04T13:12:46.921Z","originalFileLocation":"en/features/embeddings.mdx","locale":"en"},"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=\"SambaNova Documentation\">\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/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_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/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Embeddings Implementation Guide - SambaNova Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SambaNova Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sambanova.ai/docs/en/features/embeddings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sambanova-systems.mintlify.site/docs/_mintlify/api/og/v2?division=Features\u0026amp;title=Implement+embeddings+features\u0026amp;theme=b0fade985727b879a050f159\u0026amp;signature=6ca3175b6cf0219ee00ef348736860337b2f7f2c7550dff9b1697846c9d0062e\">\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=\"Embeddings Implementation Guide - SambaNova Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sambanova-systems.mintlify.site/docs/_mintlify/api/og/v2?division=Features\u0026amp;title=Implement+embeddings+features\u0026amp;theme=b0fade985727b879a050f159\u0026amp;signature=6ca3175b6cf0219ee00ef348736860337b2f7f2c7550dff9b1697846c9d0062e\">\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/sambanova-systems/tCkoeefWRScUtrir/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SambaNova Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#974FC7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sambanova.ai/docs/en/features/embeddings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/features/embeddings.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.sambanova.ai/docs/en/features/embeddings\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.sambanova.ai/docs/ja/features/embeddings\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.sambanova.ai/docs/en/features/embeddings\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sambanova.ai/#organization\",\"name\":\"SambaNova Documentation\",\"url\":\"https://docs.sambanova.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sambanova-systems/SM8Xs_Eg3x1tlCPk/logo/new-logo.png?fit=max\u0026auto=format\u0026n=SM8Xs_Eg3x1tlCPk\u0026q=85\u0026s=20f20c2369b8f043d9b2ffa55408fd8d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sambanova.ai/docs#website\",\"name\":\"SambaNova Documentation\",\"url\":\"https://docs.sambanova.ai/docs\",\"publisher\":{\"@id\":\"https://docs.sambanova.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sambanova.ai/docs/en/features/embeddings#webpage\",\"url\":\"https://docs.sambanova.ai/docs/en/features/embeddings\",\"name\":\"Implement embeddings features\",\"dateModified\":\"2026-11-04T13:12:46.921Z\",\"isPartOf\":{\"@id\":\"https://docs.sambanova.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sambanova.ai/docs/en/features/embeddings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sambanova.ai/docs/en/features/embeddings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Features\",\"item\":\"https://docs.sambanova.ai/docs/en/features/openai-compatibility\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Implement embeddings features\",\"item\":\"https://docs.sambanova.ai/docs/en/features/embeddings\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sambanova.ai/docs/en/features/embeddings#article\",\"headline\":\"Implement embeddings features\",\"name\":\"Implement embeddings features\",\"url\":\"https://docs.sambanova.ai/docs/en/features/embeddings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sambanova.ai/docs/en/features/embeddings#webpage\"},\"dateModified\":\"2026-11-04T13:12:46.921Z\",\"publisher\":{\"@id\":\"https://docs.sambanova.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sambanova.ai/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/en/features/embeddings.md","siteName":"SambaNova Documentation","nav":{"global":null,"versions":[{"version":"v2.3.2","tag":"Latest","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.3.2/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v2.2.6","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.2.6/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v2.2.5","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.2.5/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v2.2.3","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.2.3/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v2.1.2","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.1.2/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v2.1.1","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.1.1/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v2.0.2","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v2.0.2/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v1.2.0","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"sidebarTitle":"Video","title":"Implement video input features","href":"/en/features/video"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"},{"sidebarTitle":"Prompt caching","title":"Reduce latency and cost with prompt caching","description":null,"href":"/en/features/prompt-caching"},{"title":"Implement text-to-speech","sidebarTitle":"Text to speech","href":"/en/features/speech"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v1.2.0/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v1.1.1","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"title":"Anthropic compatibility","sidebarTitle":"Anthropic compatibility","href":"/en/features/anthropic-compatibility"},{"title":"Messages API","sidebarTitle":"Messages","href":"/en/features/messages"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","description":null,"href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v1.1.1/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v1.0.57","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","description":null,"href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"},{"sidebarTitle":"Custom chat templates","title":"Getting started with custom chat templates and output parsing","href":"/en/build/chat-templates"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v1.0.57/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]},{"version":"v0.5.17","languages":[{"language":"en","tabs":[{"tab":"Developer guide","groups":[{"group":"Get started","pages":[{"sidebarTitle":"Overview","title":"SambaNova developer guide overview","href":"/en/get-started/overview"},{"sidebarTitle":"API keys and URLs","title":"API keys and URLs","href":"/en/get-started/api-keys-urls"},{"sidebarTitle":"Quickstart","title":"SambaNova quickstart","href":"/en/get-started/quickstart"}]},{"group":"Models","pages":[{"title":"SambaCloud models overview and specifications","sidebarTitle":"SambaCloud models","mode":"wide","href":"/en/models/sambacloud-models"},{"sidebarTitle":"Rate limits","title":"SambaNova model rate limits","mode":"wide","href":"/en/models/rate-limits"},{"sidebarTitle":"Model deprecations","title":"SambaNova model deprecations","mode":"wide","href":"/en/models/deprecations"}]},{"group":"Features","pages":[{"sidebarTitle":"OpenAI compatibility","title":"OpenAI compatibility","href":"/en/features/openai-compatibility"},{"sidebarTitle":"Text generation","title":"Implement text generation features","href":"/en/features/text-generation"},{"title":"Implement function calling and JSON mode features","sidebarTitle":"Function calling and JSON mode","href":"/en/features/function-calling"},{"title":"Responses API","sidebarTitle":"Responses","href":"/en/features/responses"},{"sidebarTitle":"Vision","title":"Implement vision and multimodal features","href":"/en/features/vision"},{"title":"Implement audio‑input features","sidebarTitle":"Audio","description":null,"href":"/en/features/audio"},{"sidebarTitle":"Embeddings","title":"Implement embeddings features","href":"/en/features/embeddings"}]},{"group":"Build","pages":[{"title":"Developer community","url":"https://community.sambanova.ai/","description":null,"href":"/en/build/developer-community"},{"sidebarTitle":"AI Starter Kits","title":"AI starter kits","href":"/en/build/ai-starter-kits"},{"sidebarTitle":"Agents","title":"Agents","href":"/en/build/agents"},{"sidebarTitle":"Hugging Face Spaces","title":"Hugging Face spaces","mode":"wide","href":"/en/build/hf-spaces"},{"sidebarTitle":"RAG","title":"RAG workflows","href":"/en/build/rag"},{"sidebarTitle":"Reasoning","title":"Reasoning models","href":"/en/build/reasoning"},{"sidebarTitle":"SambaNova SDK","title":"SambaNova SDK for Python and JavaScript","href":"/en/build/sn-sdk"}]},{"group":"Resources","pages":[{"sidebarTitle":"Glossary","title":"Glossary","href":"/en/resources/glossary"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/en/api-reference/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"SambaStack","pages":[{"title":"SambaStack","href":"/en/v0.5.17/sambastack/getting-started/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/en/release-notes/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/embeddings"}]}]}]},"basePath":"","title":"Embeddings Implementation Guide - SambaNova Documentation","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":[],"chunks":[]}