CINXE.COM

Pinecone Database quickstart - Pinecone Docs

<!DOCTYPE html><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/apple-touch-icon.png?v=3"/><link rel="icon" type="image/png" sizes="32x32" href="https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/favicon-32x32.png?v=3"/><link rel="icon" type="image/png" sizes="16x16" href="https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/favicon-16x16.png?v=3"/><link rel="shortcut icon" type="image/x-icon" href="https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/favicon.ico?v=3"/><meta name="msapplication-config" content="https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/browserconfig.xml?v=3"/><meta name="apple-mobile-web-app-title" content="Pinecone Docs"/><meta name="application-name" content="Pinecone Docs"/><meta name="msapplication-TileColor" content="#1C17FF"/><meta name="theme-color" content="#ffffff"/><link rel="sitemap" type="application/xml" href="/sitemap.xml"/><meta name="charset" content="utf-8"/><meta name="og:type" content="website"/><meta name="og:site_name" content="Pinecone Docs"/><meta name="twitter:card" content="summary_large_image"/><meta name="og:title" content="Pinecone Database quickstart - Pinecone Docs"/><meta name="twitter:title" content="The vector database to build knowledgeable AI | Pinecone"/><meta name="og:image" content="https://www.pinecone.io/api/og/?title=Pinecone Database quickstart"/><meta name="twitter:image" content="https://www.pinecone.io/images/docs_og_image.png"/><meta name="twitter:description" content="Search through billions of items for similar matches to any object, in milliseconds. It&#x27;s the next generation of search, an API call away."/><meta name="twitter:site" content="@pinecone"/><title>Pinecone Database quickstart - Pinecone Docs</title><meta name="og:url" content="/guides/get-started/quickstart"/><link rel="canonical" href="/guides/get-started/quickstart"/><meta name="next-head-count" content="25"/><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css" integrity="sha384-Xi8rHCmBmhbuyyhbI88391ZKP2dmfnOl4rT9ZfRI7mLTdk1wblIUnrIq35nqwEvC" crossorigin="anonymous"/><link rel="preload" href="/_next/static/media/a34f9d1faa5f3315-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><script id="mode-toggle" data-nscript="beforeInteractive"> try { if (localStorage.isDarkMode === 'true') { document.documentElement.classList.add('dark'); } else if (localStorage.isDarkMode === 'false') { document.documentElement.classList.remove('dark'); } else if ((false && !('isDarkMode' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches) || false) { document.documentElement.classList.add('dark'); } else { document.documentElement.classList.remove('dark'); } } catch (_) {} </script><link rel="preload" href="/_next/static/css/1b0bee2a213c6d45.css" as="style"/><link rel="stylesheet" href="/_next/static/css/1b0bee2a213c6d45.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-bf3c4f880e1dcd79.js" defer=""></script><script src="/_next/static/chunks/framework-d17a13b7014ce556.js" defer=""></script><script src="/_next/static/chunks/main-6f86f9a153903fae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f8a56e5f1adc47db.js" defer=""></script><script src="/_next/static/chunks/2edb282b-7fa355f49eaeb230.js" defer=""></script><script src="/_next/static/chunks/e893f787-54a006ae51267903.js" defer=""></script><script src="/_next/static/chunks/086d643d-3aa1cf46914548d9.js" defer=""></script><script src="/_next/static/chunks/9097-75a5bfb192203d09.js" defer=""></script><script src="/_next/static/chunks/6430-16e004706658d885.js" defer=""></script><script src="/_next/static/chunks/2073-fcba8b6245f0552c.js" defer=""></script><script src="/_next/static/chunks/pages/_sites/%5Bsubdomain%5D/%5B%5B...slug%5D%5D-7d0e3c1d0f130c24.js" defer=""></script><script src="/_next/static/8gqtPLLVbn-oaWMik8oUY/_buildManifest.js" defer=""></script><script src="/_next/static/8gqtPLLVbn-oaWMik8oUY/_ssgManifest.js" defer=""></script><style id="__jsx-4145347147">:root{--font-inter:'__Inter_e5ab12', '__Inter_Fallback_e5ab12';--font-jetbrains-mono:'__JetBrains_Mono_3c557b', '__JetBrains_Mono_Fallback_3c557b'}</style></head><div id="__next"><main class="jsx-4145347147"><style>:root { --primary: 28 23 255; --primary-light: 80 76 255; --primary-dark: 28 23 255; --background-light: 251 251 252; --background-dark: 10 10 16; --gray-50: 242 243 251; --gray-100: 236 237 246; --gray-200: 223 225 236; --gray-300: 203 207 220; --gray-400: 152 159 177; --gray-500: 105 111 132; --gray-600: 74 83 104; --gray-700: 54 64 86; --gray-800: 31 40 61; --gray-900: 17 24 46; --gray-950: 4 7 25; }</style><style>/* Global styles */ #topbar-cta-button { margin-left: 1rem; } #topbar-cta-button a { display: flex; align-items: center; padding: 0.375rem 1rem !important; gap: 0.5rem; background-color: #1C17FF; color: #fff !important; border-radius: 0.25rem; font-weight: 500; letter-spacing: 0.4px; } #topbar-cta-button a:hover { background-color: #030080 !important; } /* #topbar-cta-button span { border-radius: 4px; font-weight: 500; letter-spacing: 0.4px; } */ /* #topbar-cta-button div > svg { display: none; } */ /* inserting svg via :after isn't working for some reason, used js instead */ /* #topbar-cta-button div::after { content: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Icon Right"><path id="Vector" d="M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z" fill="white"/></g></svg>'); content: "test"; display: block; width: 20px; height: 20px; margin-left: 8px; background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Icon Right"><path id="Vector" d="M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z" fill="white"/></g></svg>'); background-color: #000000; background-size: contain; background-repeat: no-repeat; background-position: center; } */ .documentation-link { color: #1c17ff; text-decoration: none; } .documentation-link:hover { color: #000000; /* Black color when hovering */ } .custom-button { display: inline-block; padding: 2px 8px; background-color: #f1f1f1; color: #333; /* Text color */ border: 1px solid #aaa; /* Border color */ border-radius: 25px; /* Rounded borders */ text-align: center; user-select: none; transition: background-color 0.3s ease; /* Smooth transition for background color */ } /* Change the button color on hover (make it unclickable) */ .custom-button:hover { background-color: #1c17ff; color: #f1f1f1; } /* Adjust the width for the second column */ /* td:nth-child(2) { width: 200px; /* Adjust the width as per your requirement } */ /* Add an announcement bar TODO: This can be version specific if you add a page-specific class/ID, but it doesn't seem to work for the OpenAI docs without rewriting the JSON */ /* #navbar:before { background-color: #ff4c04; content: "The legacy version of the API, which required regional URLs for control plane operations, is deprecated as of April 15, 2024 and will be removed in a future, to be announced, release."; color: rgb(255, 255, 255); display: block; text-align: center; padding: 6px; font-size: 90%; } */ /* Text color */ /* body { color: #121142 !important; } */ /* Header */ #navbar { background: white; position: fixed; /* position: sticky !important; */ /* top: 0 !important; */ } #navbar-transition { border-bottom: 1px solid #e2e5e7; } #navbar .max-w-8xl { max-width: 100%; } /* Logo + "Docs" text + version select */ #navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:first-of-type { flex: initial; } #navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:first-of-type>a:first-of-type { flex: initial; display: flex; } #navbar img[alt="logo"] { max-width: 150px; } /* Version select */ [aria-haspopup="menu"] { border-radius: 0.25rem; border: 1px solid rgba(115, 143, 171, 0.50); background-color: transparent !important; color: #121142; } [aria-labelledby="headlessui-menu-button-:r0:"] { width: 11rem; } /* Right side nav container */ #navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:nth-of-type(3) { flex: initial; margin-left: 0; } /* Prevent nav items from shrinking */ #navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:nth-of-type(3)>nav { flex-shrink: 0; } /* nav links */ #navbar nav a { color: #121142; padding: 0.6rem 1rem; transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1); } #navbar nav a:hover { background-color: rgba(27, 23, 245, 0.04); border-radius: 0.25rem; } #navbar nav ul li:not(:last-of-type) { margin-left: 0; } /* Hide dark mode toggle */ #navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:nth-of-type(3)>div { display: none; } /* Second nav container */ /* Links */ #navbar a { color: #121142; margin: 0; padding-left: 0.875rem; padding-right: 0.875rem; } /* Selected links */ #navbar a.font-semibold { color: #1B17F5; border-bottom-width: 0.1875rem; border-color: #1B17F5; } #navbar div.absolute.bottom-0 { display: none; } /* Sidebar */ #sidebar { left: 0rem; padding-left: 3rem; background: white; border-right: 1px solid #e2e5e7; /* position: sticky; */ /* flex-shrink: 0; */ /* top: 0; */ } #sidebar-content { padding-left: 2rem; } /* Sidebar headings and link color */ #sidebar-content h5, #sidebar a { color: #121142; } /* Sidebar Introduction link */ #sidebar>div>ul>div:first-of-type>li:only-of-type { margin-left: 0; } #sidebar>div>ul>div:first-of-type>li:only-of-type>a { font-weight: 600; } /* Nav items */ #navigation-items>div>ul>li { margin-left: 0.75rem; } /* Selected nav items */ #navigation-items>div>ul>li a.font-semibold { color: #1B17F5; font-weight: 400; background-color: #3C72FF0A; } /* Main content area */ /* main > div:first-of-type > div:last-of-type > div:first-of-type { display: flex; } */ @media screen and (min-width: 1024px) { #content-area>div:first-child:not(#header)>div.relative.w-full.flex.items-center.justify-center:first-child { margin-top: 7rem } } /* Content container */ /* #content-container { padding-left: 3.5rem !important; } */ #content-container>div { padding-top: 10rem; } @media (min-width: 1024px) { #content-container>div { gap: 3rem; } #content-container #table-of-contents { padding-left: 0; } } /* Title eyebrow */ #header .eyebrow { text-transform: uppercase; color: #121142; font-size: 0.625rem; letter-spacing: 1px; line-height: 160%; } /* Hide empty eyebrow */ #header .eyebrow:empty { display: none; } /* Title container */ #header>div:first-of-type>div:nth-of-type(2) { margin-top: 0; } /* Title */ #header h1 { color: #121142; } /* Article text */ .prose h2, .prose h3, .prose h4, .prose p { color: #121142; } .prose a { color: #1B17F5; font-weight: 400; } /* Overwrite tailwind max-width */ .max-w-8xl { max-width: 94.5rem; } .card { box-shadow: none; border: 1px solid #D8DDDF; border-radius: 0.25rem; transition: box-shadow 0.3s ease; } .card:hover { box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12); border: 1px solid #D8DDDF !important; } .card>div { padding: 1.5rem; } .card h2, .example-card h2 { font-size: 1.25rem; } .card p, .example-card p { margin-top: 0.625rem; font-size: 0.875rem; color: #121142; } .card .eyebrow { font-size: 0.625rem; text-transform: uppercase; line-height: 160%; letter-spacing: 1px; } .card .integration-logo { width: 3.125rem; height: 3.125rem; display: flex; justify-content: center; align-items: center; } .card-grid { display: grid; gap: 1.5rem; } @media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1024px) { .card-grid { grid-template-columns: 1fr 1fr 1fr; } } .example-card { box-shadow: none; border: 1px solid #D8DDDF; border-radius: 0.25rem; transition: box-shadow 0.3s ease; padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; background-color: #fff; } .example-card .arrow { margin-left: auto; margin-top: auto; opacity: 0; transition: opacity 0.3s ease; } .example-card:hover .arrow { opacity: 1; } .example-card:hover { box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12); border: 1px solid #D8DDDF !important; } .example-card .tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; } .example-card .card-tag { border-radius: 1rem; background-color: rgba(115, 143, 171, 0.08); color: #121142; font-size: 0.8125rem; line-height: 138%; letter-spacing: 0.16px; padding: 0.1875rem 0.375rem; display: flex; gap: 0.375rem; align-items: center; } .example-card .vectors { color: #72788D; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.875rem; line-height: 150%; letter-spacing: 0.15px; padding-top: 2.875rem; margin-top: auto; } .examples-h2 { font-size: 1.25rem; margin-bottom: 1.5rem; } /* Integrations */ #integrations-banner { position: relative; margin-top: 7rem; height: 12.75rem; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; /* background: url('https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/images/background.png') no-repeat center center; */ background-size: 90%; background-color: rgb(251, 251, 252); text-align: center; border-bottom: 1px solid #e2e5e7; } #integrations-banner h1 { color: #000000; font-size: 3rem; } #integrations-banner p { color: #000000; font-size: 1.25rem; opacity: 0.7; margin-top: 0.5rem; } /* Integrations related articles */ #related-articles { display: flex; flex-direction: column; width: 100%; } #related-articles h2 { color: #121142; font-size: 1.25rem; font-weight: 600; letter-spacing: 0.15px; line-height: 150%; margin-bottom: 1rem; } #related-articles a { padding: 1.0625rem 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; color: #121142; font-size: 0.875rem; line-height: 150%; letter-spacing: 0.15px; } #related-articles a:not(:last-of-type) { border-bottom: 1px solid #D8DDDF; } #related-articles a:hover { opacity: 0.7; } #related-articles a>svg { flex-shrink: 0; } /* Integrations back button */ #back-button { display: flex; gap: 0.5rem; align-items: center; color: #121142 !important; font-size: 0.875rem; line-height: 150%; letter-spacing: 0.15px; margin-bottom: 1.5rem; } #back-button:hover { opacity: 0.7; } #back-button>svg { flex-shrink: 0; } /* Sample apps */ .sample-app { color: #121142; } .sample-app h2 { font-size: 2.125rem; font-weight: 600; line-height: 123.5%; letter-spacing: 0.25px; } .sample-app h2:not(:first-of-type) { margin: 4rem 0 0 0; } .sample-app h2:first-of-type { margin: 0; } .sample-app h3 { font-size: 1.25rem; font-weight: 600; line-height: 150%; letter-spacing: 0.15px; margin: 3rem 0 0 0; } .sample-app h4 { font-size: 0.875rem; font-weight: 700; line-height: 150%; letter-spacing: 0.15px; margin: 3rem 0 0 0; } .sample-app p, .sample-app ul { margin: 1.5rem 0 0 0; font-size: 0.875rem; list-style-type: disc; } .sample-app li::before { display: none; } .sample-app li { padding-left: 0 !important; margin-left: 1.25rem; } .sample-app li::marker { color: #121142; } .sample-app-heading { display: flex; flex-direction: column; align-items: center; text-align: center; } .sample-app-heading .eyebrow { color: #121142; font-size: 0.625rem; line-height: 160%; letter-spacing: 1px; text-transform: uppercase; } .sample-app-heading h1 { color: #121142; margin: 0.5rem 0 0 0; font-size: 2.125rem; font-weight: 600; line-height: 123.5%; letter-spacing: 0.25px; } .sample-app-heading p { color: #121142; margin: 0.5rem 0 1.5rem 0; font-size: 1.25rem; font-weight: 600; line-height: 150%; letter-spacing: 0.15px; } /* Sample apps content area with sidebar */ .sample-app-split { display: flex; flex-direction: column; gap: 3rem; } .sample-app-split .sidebar a:not(.connect-with-pinecone) { font-size: 0.875rem; color: #121142; border-bottom: none; } .sample-app-split .toc-list { display: flex; flex-direction: column; gap: 1rem; } .sample-app-split .toc-list a.bold { font-weight: 700; margin-top: 0.5rem; } .sample-app-split>.content.no-margin>p:first-of-type { margin-top: 0 !important; } .connect-with-pinecone { border: 1px solid rgba(115, 143, 171, 0.50); border-radius: 0.25rem; padding: 0.5rem 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; line-height: 1.5rem; letter-spacing: 0.4px; color: #121142 !important; text-decoration: none; align-self: flex-start; } @media (min-width: 1280px) { .sample-app-split { flex-direction: row; } .sample-app-split .content { overflow-x: auto; } .sample-app-split .sidebar { width: 20.625rem; flex-shrink: 0; } } /* Hacky codeblock targeting */ div[class*="bg-codeblock"].relative { background: #121142; border-radius: 0.25rem; } p>code { font-size: 0.75rem; line-height: 150%; letter-spacing: 0.5px; border-radius: 0.25rem; padding: 0.125rem 0.5rem; background-color: rgba(115, 143, 171, 0.08); color: #030080; border: none; } code .api-key.set { color: orange; } .pinecone-connect-connected { width: 100%; max-width: 31.25rem; background-color: rgb(255, 255, 255); transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; border-radius: 0.25rem; padding: 1.5rem; margin: 1.5rem 0; border: 1px solid rgb(224, 224, 224); } .pinecone-connect-connected img { height: 1.875rem; margin: 0; } .pinecone-connect-connected p { color: rgba(0, 0, 0, 0.87) !important; } .pinecone-connect-connected p:last-of-type { margin-top: 0.75rem; } .remove-api-key { display: flex; width: 100%; max-width: 31.25rem; margin-top: -1.25rem; } .remove-api-key>button { font-size: 0.8125rem; font-weight: 500; color: #1d4ed8; margin-left: auto; } /* Model Gallery */ .featured-card-container { position: relative; width: 100%; overflow: visible; overflow-x: auto; overflow-y: visible; margin-right: 0; /* Added to remove extra right margin */ } .featured-model-cards { display: flex; transition: transform 1s ease-in-out; width: 100%; gap: 1rem; justify-content: space-between; overflow: visible; overflow-y: visible; margin-right: 0; /* Added to remove extra right margin */ } @media (max-width: 768px) { .featured-model-cards { flex-direction: column; } } .outlined-button { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 150px; height: 36px; padding: 4px; border-radius: 4px; border: 1px solid var(--Light-Secondary-Shades-50p, rgba(115, 143, 171, 0.5)); color: #FFFFFF; text-decoration: none; font-size: 14px; letter-spacing: 0.4; text-align: center; color: #121142; font-weight: 500; transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease; } .outlined-button:hover { background-color: #3C72FF0A; border: 1px solid #1B17F5; color: #FFFFFF; } .control { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.7); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.5; transition: opacity 0.3s ease; } .control:hover { opacity: 1; } .prev-slide { left: 10px; } .next-slide { right: 10px; } .inference-text p { margin-top: 0rem; } /* Model page */ .model-page-card { padding: 1.5rem; border-radius: 0.25rem; border: 1px solid #D8DDDF; background: #FFF; margin-bottom: 2.5rem; } .model-page-card-title { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; } .model-page-card-title>h1 { font-size: 1.5rem; color: #121142; } .model-page-card-logo { width: 2.125rem; height: 2.125rem; flex-shrink: 0; } .model-page-card-logo>img { width: 100%; height: 100%; object-fit: contain; } .model-page-card-inference { border-radius: 1rem; border: 1px solid #D8DDDF; padding: 0.25rem 0.375rem 0.25rem 0.25rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; } .model-page-card-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; } .model-page-card-stats>div>span { font-size: 0.625rem; color: #72788D; letter-spacing: 0.2px; font-weight: 500; } .model-page-card-stats>div>p { font-size: 0.75rem; color: #121142; letter-spacing: 0.17px; } .model-page-card-stats>div.price { margin-left: auto; } .model-page-card-stats>div.price>p { margin-left: auto; font-weight: 600; } .model-page-tabs { display: flex; width: 100%; border-bottom: 1px solid #D8DDDF; margin-bottom: 2rem; } .model-page-tabs>button { padding: 0.5625rem 1rem; border-bottom: 1px solid transparent; color: #72788D; display: flex; align-items: center; gap: 0.375rem; font-weight: 500; letter-spacing: 0.4px; } .model-page-tabs>button>svg>path { fill: #72788D; } .model-page-tabs>button.active { border-bottom: 2px solid #1B17F5; color: #1B17F5; } .model-page-tabs>button.active>svg>path { fill: #1B17F5; } .model-page-playground { display: none; } .model-page-guides { display: flex; flex-direction: column; gap: 3rem; } .model-page-content { flex-shrink: 1; width: auto; max-width: 1050px; @media (max-width: 1500px) { max-width: 700px; } } .model-page-content> :first-child { margin-top: 0; } .model-page-content pre { white-space: pre-wrap; } .model-page-sidebar { width: 100%; flex-shrink: 1; } .model-page-sidebar .iframe-placeholder { height: 800px; } /* removing inline padding for now */ @media (min-width: 1280px) { .model-search-container { padding-inline: 0px; } } .model-page-sidebar-readmore { font-size: 0.875rem; font-style: normal; font-weight: 500; line-height: 150%; letter-spacing: 0.15px } .model-page-sidebar-readmore svg { margin-bottom: 2px; } .model-search-container { height: 1045px; @media (max-width: 768px) { height: 1200px; } } @media (min-width: 1080px) { .model-page-guides { flex-direction: row; } .model-page-sidebar { max-width: 20.6875rem; flex-shrink: 0; } } .connect-widget-skeleton { margin-block: 45px; width: 498px; height: 180px; /* Adjust height to match your widget */ background: #f6f7f9; border-radius: 4px; overflow: hidden; position: relative; border: 1px solid #D8DDDF; } .skeleton-content { width: 450px; height: 180px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%); animation: shimmer 1.5s infinite; position: absolute; top: 0; left: 0; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } /* For dark mode */ .dark .connect-widget-skeleton { background: #2a2a2a; }</style><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5RCSPVG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div class="relative antialiased text-gray-500 dark:text-gray-400"><span class="fixed inset-0 bg-background-light dark:bg-background-dark -z-10"></span><div id="navbar" class="z-30 fixed lg:sticky top-0 w-full"><div id="navbar-transition" class="absolute w-full h-full backdrop-blur flex-none transition-colors duration-500 border-b border-gray-500/5 dark:border-gray-300/[0.06] supports-backdrop-blur:bg-background-light/60 dark:bg-transparent"></div><div class="max-w-8xl mx-auto relative"><div class=""><div class="relative"><div class="flex items-center lg:px-12 h-16 min-w-0 mx-4 lg:mx-0"><div class="h-full relative flex-1 flex items-center gap-x-4 min-w-0 border-b border-gray-500/5 dark:border-gray-300/[0.06]"><div class="flex-1 flex items-center gap-x-4"><a href="/"><span class="sr-only">Pinecone Docs<!-- --> home page</span><img class="w-auto h-7 relative object-contain" src="https://mintlify.s3.us-west-1.amazonaws.com/pinecone-2/logo/light.svg" alt="logo"/></a><div class="flex items-center gap-x-2"><button type="button" id="radix-:R25fcql6:" aria-haspopup="menu" aria-expanded="false" data-state="closed" class="group bg-background-light dark:bg-background-dark disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group outline-none group-hover:text-zinc-950/70 dark:group-hover:text-white/70 text-xs gap-1.5 text-gray-500 dark:text-gray-400 leading-5 font-semibold border border-gray-200 dark:border-gray-800 hover:border-gray-300 dark:hover:border-gray-700 rounded-full py-1 px-3 flex items-center space-x-2 whitespace-nowrap">2024-10 (latest)<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down"><path d="m6 9 6 6 6-6"></path></svg></button></div></div><div class="hidden lg:block mx-px relative flex-1 bg-white dark:bg-gray-900 pointer-events-auto rounded-lg min-w-0"><button type="button" class="w-full flex items-center text-sm leading-6 rounded-lg py-1.5 pl-3.5 pr-3 shadow-sm text-gray-400 dark:text-white/50 bg-background-light dark:bg-background-dark dark:brightness-[1.1] dark:ring-1 dark:hover:brightness-[1.25] ring-1 ring-gray-400/20 hover:ring-gray-600/25 dark:ring-gray-600/30 dark:hover:ring-gray-500/30 focus:outline-primary justify-between truncate gap-2 min-w-[43px]" id="search-bar-entry"><div class="flex items-center gap-3 min-w-[42px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search min-w-4 flex-none text-gray-700 hover:text-gray-800 dark:text-gray-300 hover:dark:text-gray-200"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg><div class="truncate min-w-0">Search or ask...</div></div></button></div><div class="flex-1 relative hidden lg:flex items-center ml-auto justify-end space-x-4"><nav class="text-sm"><ul class="flex space-x-6 items-center"><li class="block lg:hidden"><a class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" href="https://app.pinecone.io/?sessionType=signup">Sign up free</a></li><li><a href="https://status.pinecone.io" class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank">Status</a></li><li><a href="https://app.pinecone.io/organizations/-/settings/support" class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank">Support</a></li><li><a href="https://app.pinecone.io/?sessionType=login" class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank">Log In</a></li><li class="whitespace-nowrap hidden lg:flex" id="topbar-cta-button"><a target="_blank" class="group px-4 py-1.5 relative inline-flex items-center text-sm font-medium" href="https://app.pinecone.io/?sessionType=signup"><span class="absolute inset-0 bg-primary-dark dark:bg-primary-light/10 border-primary-light/30 rounded-full dark:border group-hover:opacity-[0.9] dark:group-hover:border-primary-light/60"></span><div class="mr-0.5 space-x-2.5 flex items-center"><span class="z-10 text-white dark:text-primary-light">Sign up free</span><svg width="3" height="24" viewBox="0 -9 3 24" class="h-5 rotate-0 overflow-visible text-white/90 dark:text-primary-light"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></a></li></ul></nav><div class="flex items-center"></div></div><div class="flex lg:hidden items-center gap-2"><button type="button" class="text-gray-500 w-8 h-8 flex items-center justify-center hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300" id="search-bar-entry-mobile"><span class="sr-only">Search...</span><svg class="h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/magnifying-glass.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button><button aria-label="More actions" class="h-7 w-5 flex items-center justify-end"><svg class="h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/ellipsis-vertical.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div><div class="flex items-center h-14 py-4 px-5 lg:hidden"><button type="button" class="text-gray-500 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"><span class="sr-only">Navigation</span><svg class="h-4" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"></path></svg></button><div class="ml-4 flex text-sm leading-6 whitespace-nowrap min-w-0 space-x-3"><div class="flex items-center space-x-3"><span>Get started</span><svg width="3" height="24" viewBox="0 -9 3 24" class="h-5 rotate-0 overflow-visible fill-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div><div class="font-semibold text-gray-900 truncate dark:text-gray-200">Pinecone Database quickstart</div></div></div></div><div class="hidden lg:flex px-12 h-12"><div class="h-full flex text-sm space-x-6"><a class="group relative h-full flex items-center text-gray-800 dark:text-gray-200 font-semibold" href="/guides/get-started/overview">Guides<div class="absolute bottom-0 h-[1.5px] w-full bg-primary dark:bg-primary-light"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/reference/api/introduction">Reference<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/examples/notebooks">Examples<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/models/overview">Models<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/integrations/overview">Integrations<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/troubleshooting/contact-support">Troubleshooting<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/release-notes/2024">Releases<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a></div></div></div></div></div><div class="px-4 mx-auto max-w-8xl lg:px-8 min-h-screen"><div class="z-20 hidden lg:block fixed bottom-0 right-auto w-[18rem] top-[7.1rem]" id="sidebar"><div class="absolute inset-0 z-10 stable-scrollbar-gutter overflow-auto pr-8 pb-10" id="sidebar-content"><div class="relative lg:text-sm lg:leading-6"><div class="sticky top-0 h-8 bg-gradient-to-b from-background-light dark:from-background-dark"></div><div id="navigation-items"><div class=""><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Get started</h5><ul><li id="/guides/get-started/overview" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/get-started/overview"><div class="flex-1 flex items-center space-x-2.5"><div>Overview</div></div></a></li><li id="/guides/get-started/quickstart" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg bg-primary/10 text-primary font-semibold dark:text-primary-light dark:bg-primary-light/10" style="padding-left:1rem" href="/guides/get-started/quickstart"><div class="flex-1 flex items-center space-x-2.5"><div>Database quickstart</div></div></a></li><li id="/guides/get-started/assistant-quickstart" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/get-started/assistant-quickstart"><div class="flex-1 flex items-center space-x-2.5"><div>Assistant quickstart</div></div></a></li><li id="/guides/get-started/key-features" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/get-started/key-features"><div class="flex-1 flex items-center space-x-2.5"><div>Key features</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Tutorials</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li id="/guides/get-started/glossary" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/get-started/glossary"><div class="flex-1 flex items-center space-x-2.5"><div>Glossary</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Indexes</h5><ul><li id="/guides/indexes/understanding-indexes" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/understanding-indexes"><div class="flex-1 flex items-center space-x-2.5"><div>Understanding indexes</div></div></a></li><li id="/guides/indexes/create-an-index" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/create-an-index"><div class="flex-1 flex items-center space-x-2.5"><div>Create an index</div></div></a></li><li id="/guides/indexes/migrate-a-pod-based-index-to-serverless" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/migrate-a-pod-based-index-to-serverless"><div class="flex-1 flex items-center space-x-2.5"><div>Migrate a pod-based index to serverless</div></div></a></li><li id="/guides/indexes/view-index-information" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/view-index-information"><div class="flex-1 flex items-center space-x-2.5"><div>View index information</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Back up and restore</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li id="/guides/indexes/delete-an-index" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/delete-an-index"><div class="flex-1 flex items-center space-x-2.5"><div>Delete an index</div></div></a></li><li id="/guides/indexes/prevent-index-deletion" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/prevent-index-deletion"><div class="flex-1 flex items-center space-x-2.5"><div>Prevent index deletion</div></div></a></li><li id="/guides/indexes/tag-an-index" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/tag-an-index"><div class="flex-1 flex items-center space-x-2.5"><div>Tag an index</div></div></a></li><li id="/guides/indexes/use-namespaces" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/use-namespaces"><div class="flex-1 flex items-center space-x-2.5"><div>Use namespaces</div></div></a></li><li id="/guides/indexes/configure-an-index" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/configure-an-index"><div class="flex-1 flex items-center space-x-2.5"><div>Configure an index</div></div></a></li><li id="/guides/indexes/choose-a-pod-type-and-size" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/choose-a-pod-type-and-size"><div class="flex-1 flex items-center space-x-2.5"><div>Choose a pod type and size</div></div></a></li><li id="/guides/indexes/scale-pod-based-indexes" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/indexes/scale-pod-based-indexes"><div class="flex-1 flex items-center space-x-2.5"><div>Scale pod-based indexes</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Data</h5><ul><li id="/guides/data/upsert-data" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/upsert-data"><div class="flex-1 flex items-center space-x-2.5"><div>Upsert data</div></div></a></li><li id="/guides/data/query-data" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/query-data"><div class="flex-1 flex items-center space-x-2.5"><div>Query data</div></div></a></li><li id="/guides/data/fetch-data" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/fetch-data"><div class="flex-1 flex items-center space-x-2.5"><div>Fetch data</div></div></a></li><li id="/guides/data/update-data" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/update-data"><div class="flex-1 flex items-center space-x-2.5"><div>Update data</div></div></a></li><li id="/guides/data/delete-data" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/delete-data"><div class="flex-1 flex items-center space-x-2.5"><div>Delete data</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Import data</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li id="/guides/data/list-record-ids" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/list-record-ids"><div class="flex-1 flex items-center space-x-2.5"><div>List record IDs</div></div></a></li><li id="/guides/data/target-an-index" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/target-an-index"><div class="flex-1 flex items-center space-x-2.5"><div>Target an index</div></div></a></li><li id="/guides/data/understanding-metadata" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/understanding-metadata"><div class="flex-1 flex items-center space-x-2.5"><div>Understanding metadata</div></div></a></li><li id="/guides/data/manage-rag-documents" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/data/manage-rag-documents"><div class="flex-1 flex items-center space-x-2.5"><div>Manage RAG documents</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Data freshness</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Hybrid search and sparse vectors</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Inference</h5><ul><li id="/guides/inference/understanding-inference" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/inference/understanding-inference"><div class="flex-1 flex items-center space-x-2.5"><div>Understanding Pinecone Inference</div></div></a></li><li id="/guides/inference/generate-embeddings" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/inference/generate-embeddings"><div class="flex-1 flex items-center space-x-2.5"><div>Generate embeddings</div></div></a></li><li id="/guides/inference/rerank" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/inference/rerank"><div class="flex-1 flex items-center space-x-2.5"><div>Rerank documents</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Assistant</h5><ul><li id="/guides/assistant/understanding-assistant" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/assistant/understanding-assistant"><div class="flex-1 flex items-center space-x-2.5"><div>Understanding Pinecone Assistant</div></div></a></li><li id="/guides/assistant/create-assistant" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/assistant/create-assistant"><div class="flex-1 flex items-center space-x-2.5"><div>Create an assistant</div></div></a></li><li id="/guides/assistant/upload-file" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/assistant/upload-file"><div class="flex-1 flex items-center space-x-2.5"><div>Upload a file</div></div></a></li><li id="/guides/assistant/chat-with-assistant" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/assistant/chat-with-assistant"><div class="flex-1 flex items-center space-x-2.5"><div>Chat with an assistant</div></div></a></li><li id="/guides/assistant/manage-assistants" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/assistant/manage-assistants"><div class="flex-1 flex items-center space-x-2.5"><div>Manage assistants</div></div></a></li><li id="/guides/assistant/manage-files" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/assistant/manage-files"><div class="flex-1 flex items-center space-x-2.5"><div>Manage files</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Evaluate answers</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Retrieve context snippets</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Operations</h5><ul><li id="/guides/operations/local-development" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/operations/local-development"><div class="flex-1 flex items-center space-x-2.5"><div>Local development</div></div></a></li><li id="/guides/operations/automated-testing" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/operations/automated-testing"><div class="flex-1 flex items-center space-x-2.5"><div>Automated testing</div></div></a></li><li id="/guides/operations/move-to-production" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/operations/move-to-production"><div class="flex-1 flex items-center space-x-2.5"><div>Move to production</div></div></a></li><li id="/guides/operations/performance-tuning" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/operations/performance-tuning"><div class="flex-1 flex items-center space-x-2.5"><div>Performance tuning</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Security</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Integrate with cloud storage</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li id="/guides/operations/monitoring" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/operations/monitoring"><div class="flex-1 flex items-center space-x-2.5"><div>Monitoring</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Organizations</h5><ul><li id="/guides/organizations/understanding-organizations" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/organizations/understanding-organizations"><div class="flex-1 flex items-center space-x-2.5"><div>Understanding organizations</div></div></a></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Manage billing</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li><div class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem"><div>Manage cost</div><svg width="3" height="24" viewBox="0 -9 3 24" class="transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></li><li id="/guides/organizations/manage-organization-members" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/organizations/manage-organization-members"><div class="flex-1 flex items-center space-x-2.5"><div>Manage organization members</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Projects</h5><ul><li id="/guides/projects/understanding-projects" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/projects/understanding-projects"><div class="flex-1 flex items-center space-x-2.5"><div>Understanding projects</div></div></a></li><li id="/guides/projects/create-a-project" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/projects/create-a-project"><div class="flex-1 flex items-center space-x-2.5"><div>Create a project</div></div></a></li><li id="/guides/projects/manage-api-keys" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/projects/manage-api-keys"><div class="flex-1 flex items-center space-x-2.5"><div>Manage API keys</div></div></a></li><li id="/guides/projects/manage-project-members" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/projects/manage-project-members"><div class="flex-1 flex items-center space-x-2.5"><div>Manage project members</div></div></a></li><li id="/guides/projects/rename-a-project" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/guides/projects/rename-a-project"><div class="flex-1 flex items-center space-x-2.5"><div>Rename a project</div></div></a></li></ul></div></div></div></div></div><div class="" id="content-container"><div class="flex flex-row gap-12 box-border w-full pt-40 lg:pt-10"><div class="relative grow box-border flex-col w-full mx-auto px-1 lg:pl-[23.7rem] lg:-ml-12 xl:w-[calc(100%-28rem)]" id="content-area"><header id="header" class="relative"><div class="mt-0.5 space-y-2.5"><div class="eyebrow h-5 text-primary dark:text-primary-light text-sm font-semibold">Get started</div><div class="flex items-center"><h1 class="inline-block text-2xl sm:text-3xl font-extrabold text-gray-900 tracking-tight dark:text-gray-200">Pinecone Database quickstart</h1></div></div></header><div class="flex flex-col gap-8"><div class="flex flex-col gap-6 xl:hidden [&amp;:not(:empty)]:mt-8"></div></div><div class="relative mt-8 prose prose-gray dark:prose-invert"><p>This guide shows you how to set up and use Pinecone Database for high-performance similarity search.</p> <div class="my-4 px-5 py-4 overflow-hidden rounded-xl flex gap-3 border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10"><div class="mt-0.5 w-4"><svg width="11" height="14" viewBox="0 0 11 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="text-emerald-600 dark:text-emerald-400/80 w-3.5 h-auto" aria-label="Tip"><path d="M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"></path></svg></div><div class="text-sm prose min-w-0 text-emerald-900 dark:text-emerald-200"><p>To get started in your browser, use the <a href="https://colab.research.google.com/github/pinecone-io/examples/blob/master/docs/pinecone-quickstart.ipynb" target="_blank" rel="noreferrer">Quickstart colab notebook</a>. To try Pinecone Database locally before creating an account, use <a href="/guides/operations/local-development">Pinecone Local</a>.</p></div></div> <h2 class="flex whitespace-pre-wrap group" id="1-install-an-sdk"><div class="absolute"><a href="#1-install-an-sdk" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">1. Install an SDK</span></h2> <p><a href="/reference/pinecone-sdks">Pinecone SDKs</a> provide convenient programmatic access to the <a href="/reference/api/introduction">Pinecone APIs</a>.</p> <p>Install the SDK for your preferred language:</p> <!-- --> <h2 class="flex whitespace-pre-wrap group" id="2-get-an-api-key"><div class="absolute"><a href="#2-get-an-api-key" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">2. Get an API key</span></h2> <p>You need an API key to make calls to your Pinecone project.</p> <p>Create a new API key in the <a href="https://app.pinecone.io/organizations/-/keys" target="_blank" rel="noreferrer">Pinecone console</a>, or use the widget below to generate a key. If you don’t have a Pinecone account, the widget will sign you up for the free <a href="https://www.pinecone.io/pricing/" target="_blank" rel="noreferrer">Starter plan</a>.</p> <div style="min-width:450px;min-height:152px"><div id="pinecone-connect-widget"><div class="connect-widget-skeleton"><div class="skeleton-content"></div></div></div></div> <p>Your generated API key:</p> <div class="mt-5 mb-8 not-prose rounded-xl relative text-gray-50 bg-[#0F1117] dark:bg-codeblock dark:ring-1 dark:ring-gray-800/50 codeblock-dark"><div class="min-w-full relative text-sm leading-6 children:!my-0 children:!shadow-none children:!bg-transparent transition-[height] duration-300 ease-in-out" style="font-variant-ligatures:none;height:auto"><div class="overflow-x-auto h-full p-5 overflow-y-hidden scrollbar-thin scrollbar-thumb-rounded scrollbar-thumb-white/20 dark:scrollbar-thumb-white/20 hover:scrollbar-thumb-white/25 dark:hover:scrollbar-thumb-white/25 active:scrollbar-thumb-white/25 dark:active:scrollbar-thumb-white/25"><pre class="language-shell"><code class="language-shell"><span class=""><span class="token string">&quot;{{YOUR_API_KEY}}&quot;</span></span> </code></pre></div></div></div> <h2 class="flex whitespace-pre-wrap group" id="3-generate-vectors"><div class="absolute"><a href="#3-generate-vectors" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">3. Generate vectors</span></h2> <p>A <a href="https://www.pinecone.io/learn/vector-embeddings/" target="_blank" rel="noreferrer">vector embedding</a> is a numerical representation of data that enables similarity-based search in vector databases like Pinecone. To convert data into this format, you use an embedding model.</p> <p>For this quickstart, use the <a href="/models/multilingual-e5-large"><code>multilingual-e5-large</code></a> embedding model hosted by Pinecone to <a href="/guides/inference/generate-embeddings">create vector embeddings</a> for sentences related to the word “apple”. Note that some sentences are about the tech company, while others are about the fruit.</p> <!-- --> <p>The returned object looks like this:</p> <!-- --> <h2 class="flex whitespace-pre-wrap group" id="4-create-an-index"><div class="absolute"><a href="#4-create-an-index" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">4. Create an index</span></h2> <p>In Pinecone, you store data in an <a href="/guides/indexes/understanding-indexes">index</a>.</p> <p><a href="/guides/indexes/create-an-index">Create a serverless index</a> that matches the dimension (<code>1024</code>) and similarity metric (<code>cosine</code>) of the <code>multilingual-e5-large</code> model you used in the previous step, and choose a <a href="/guides/indexes/understanding-indexes#cloud-regions">cloud and region</a> for hosting the index:</p> <!-- --> <h2 class="flex whitespace-pre-wrap group" id="5-upsert-vectors"><div class="absolute"><a href="#5-upsert-vectors" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">5. Upsert vectors</span></h2> <p>Target your index and use the <a href="/guides/data/upsert-data"><code>upsert</code></a> operation to load your vector embeddings into a new namespace. <a href="/guides/get-started/key-features#namespaces">Namespaces</a> let you partition records within an index and are essential for <a href="/guides/get-started/implement-multitenancy">implementing multitenancy</a> when you need to isolate the data of each customer/user.</p> <div class="my-4 px-5 py-4 overflow-hidden rounded-xl flex gap-3 border border-sky-500/20 bg-sky-50/50 dark:border-sky-500/30 dark:bg-sky-500/10"><div class="mt-0.5 w-4"><svg width="14" height="14" viewBox="0 0 14 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-sky-500" aria-label="Note"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 1.3C10.14 1.3 12.7 3.86 12.7 7C12.7 10.14 10.14 12.7 7 12.7C5.48908 12.6974 4.0408 12.096 2.97241 11.0276C1.90403 9.9592 1.30264 8.51092 1.3 7C1.3 3.86 3.86 1.3 7 1.3ZM7 0C3.14 0 0 3.14 0 7C0 10.86 3.14 14 7 14C10.86 14 14 10.86 14 7C14 3.14 10.86 0 7 0ZM8 3H6V8H8V3ZM8 9H6V11H8V9Z"></path></svg></div><div class="text-sm prose min-w-0 text-sky-900 dark:text-sky-200"><p>In production, <a href="/guides/data/target-an-index">target an index by its unique DNS host</a>, not by its name.</p></div></div> <!-- --> <div class="my-4 px-5 py-4 overflow-hidden rounded-xl flex gap-3 border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10"><div class="mt-0.5 w-4"><svg width="11" height="14" viewBox="0 0 11 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="text-emerald-600 dark:text-emerald-400/80 w-3.5 h-auto" aria-label="Tip"><path d="M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"></path></svg></div><div class="text-sm prose min-w-0 text-emerald-900 dark:text-emerald-200"><p>To load large amounts of data, <a href="/guides/data/understanding-imports">import from object storage</a> or <a href="/guides/data/upsert-data#upsert-records-in-batches">upsert in large batches</a>.</p></div></div> <p>Pinecone is eventually consistent, so there can be a delay before your upserted records are available to query. Use the <a href="/guides/data/data-freshness/check-data-freshness"><code>describe_index_stats</code></a> operation to check if the current vector count matches the number of vectors you upserted (6):</p> <!-- --> <p>The response looks like this:</p> <!-- --> <h2 class="flex whitespace-pre-wrap group" id="6-search-the-index"><div class="absolute"><a href="#6-search-the-index" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">6. Search the index</span></h2> <p>With data in your index, let’s say you now want to search for information about “Apple” the tech company, not “apple” the fruit.</p> <p>Use the the <code>multilingual-e5-large</code> model to convert your query into a vector embedding, and then use the <a href="/guides/data/query-data"><code>query</code></a> operation to search for the three vectors in the index that are most semantically similar to the query vector:</p> <!-- --> <p>Notice that the response includes only sentences about the tech company, not the fruit:</p> <!-- --> <h2 class="flex whitespace-pre-wrap group" id="7-clean-up"><div class="absolute"><a href="#7-clean-up" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">7. Clean up</span></h2> <p>When you no longer need the <code>example-index</code>, use the <a href="/guides/indexes/delete-an-index"><code>delete_index</code></a> operation to delete it:</p> <!-- --> <div class="my-4 px-5 py-4 overflow-hidden rounded-xl flex gap-3 border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10"><div class="mt-0.5 w-4"><svg width="11" height="14" viewBox="0 0 11 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="text-emerald-600 dark:text-emerald-400/80 w-3.5 h-auto" aria-label="Tip"><path d="M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"></path></svg></div><div class="text-sm prose min-w-0 text-emerald-900 dark:text-emerald-200"><p>For production indexes, consider <a href="/guides/indexes/prevent-index-deletion">enabling deletion protection</a>.</p></div></div> <h2 class="flex whitespace-pre-wrap group" id="next-steps"><div class="absolute"><a href="#next-steps" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100" aria-label="Navigate to header">​<div class="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20"><svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512"><path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path></svg></div></a></div><span class="cursor-pointer">Next steps</span></h2> <ul> <li> <p>Learn about <a href="/guides/get-started/key-features">key features</a> to keep in mind as you start building with Pinecone.</p> </li> <li> <p>Check out <a href="/guides/get-started/build-a-rag-chatbot">tutorials and sample apps</a> for different use cases.</p> </li> </ul></div><div class="leading-6 mt-14"><div class="pb-16 w-full"><div class="flex flex-col gap-y-4 xl:flex-col xl:gap-6 min-[1400px]:flex-row md:flex-row md:justify-end"><div class="flex flex-row gap-5 items-center grow justify-between md:justify-start xl:justify-between min-[1400px]:justify-start"><p class="text-sm text-gray-600 dark:text-gray-400">Was this page helpful?</p><div class="flex flex-row gap-3 items-center"><button class="px-[14px] py-2 flex flex-row gap-[10px] items-center border rounded-lg text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 border-gray-200 dark:border-gray-800 dark:bg-codeblock/50 hover:border-gray-400 hover:dark:border-gray-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" class="fill-current"><path d="M10.1187 1.08741C8.925 0.746789 7.67813 1.43741 7.3375 2.63116L7.15938 3.25616C7.04375 3.66241 6.83438 4.03741 6.55 4.34991L4.94688 6.11241C4.66875 6.41866 4.69062 6.89366 4.99687 7.17179C5.30312 7.44991 5.77813 7.42804 6.05625 7.12179L7.65938 5.35929C8.1 4.87491 8.42188 4.29679 8.6 3.66866L8.77812 3.04366C8.89062 2.64679 9.30625 2.41554 9.70625 2.52804C10.1063 2.64054 10.3344 3.05616 10.2219 3.45616L10.0437 4.08116C9.86562 4.70304 9.58437 5.29054 9.2125 5.81554C9.05 6.04366 9.03125 6.34366 9.15938 6.59366C9.2875 6.84366 9.54375 6.99991 9.825 6.99991H14C14.275 6.99991 14.5 7.22491 14.5 7.49991C14.5 7.71241 14.3656 7.89679 14.175 7.96866C13.9438 8.05616 13.7688 8.24992 13.7094 8.49054C13.65 8.73117 13.7125 8.98429 13.875 9.16866C13.9531 9.25616 14 9.37179 14 9.49991C14 9.74366 13.825 9.94679 13.5938 9.99054C13.3375 10.0405 13.1219 10.2187 13.0312 10.4624C12.9406 10.7062 12.9813 10.9843 13.1438 11.1905C13.2094 11.2749 13.25 11.3812 13.25 11.4999C13.25 11.7093 13.1187 11.8937 12.9312 11.9655C12.5719 12.1062 12.3781 12.4937 12.4812 12.8655C12.4937 12.9062 12.5 12.953 12.5 12.9999C12.5 13.2749 12.275 13.4999 12 13.4999H8.95312C8.55937 13.4999 8.17188 13.3843 7.84375 13.1655L5.91563 11.8812C5.57188 11.6499 5.10625 11.7437 4.875 12.0905C4.64375 12.4374 4.7375 12.8999 5.08437 13.1312L7.0125 14.4155C7.5875 14.7999 8.2625 15.003 8.95312 15.003H12C13.0844 15.003 13.9656 14.1405 14 13.0655C14.4563 12.6999 14.75 12.1374 14.75 11.503C14.75 11.3624 14.7344 11.228 14.7094 11.0968C15.1906 10.7312 15.5 10.153 15.5 9.50304C15.5 9.29991 15.4688 9.10304 15.4125 8.91866C15.775 8.55304 16 8.05304 16 7.49991C16 6.39679 15.1063 5.49991 14 5.49991H11.1156C11.2625 5.17491 11.3875 4.83741 11.4844 4.49366L11.6625 3.86866C12.0031 2.67491 11.3125 1.42804 10.1187 1.08741ZM1 5.99991C0.446875 5.99991 0 6.44679 0 6.99991V13.9999C0 14.553 0.446875 14.9999 1 14.9999H3C3.55313 14.9999 4 14.553 4 13.9999V6.99991C4 6.44679 3.55313 5.99991 3 5.99991H1Z"></path></svg><small class="text-sm font-normal leading-4 ">Yes</small></button><button class="px-[14px] py-2 flex flex-row gap-[10px] items-center border rounded-lg text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 border-gray-200 dark:border-gray-800 dark:bg-codeblock/50 hover:border-gray-400 hover:dark:border-gray-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" class="fill-current"><path d="M10.1187 14.9124C8.925 15.253 7.67813 14.5624 7.3375 13.3687L7.15938 12.7437C7.04375 12.3374 6.83438 11.9624 6.55 11.6499L4.94688 9.8874C4.66875 9.58115 4.69062 9.10615 4.99687 8.82803C5.30312 8.5499 5.77813 8.57178 6.05625 8.87803L7.65938 10.6405C8.1 11.1249 8.42188 11.703 8.6 12.3312L8.77812 12.9562C8.89062 13.353 9.30625 13.5843 9.70625 13.4718C10.1063 13.3593 10.3344 12.9437 10.2219 12.5437L10.0437 11.9187C9.86562 11.2968 9.58437 10.7093 9.2125 10.1843C9.05 9.95615 9.03125 9.65615 9.15938 9.40615C9.2875 9.15615 9.54375 8.9999 9.825 8.9999H14C14.275 8.9999 14.5 8.7749 14.5 8.4999C14.5 8.2874 14.3656 8.10303 14.175 8.03115C13.9438 7.94365 13.7688 7.7499 13.7094 7.50928C13.65 7.26865 13.7125 7.01553 13.875 6.83115C13.9531 6.74365 14 6.62803 14 6.4999C14 6.25615 13.825 6.05303 13.5938 6.00928C13.3375 5.95928 13.1219 5.78115 13.0312 5.53428C12.9406 5.2874 12.9813 5.0124 13.1438 4.80615C13.2094 4.72178 13.25 4.61553 13.25 4.49678C13.25 4.2874 13.1187 4.10303 12.9312 4.03115C12.5719 3.89053 12.3781 3.50303 12.4812 3.13115C12.4937 3.09053 12.5 3.04365 12.5 2.99678C12.5 2.72178 12.275 2.49678 12 2.49678H8.95312C8.55937 2.49678 8.17188 2.6124 7.84375 2.83115L5.91563 4.11553C5.57188 4.34678 5.10625 4.25303 4.875 3.90615C4.64375 3.55928 4.7375 3.09678 5.08437 2.86553L7.0125 1.58115C7.5875 1.19678 8.2625 0.993652 8.95312 0.993652H12C13.0844 0.993652 13.9656 1.85615 14 2.93115C14.4563 3.29678 14.75 3.85928 14.75 4.49365C14.75 4.63428 14.7344 4.76865 14.7094 4.8999C15.1906 5.26553 15.5 5.84365 15.5 6.49365C15.5 6.69678 15.4688 6.89365 15.4125 7.07803C15.775 7.44678 16 7.94678 16 8.4999C16 9.60303 15.1063 10.4999 14 10.4999H11.1156C11.2625 10.8249 11.3875 11.1624 11.4844 11.5062L11.6625 12.1312C12.0031 13.3249 11.3125 14.5718 10.1187 14.9124ZM1 11.9999C0.446875 11.9999 0 11.553 0 10.9999V3.9999C0 3.44678 0.446875 2.9999 1 2.9999H3C3.55313 2.9999 4 3.44678 4 3.9999V10.9999C4 11.553 3.55313 11.9999 3 11.9999H1Z"></path></svg><small class="text-sm font-normal leading-4 ">No</small></button></div></div><div class="flex flex-row gap-3 justify-end"></div></div></div><div class="mb-12 px-0.5 flex items-center text-sm font-semibold text-gray-700 dark:text-gray-200"><a class="flex items-center space-x-3 group" href="/guides/get-started/overview"><svg viewBox="0 0 3 6" class="h-1.5 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="group-hover:text-gray-900 dark:group-hover:text-white">Overview</span></a><a class="flex items-center ml-auto space-x-3 group" href="/guides/get-started/assistant-quickstart"><span class="group-hover:text-gray-900 dark:group-hover:text-white">Assistant quickstart</span><svg viewBox="0 0 3 6" class="rotate-180 h-1.5 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></div><footer id="footer" class="flex gap-12 justify-between pt-10 border-t border-gray-100 sm:flex dark:border-gray-800/50 pb-28"><div class="flex gap-6"><a href="https://twitter.com/pinecone?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor" target="_blank"><span class="sr-only">twitter</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/twitter.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a><a href="https://www.linkedin.com/company/pinecone-io/" target="_blank"><span class="sr-only">linkedin</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/linkedin.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a></div></footer></div></div><div class="z-10 hidden xl:flex pl-10 box-border w-[19rem]" id="table-of-contents"><div id="table-of-contents-content" class="fixed text-gray-600 text-sm leading-6 w-[16.5rem] overflow-y-auto space-y-2 h-[calc(100%-10rem)]"><div class="text-gray-700 dark:text-gray-300 font-medium flex items-center space-x-2"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg" class="h-3 w-3"><path d="M2.44434 12.6665H13.5554" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2.44434 3.3335H13.5554" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2.44434 8H7.33323" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>On this page</span></div><ul><li><a href="#1-install-an-sdk" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">1. Install an SDK</a></li><li><a href="#2-get-an-api-key" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">2. Get an API key</a></li><li><a href="#3-generate-vectors" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">3. Generate vectors</a></li><li><a href="#4-create-an-index" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">4. Create an index</a></li><li><a href="#5-upsert-vectors" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">5. Upsert vectors</a></li><li><a href="#6-search-the-index" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">6. Search the index</a></li><li><a href="#7-clean-up" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">7. Clean up</a></li><li><a href="#next-steps" class="py-1 block hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300">Next steps</a></li></ul></div></div></div></div></div></div></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"mdxSource":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n a: \"a\",\n pre: \"pre\",\n code: \"code\",\n span: \"span\",\n ul: \"ul\",\n li: \"li\"\n }, _provideComponents(), props.components), {Tip, Heading, CodeGroup, CodeBlock, Note} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n if (!CodeGroup) _missingMdxReference(\"CodeGroup\", true);\n if (!Heading) _missingMdxReference(\"Heading\", true);\n if (!Note) _missingMdxReference(\"Note\", true);\n if (!Tip) _missingMdxReference(\"Tip\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"This guide shows you how to set up and use Pinecone Database for high-performance similarity search.\"\n }), \"\\n\", _jsx(Tip, {\n children: _jsxs(_components.p, {\n children: [\"To get started in your browser, use the \", _jsx(_components.a, {\n href: \"https://colab.research.google.com/github/pinecone-io/examples/blob/master/docs/pinecone-quickstart.ipynb\",\n children: \"Quickstart colab notebook\"\n }), \". To try Pinecone Database locally before creating an account, use \", _jsx(_components.a, {\n href: \"/guides/operations/local-development\",\n children: \"Pinecone Local\"\n }), \".\"]\n })\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"1-install-an-sdk\",\n children: \"1. Install an SDK\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.a, {\n href: \"/reference/pinecone-sdks\",\n children: \"Pinecone SDKs\"\n }), \" provide convenient programmatic access to the \", _jsx(_components.a, {\n href: \"/reference/api/introduction\",\n children: \"Pinecone APIs\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Install the SDK for your preferred language:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"pip install \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"pinecone[grpc]\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# To install without gRPC run:\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# pip3 install pinecone\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"npm install @pinecone\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"database\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"pinecone\"]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Maven\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"dependency\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"groupId\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"groupId\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"artifactId\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"client\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"artifactId\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"version\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"3.0\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \".0\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"version\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"dependency\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Gradle\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"implementation \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"io.pinecone:pinecone-client:3.0.0\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Add a dependency to the current module:\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: \"go get github.com/pinecone-io/go-pinecone/pinecone\"\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Add a package reference to the current project file:\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"dotnet \", _jsx(_components.span, {\n className: \"token function\",\n children: \"add\"\n }), \" package Pinecone.Client \"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"2-get-an-api-key\",\n children: \"2. Get an API key\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"You need an API key to make calls to your Pinecone project.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Create a new API key in the \", _jsx(_components.a, {\n href: \"https://app.pinecone.io/organizations/-/keys\",\n children: \"Pinecone console\"\n }), \", or use the widget below to generate a key. If you don’t have a Pinecone account, the widget will sign you up for the free \", _jsx(_components.a, {\n href: \"https://www.pinecone.io/pricing/\",\n children: \"Starter plan\"\n }), \".\"]\n }), \"\\n\", _jsx(\"div\", {\n style: {\n minWidth: '450px',\n minHeight: '152px'\n },\n children: _jsx(\"div\", {\n id: \"pinecone-connect-widget\",\n children: _jsx(\"div\", {\n class: \"connect-widget-skeleton\",\n children: _jsx(\"div\", {\n class: \"skeleton-content\"\n })\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Your generated API key:\"\n }), \"\\n\", _jsx(CodeBlock, {\n filename: \"\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"{{YOUR_API_KEY}}\\\"\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"3-generate-vectors\",\n children: \"3. Generate vectors\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A \", _jsx(_components.a, {\n href: \"https://www.pinecone.io/learn/vector-embeddings/\",\n children: \"vector embedding\"\n }), \" is a numerical representation of data that enables similarity-based search in vector databases like Pinecone. To convert data into this format, you use an embedding model.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For this quickstart, use the \", _jsx(_components.a, {\n href: \"/models/multilingual-e5-large\",\n children: _jsx(_components.code, {\n children: \"multilingual-e5-large\"\n })\n }), \" embedding model hosted by Pinecone to \", _jsx(_components.a, {\n href: \"/guides/inference/generate-embeddings\",\n children: \"create vector embeddings\"\n }), \" for sentences related to the word “apple”. Note that some sentences are about the tech company, while others are about the fruit.\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Import the Pinecone library\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"grpc \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" PineconeGRPC \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"as\"\n }), \" Pinecone\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" pinecone \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" ServerlessSpec\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" time\"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Initialize a Pinecone client with your API key\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"pc \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" Pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"api_key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Define a sample dataset where each item has a unique ID and piece of text\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Convert the text into numerical vectors that Pinecone can index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"embeddings \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"embed\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" inputs\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" d \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"in\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"print\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Import the Pinecone library\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword module\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token imports\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token maybe-class-name\",\n children: \"Pinecone\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \" \", _jsx(_components.span, {\n className: \"token keyword module\",\n children: \"from\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'@pinecone-database/pinecone'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" pc \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Pinecone\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"apiKey\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'YOUR_API_KEY'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define a sample dataset where each item has a unique ID and piece of text\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec1'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple is a popular fruit known for its sweetness and crisp texture.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec2'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'The tech company Apple is known for its innovative products like the iPhone.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec3'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Many people enjoy eating apples as a healthy snack.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec4'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec5'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'An apple a day keeps the doctor away, as the saying goes.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec6'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the text into numerical vectors that Pinecone can index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" model \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'multilingual-e5-large'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" embeddings \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"inference\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token parameter\",\n children: \"d\"\n }), \" \", _jsx(_components.span, {\n className: \"token arrow operator\",\n children: \"=\u003e\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"inputType\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'passage'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"truncate\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'END'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token console class-name\",\n children: \"console\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"log\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Import the required classes\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"clients\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Index\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"clients\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Inference\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"clients\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Pinecone\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"org\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"openapitools\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"client\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ApiException\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"org\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"openapitools\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"client\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"java\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"math\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"BigDecimal\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"java\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"util\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"java\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"util\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"stream\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collectors\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"GenerateEmbeddings\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"static\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"void\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"main\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" args\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"throws\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ApiException\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Pinecone\"\n }), \" pc \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsxs(_components.span, {\n className: \"token class-name\",\n children: [\"Pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Builder\"]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"build\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Inference\"\n }), \" inference \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getInferenceClient\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare input sentences to be embedded\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Arrays\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"asList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" inputs \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"stream\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"::\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getText\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"collect\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collectors\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"toList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Specify the embedding model and parameters\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" embeddingModel \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Map\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" parameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"HashMap\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the text into numerical vectors that Pinecone can index\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" embeddingsList \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" inputs\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getData\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"private\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"static\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Float\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"convertBigDecimalToFloat\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"BigDecimal\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" bigDecimalValues\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" bigDecimalValues\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"stream\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"BigDecimal\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"::\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"floatValue\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"collect\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collectors\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"toList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"private\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"private\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"this\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"this\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"getId\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"getText\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"package\"\n }), \" main\"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Import the required packages\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"context\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \\t\", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"encoding/json\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"fmt\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"log\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"github.com/pinecone-io/go-pinecone/pinecone\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"type\"\n }), \" Data \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"struct\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" ID \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"type\"\n }), \" Query \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"struct\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"\\tText \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"func\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"obj \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"interface\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" bytes\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"_\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" json\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"MarshalIndent\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"obj\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\" \\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"string\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"bytes\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"func\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"main\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" ctx \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" context\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Background\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"NewClient\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"NewClientParams\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" ApiKey\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create Client: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define a sample dataset where each item has a unique ID and piece of text\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Specify the embedding model and parameters\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" embeddingModel \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" docParameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the text into numerical vectors that Pinecone can index\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n }), \" documents \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"_\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" d \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"range\"\n }), \" data \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" documents \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"append\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"documents\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" docEmbeddingsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TextInputs\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" documents\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" docParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to embed documents: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"docEmbeddingsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"using\"\n }), \" \", _jsx(_components.span, {\n className: \"token namespace\",\n children: \"Pinecone\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"using\"\n }), \" \", _jsx(_components.span, {\n className: \"token namespace\",\n children: \"System\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"using\"\n }), \" \", _jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"System\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Collections\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Generic\"]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" pinecone \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"PineconeClient\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare input sentences to be embedded\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Specify the embedding model and parameters\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" embeddingModel \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Generate embeddings for the input data\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" embeddings \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"EmbedAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Inputs \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"item \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"EmbedRequestInputsItem\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" item\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequestParameters\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"Console\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"WriteLine\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" https://api.pinecone.io/embed \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Content-Type: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"parameters\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"inputs\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The returned object looks like this:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"EmbeddingsList\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'multilingual-e5-large'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" usage\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'total_tokens'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: _jsx(_components.span, {\n className: \"token maybe-class-name\",\n children: \"EmbeddingsList\"\n })\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"1\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token spread operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token spread operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"model\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'multilingual-e5-large'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"data\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Array\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"usage\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"totalTokens\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"EmbeddingsList\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" multilingual\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"e5\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"large\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" additionalProperties\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" usage\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"EmbeddingsListUsage\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" totalTokens\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" additionalProperties\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" additionalProperties\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"data\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.03942871\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.010177612\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.046051025\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"total_tokens\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"data\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04913330078125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01306915283203125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01116180419921875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token range operator\",\n children: \"..\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token range operator\",\n children: \"..\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"total_tokens\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-json\",\n children: _jsxs(_components.code, {\n className: \"language-json\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"data\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"-0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"-0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: \" ...\"\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: \" ...\"\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"total_tokens\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"4-create-an-index\",\n children: \"4. Create an index\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"In Pinecone, you store data in an \", _jsx(_components.a, {\n href: \"/guides/indexes/understanding-indexes\",\n children: \"index\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.a, {\n href: \"/guides/indexes/create-an-index\",\n children: \"Create a serverless index\"\n }), \" that matches the dimension (\", _jsx(_components.code, {\n children: \"1024\"\n }), \") and similarity metric (\", _jsx(_components.code, {\n children: \"cosine\"\n }), \") of the \", _jsx(_components.code, {\n children: \"multilingual-e5-large\"\n }), \" model you used in the previous step, and choose a \", _jsx(_components.a, {\n href: \"/guides/indexes/understanding-indexes#cloud-regions\",\n children: \"cloud and region\"\n }), \" for hosting the index:\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"index_name \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"not\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"has_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"create_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" name\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" dimension\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metric\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cosine\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" spec\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"ServerlessSpec\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" cloud\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'aws'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" region\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'us-east-1'\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Wait for the index to be ready\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"while\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"not\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"describe_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"status\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'ready'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" time\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"sleep\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"1\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-js\",\n children: _jsxs(_components.code, {\n className: \"language-js\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"createIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"name\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"dimension\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metric\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'cosine'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"spec\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"serverless\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"cloud\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'aws'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"region\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'us-east-1'\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" \"]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index \"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"createServerlessIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cosine\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"aws\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DeletionProtection\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token constant\",\n children: \"DISABLED\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"idx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"CreateServerlessIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"CreateServerlessIndexRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Dimension\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metric\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Cosine\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Cloud\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Aws\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Region\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create serverless index: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Successfully created serverless index: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" idx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" createIndexRequest \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"CreateIndexAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" CreateIndexRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Name \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Dimension \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metric \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" CreateIndexRequestMetric\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Cosine\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Spec \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" ServerlessIndexSpec\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Serverless \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" ServerlessSpec\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Cloud \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" ServerlessSpecCloud\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Aws\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Region \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" DeletionProtection \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" DeletionProtection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Disabled\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-s\"\n }), \" https://api.pinecone.io/indexes \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Accept: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Content-Type: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"name\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metric\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cosine\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"spec\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"serverless\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cloud\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"aws\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"region\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"5-upsert-vectors\",\n children: \"5. Upsert vectors\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Target your index and use the \", _jsx(_components.a, {\n href: \"/guides/data/upsert-data\",\n children: _jsx(_components.code, {\n children: \"upsert\"\n })\n }), \" operation to load your vector embeddings into a new namespace. \", _jsx(_components.a, {\n href: \"/guides/get-started/key-features#namespaces\",\n children: \"Namespaces\"\n }), \" let you partition records within an index and are essential for \", _jsx(_components.a, {\n href: \"/guides/get-started/implement-multitenancy\",\n children: \"implementing multitenancy\"\n }), \" when you need to isolate the data of each customer/user.\"]\n }), \"\\n\", _jsx(Note, {\n children: _jsxs(_components.p, {\n children: [\"In production, \", _jsx(_components.a, {\n href: \"/guides/data/target-an-index\",\n children: \"target an index by its unique DNS host\"\n }), \", not by its name.\"]\n })\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" e \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"in\"\n }), \" \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"zip\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"append\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" e\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Upsert the records into the index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"upsert\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" vectors\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"index\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-index'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsxs(_components.span, {\n className: \"token parameter\",\n children: [\"d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" i\"]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token arrow operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"text\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Upsert the vectors into the index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"namespace\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"upsert\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"Index\"\n }), \" index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getIndexConnection\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare and upsert the records into the index\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"int\"\n }), \" i\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" i\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), \"data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"size\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" i\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"++\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"upsert\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"get\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getId\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"convertBigDecimalToFloat\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddingsList\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"get\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getValues\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"idxModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DescribeIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to describe index \\\\\\\"%v\\\\\\\": %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"idxConnection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Index\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"NewIndexConnParams\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"Host\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" idxModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Host\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Namespace\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create IndexConnection for Host %v: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" idxModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Host\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n }), \" records \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Vector\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" i \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"range\"\n }), \" data \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadataMap \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"interface\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" structpb\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"NewStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"metadataMap\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create metadata map. Error: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" embedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"docEmbeddingsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"append\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Vector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" metadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Upsert the records into the index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"count\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" idxConnection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"UpsertVectors\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to upsert vectors: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Successfully upserted %d vector(s)!\\\\n\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" count\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store these vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Index\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" embeddedData \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsxs(_components.span, {\n className: \"token class-name\",\n children: [\"List\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"Vector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddedData\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" embeddingIndex\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" Vector\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"embeddingIndex\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// embedding.Values is a list of doubles, but Vector.Values must be a ReadOnlyMemory\u003cfloat\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Values \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsxs(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: [\"ReadOnlyMemory\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"float\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"?.\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"Convert\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"ToSingle\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToArray\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metadata \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" Metadata\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"embeddingIndex\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" upsertResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"UpsertAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" UpsertRequest\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Vectors \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Namespace \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# The `POST` requests below uses the unique endpoint for an index.\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# See https://docs.pinecone.io/guides/data/target-an-index for details.\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"INDEX_HOST\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"INDEX_HOST\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-X\"\n }), \" POST \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"https://\", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$INDEX_HOST\"\n }), \"/vectors/upsert\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Content-Type: application/json'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vectors\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), \", \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0029296875\"\n }), \", \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Tip, {\n children: _jsxs(_components.p, {\n children: [\"To load large amounts of data, \", _jsx(_components.a, {\n href: \"/guides/data/understanding-imports\",\n children: \"import from object storage\"\n }), \" or \", _jsx(_components.a, {\n href: \"/guides/data/upsert-data#upsert-records-in-batches\",\n children: \"upsert in large batches\"\n }), \".\"]\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Pinecone is eventually consistent, so there can be a delay before your upserted records are available to query. Use the \", _jsx(_components.a, {\n href: \"/guides/data/data-freshness/check-data-freshness\",\n children: _jsx(_components.code, {\n children: \"describe_index_stats\"\n })\n }), \" operation to check if the current vector count matches the number of vectors you upserted (6):\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"time\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"sleep\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"10\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Wait for the upserted vectors to be indexed\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"print\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"describe_index_stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" stats \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"describeIndexStats\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token console class-name\",\n children: \"console\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"log\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"Thread\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"sleep\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"10000\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Wait for the upserted vectors to be indexed\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"DescribeIndexStatsResponse\"\n }), \" indexStatsResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"describeIndexStats\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"System\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"out\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"println\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexStatsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" idxConnection1\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DescribeIndexStats\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to describe index \\\\\\\"%v\\\\\\\": %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" idx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"%+v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" indexStatsResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DescribeIndexStatsAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"DescribeIndexStatsRequest\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"Console\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"WriteLine\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexStatsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# The `POST` request below uses the unique endpoint for an index.\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# See https://docs.pinecone.io/guides/data/target-an-index for details.\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"INDEX_HOST\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"INDEX_HOST\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-X\"\n }), \" POST \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"https://\", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$INDEX_HOST\"\n }), \"/describe_index_stats\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The response looks like this:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'dimension'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'index_fullness'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'namespaces'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'vector_count'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'total_vector_count'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"namespaces\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" example\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"recordCount\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"dimension\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"indexFullness\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.00008\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"totalRecordCount\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"namespaces \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" vector_count\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"dimension\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"total_vector_count\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"index_fullness\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"total_vector_count\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespaces\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector_count\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespaces\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"indexFullness\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"totalVectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-json\",\n children: _jsxs(_components.code, {\n className: \"language-json\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"namespaces\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"vectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"indexFullness\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.00008\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"totalVectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"6-search-the-index\",\n children: \"6. Search the index\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"With data in your index, let’s say you now want to search for information about “Apple” the tech company, not “apple” the fruit.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Use the the \", _jsx(_components.code, {\n children: \"multilingual-e5-large\"\n }), \" model to convert your query into a vector embedding, and then use the \", _jsx(_components.a, {\n href: \"/guides/data/query-data\",\n children: _jsx(_components.code, {\n children: \"query\"\n })\n }), \" operation to search for the three vectors in the index that are most semantically similar to the query vector:\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"query_embedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"embed\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" inputs\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"results \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" vector\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"query_embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" top_k\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" include_values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token boolean\",\n children: \"False\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" include_metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token boolean\",\n children: \"True\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"print\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"results\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Tell me about the tech company known as Apple.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" queryEmbedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"inference\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"inputType\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'query'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" queryResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"namespace\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"query\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"topK\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"vector\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"includeValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"includeMetadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token console class-name\",\n children: \"console\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"log\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collections\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"singletonList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"Map\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" queryParameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"HashMap\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" queryVector \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getData\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"QueryResponseWithUnsignedIndices\"\n }), \" queryResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"query\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"convertBigDecimalToFloat\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryVector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"get\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getValues\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"System\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"out\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"println\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \"Query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryParameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TextInputs\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to embed query: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryVector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"res\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" idxConnection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"QueryByVectorValues\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"QueryByVectorValuesRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Vector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TopK\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeValues\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeMetadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Error encountered when querying by vector: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"res\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Generate embedding for the query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" queryEmbedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"EmbedAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Inputs \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"item \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"EmbedRequestInputsItem\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" item\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequestParameters\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" queryVector \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" queryResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"QueryAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" QueryRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Vector \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsxs(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: [\"ReadOnlyMemory\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"float\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryVector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"?.\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"Convert\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"ToSingle\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToArray\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Namespace \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TopK \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeValues \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeMetadata \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"Console\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"WriteLine\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" https://api.pinecone.io/embed \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Content-Type: application/json'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"parameters\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"inputs\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# The `POST` request below uses the unique endpoint for an index.\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# See https://docs.pinecone.io/guides/data/target-an-index for details.\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"INDEX_HOST\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"INDEX_HOST\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"https://\", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$INDEX_HOST\"\n }), \"/query\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Content-Type: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"EMBEDDING\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"topK\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"includeValues\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Notice that the response includes only sentences about the tech company, not the fruit:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'matches'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec2'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'metadata'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'The tech company Apple is known for its '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'innovative products like the iPhone.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'score'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'sparse_values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'indices'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec4'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'metadata'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Inc. has revolutionized the tech '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'industry with its sleek designs and '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'user-friendly interfaces.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'score'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'sparse_values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'indices'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec6'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'metadata'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Computer Company was founded on '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'April 1, 1976, by Steve Jobs, Steve '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Wozniak, and Ronald Wayne as a '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'partnership.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'score'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'sparse_values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'indices'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'usage'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'read_units'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"matches\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec2'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"score\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"sparseValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword nil\",\n children: \"undefined\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec4'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"score\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.852609873\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"sparseValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword nil\",\n children: \"undefined\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec6'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"score\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.84997189\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"sparseValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword nil\",\n children: \"undefined\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"namespace\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"usage\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"readUnits\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"QueryResponseWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" matches\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ScoredVectorWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" score\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" id\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" vec2\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" fields \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" string_value\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \" \", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" sparseValuesWithUnsignedIndices\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"SparseValuesWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" indicesWithUnsigned32Int\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ScoredVectorWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" score\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" id\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" vec4\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" fields \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" string_value\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \" \", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" sparseValuesWithUnsignedIndices\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"SparseValuesWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" indicesWithUnsigned32Int\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ScoredVectorWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" score\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" id\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" vec6\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" fields \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" string_value\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \" \", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" sparseValuesWithUnsignedIndices\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"SparseValuesWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" indicesWithUnsigned32Int\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" usage\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" read_units\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"matches\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"read_units\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"results\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"matches\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.87314725\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8537178\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.84990895\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"readUnits\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-json\",\n children: _jsxs(_components.code, {\n className: \"language-json\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"matches\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"read_units\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"7-clean-up\",\n children: \"7. Clean up\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"When you no longer need the \", _jsx(_components.code, {\n children: \"example-index\"\n }), \", use the \", _jsx(_components.a, {\n href: \"/guides/indexes/delete-an-index\",\n children: _jsx(_components.code, {\n children: \"delete_index\"\n })\n }), \" operation to delete it:\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"delete_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"deleteIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"deleteIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DeleteIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to delete index: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Println\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Index \\\\\\\"%v\\\\\\\" deleted successfully\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DeleteIndexAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-X\"\n }), \" DELETE \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"https://api.pinecone.io/indexes/example-index\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Accept: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Tip, {\n children: _jsxs(_components.p, {\n children: [\"For production indexes, consider \", _jsx(_components.a, {\n href: \"/guides/indexes/prevent-index-deletion\",\n children: \"enabling deletion protection\"\n }), \".\"]\n })\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"next-steps\",\n children: \"Next steps\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [\"Learn about \", _jsx(_components.a, {\n href: \"/guides/get-started/key-features\",\n children: \"key features\"\n }), \" to keep in mind as you start building with Pinecone.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [\"Check out \", _jsx(_components.a, {\n href: \"/guides/get-started/build-a-rag-chatbot\",\n children: \"tutorials and sample apps\"\n }), \" for different use cases.\"]\n }), \"\\n\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{"mintConfig":{"$schema":"https://mintlify.com/schema.json","name":"Pinecone Docs","logo":"https://mintlify.s3.us-west-1.amazonaws.com/pinecone-2/logo/light.svg","favicon":"/favicon-512.png","openapi":["openapi/control_2024-10.yaml","openapi/control_2024-07.yaml","openapi/control_2024-04.yaml","openapi/data_2024-10.yaml","openapi/data_2024-07.yaml","openapi/data_2024-04.yaml","openapi/inference_2024-10.yaml","openapi/assistant-data_unstable.yaml","openapi/assistant-control_unstable.yaml","openapi/assistant-data_evaluation_unstable.yaml","openapi/control_unstable.yaml","openapi/data_unstable.yaml"],"api":{"playground":{"mode":"simple"}},"modeToggle":{"default":"light","isHidden":true},"versions":[{"name":"2024-10 (latest)","default":true},{"name":"2024-07"},{"name":"2024-04"}],"metadata":{"og:image":"https://www.pinecone.io/images/docs_og_image.png","twitter:title":"The vector database to build knowledgeable AI | Pinecone","twitter:description":"Search through billions of items for similar matches to any object, in milliseconds. It's the next generation of search, an API call away.","twitter:site":"@pinecone","twitter:image":"https://www.pinecone.io/images/docs_og_image.png"},"colors":{"primary":"#1C17FF","light":"#504CFF","dark":"#1C17FF","background":{"light":"#FBFBFC"}},"topbarCtaButton":{"name":"Sign up free","url":"https://app.pinecone.io/?sessionType=signup"},"topbarLinks":[{"url":"https://status.pinecone.io","name":"Status","_id":"674603e09671c4d550ba39e1"},{"url":"https://app.pinecone.io/organizations/-/settings/support","name":"Support","_id":"674603e09671c4d550ba39e2"},{"url":"https://app.pinecone.io/?sessionType=login","name":"Log In","_id":"674603e09671c4d550ba39e3"}],"navigation":[{"group":"Get started","pages":["guides/get-started/overview","guides/get-started/quickstart","guides/get-started/assistant-quickstart","guides/get-started/key-features",{"group":"Tutorials","pages":["guides/get-started/build-a-rag-chatbot","guides/get-started/implement-multitenancy","guides/get-started/semantic-search","guides/get-started/image-search","guides/get-started/multimodal-search","guides/get-started/recommender","guides/get-started/threat-detection","guides/get-started/examples"]},"guides/get-started/glossary"]},{"group":"Indexes","pages":["guides/indexes/understanding-indexes","guides/indexes/create-an-index","guides/indexes/migrate-a-pod-based-index-to-serverless","guides/indexes/view-index-information",{"group":"Back up and restore","pages":["guides/indexes/understanding-backups-and-collections","guides/indexes/back-up-an-index","guides/indexes/restore-an-index"]},"guides/indexes/delete-an-index","guides/indexes/prevent-index-deletion","guides/indexes/tag-an-index","guides/indexes/use-namespaces","guides/indexes/configure-an-index","guides/indexes/choose-a-pod-type-and-size","guides/indexes/scale-pod-based-indexes"]},{"group":"Data","pages":["guides/data/upsert-data","guides/data/query-data","guides/data/fetch-data","guides/data/update-data","guides/data/delete-data",{"group":"Import data","pages":["guides/data/understanding-imports","guides/data/import-data"]},"guides/data/list-record-ids","guides/data/target-an-index","guides/data/understanding-metadata","guides/data/manage-rag-documents",{"group":"Data freshness","pages":["guides/data/data-freshness/understanding-data-freshness","guides/data/data-freshness/check-data-freshness"]},{"group":"Hybrid search and sparse vectors","pages":["guides/data/understanding-hybrid-search","guides/data/encode-sparse-vectors","guides/data/upsert-sparse-dense-vectors","guides/data/query-sparse-dense-vectors"]}]},{"group":"Inference","pages":["guides/inference/understanding-inference","guides/inference/generate-embeddings","guides/inference/rerank"]},{"group":"Assistant","pages":["guides/assistant/understanding-assistant","guides/assistant/create-assistant","guides/assistant/upload-file","guides/assistant/chat-with-assistant","guides/assistant/manage-assistants","guides/assistant/manage-files",{"group":"Evaluate answers","pages":["guides/assistant/understanding-evaluation","guides/assistant/evaluate-answers"]},{"group":"Retrieve context snippets","pages":["guides/assistant/understanding-context-snippets","guides/assistant/retrieve-context-snippets"]}]},{"group":"Operations","pages":["guides/operations/local-development","guides/operations/automated-testing","guides/operations/move-to-production","guides/operations/performance-tuning",{"group":"Security","pages":["guides/operations/understanding-security","guides/organizations/configure-single-sign-on/okta","guides/operations/configure-cmek","guides/operations/connect-to-aws-privatelink"]},{"group":"Integrate with cloud storage","pages":["guides/operations/integrations/manage-storage-integrations","guides/operations/integrations/integrate-with-amazon-s3"]},"guides/operations/monitoring"]},{"group":"Organizations","pages":["guides/organizations/understanding-organizations",{"group":"Manage billing","pages":["guides/organizations/manage-billing/changing-your-billing-plan","guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace","guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace","guides/organizations/manage-billing/understanding-subscription-status"]},{"group":"Manage cost","pages":["guides/organizations/manage-cost/understanding-cost","guides/organizations/manage-cost/monitor-your-usage","guides/organizations/manage-cost/manage-cost"]},"guides/organizations/manage-organization-members"]},{"group":"Projects","pages":["guides/projects/understanding-projects","guides/projects/create-a-project","guides/projects/manage-api-keys","guides/projects/manage-project-members","guides/projects/rename-a-project"]},{"group":"APIs","pages":["reference/api/introduction","reference/api/authentication","reference/api/errors","reference/api/versioning"]},{"group":"Database","version":"2024-10 (latest)","pages":[{"group":"Indexes","pages":["reference/api/2024-10/control-plane/list_indexes","reference/api/2024-10/control-plane/create_index","reference/api/2024-10/control-plane/describe_index","reference/api/2024-10/control-plane/delete_index","reference/api/2024-10/control-plane/configure_index","reference/api/2024-10/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-10/data-plane/upsert","reference/api/2024-10/data-plane/query","reference/api/2024-10/data-plane/fetch","reference/api/2024-10/data-plane/update","reference/api/2024-10/data-plane/delete","reference/api/2024-10/data-plane/list"]},{"group":"Imports","pages":["reference/api/2024-10/data-plane/start_import","reference/api/2024-10/data-plane/list_imports","reference/api/2024-10/data-plane/describe_import","reference/api/2024-10/data-plane/cancel_import"]},{"group":"Backups","pages":["reference/api/2024-07/control-plane/list_collections","reference/api/2024-07/control-plane/create_collection","reference/api/2024-07/control-plane/describe_collection","reference/api/2024-07/control-plane/delete_collection"]}]},{"group":"Database","version":"2024-07","pages":[{"group":"Indexes","pages":["reference/api/2024-10/control-plane/list_indexes","reference/api/2024-10/control-plane/create_index","reference/api/2024-10/control-plane/describe_index","reference/api/2024-10/control-plane/delete_index","reference/api/2024-10/control-plane/configure_index","reference/api/2024-10/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-07/data-plane/upsert","reference/api/2024-07/data-plane/query","reference/api/2024-07/data-plane/fetch","reference/api/2024-07/data-plane/update","reference/api/2024-07/data-plane/delete","reference/api/2024-07/data-plane/list"]},{"group":"Backups","pages":["reference/api/2024-07/control-plane/list_collections","reference/api/2024-07/control-plane/create_collection","reference/api/2024-07/control-plane/describe_collection","reference/api/2024-07/control-plane/delete_collection"]}]},{"group":"Database","version":"2024-04","pages":[{"group":"Indexes","pages":["reference/api/2024-04/control-plane/list_indexes","reference/api/2024-04/control-plane/create_index","reference/api/2024-04/control-plane/describe_index","reference/api/2024-04/control-plane/delete_index","reference/api/2024-04/control-plane/configure_index","reference/api/2024-04/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-04/data-plane/upsert","reference/api/2024-04/data-plane/query","reference/api/2024-04/data-plane/fetch","reference/api/2024-04/data-plane/update","reference/api/2024-04/data-plane/delete","reference/api/2024-04/data-plane/list"]},{"group":"Backups","pages":["reference/api/2024-04/control-plane/list_collections","reference/api/2024-04/control-plane/create_collection","reference/api/2024-04/control-plane/describe_collection","reference/api/2024-04/control-plane/delete_collection"]}]},{"group":"Inference","version":"2024-10 (latest)","pages":[{"group":"Embed","pages":["reference/api/2024-10/inference/generate-embeddings"]},{"group":"Rerank","pages":["reference/api/2024-10/inference/rerank"]}]},{"group":"Inference","version":"2024-07","pages":[{"group":"Embed","pages":["reference/api/2024-10/inference/generate-embeddings"]}]},{"group":"Assistant","pages":[{"group":"Assistants","pages":["reference/api/assistant/list_assistants","reference/api/assistant/create_assistant","reference/api/assistant/get_assistant","reference/api/assistant/update_assistant","reference/api/assistant/delete_assistant"]},{"group":"Files","pages":["reference/api/assistant/list_files","reference/api/assistant/create_file","reference/api/assistant/describe_file","reference/api/assistant/delete_file"]},{"group":"Chat","pages":["reference/api/assistant/chat_assistant","reference/api/assistant/chat_completion_assistant"]},{"group":"Evaluation","pages":["reference/api/assistant/metrics_alignment"]},{"group":"Context snippets","pages":["reference/api/assistant/context_assistant"]}]},{"group":"SDKs","pages":["reference/pinecone-sdks","reference/python-sdk","reference/node-sdk","reference/java-sdk","reference/go-sdk","reference/dotnet-sdk","reference/rust-sdk"]},{"group":"Tools","pages":["reference/tools/pinecone-text-client","reference/tools/pinecone-spark-connector"]},{"group":"Architecture","pages":["reference/architecture/serverless-architecture","reference/architecture/pod-based-architecture"]},{"group":"Miscellaneous","pages":["reference/object-identifiers","reference/quotas-and-limits","reference/known-limitations"]},{"group":"Examples","pages":["examples/notebooks","examples/sample-apps","examples/reference-architectures"]},{"group":"Models","pages":["models/overview"]},{"group":"","pages":["integrations/overview"]},{"group":"Connect an integration","pages":[{"group":"Data sources","pages":["integrations/airbyte","integrations/apify","integrations/aryn","integrations/confluent","integrations/databricks","integrations/datavolo","integrations/elasticsearch","integrations/estuary","integrations/fleak","integrations/flowise","integrations/gathr","integrations/matillion","integrations/nexla","integrations/redpanda","integrations/snowflake","integrations/streamnative","integrations/unstructured"]},{"group":"Frameworks","pages":["integrations/amazon-bedrock","integrations/amazon-sagemaker","integrations/context-data","integrations/haystack","integrations/instill","integrations/langchain","integrations/llamaindex","integrations/nuclia","integrations/octoai"]},{"group":"Infrastructure","pages":["integrations/aws","integrations/azure","integrations/gcp","integrations/github-copilot","integrations/pulumi","integrations/terraform","integrations/vercel"]},{"group":"Models","pages":["integrations/anyscale","integrations/cohere","integrations/voyage","integrations/hugging-face-inference-endpoints","integrations/jina","integrations/openai","integrations/twelve-labs"]},{"group":"Observability","pages":["integrations/datadog","integrations/langtrace","integrations/new-relic","integrations/traceloop","integrations/trulens"]}]},{"group":"Build an integration","pages":["integrations/build-integration/become-a-partner","integrations/build-integration/attribute-usage-to-your-integration","integrations/build-integration/connect-your-users-to-pinecone"]},{"group":"","pages":["troubleshooting/contact-support","troubleshooting/how-to-work-with-support","troubleshooting/pinecone-support-slas"]},{"group":"Account management","pages":["troubleshooting/login-code-issues","troubleshooting/custom-data-processing-agreements","troubleshooting/delete-your-organization","troubleshooting/delete-your-account","troubleshooting/billing-disputes-and-refunds"]},{"group":"Indexes","pages":["troubleshooting/available-cloud-regions","troubleshooting/export-indexes","troubleshooting/wait-for-index-creation","troubleshooting/select-index-type-and-size","troubleshooting/how-and-when-to-increase-index-size","troubleshooting/use-namespaces-instead-of-several-indexes","troubleshooting/namespaces-vs-metadata-filtering","troubleshooting/restrictions-on-index-names","troubleshooting/return-all-vectors-in-an-index","troubleshooting/vertically-downscaling","troubleshooting/delete-a-namespace","troubleshooting/pods-are-full"]},{"group":"Data","pages":["troubleshooting/parallel-queries","troubleshooting/minimize-latencies","troubleshooting/embedding-values-changed-when-upserted","troubleshooting/how-and-when-to-add-replicas","troubleshooting/keep-customer-data-separate","troubleshooting/limitations-of-querying-by-id","troubleshooting/create-and-manage-vectors-with-metadata","troubleshooting/handle-deletes-by-metadata","troubleshooting/metadata-reconfiguration","troubleshooting/metadata-string-value-returned-as-datetime","troubleshooting/remove-metadata-field"]},{"group":"Common errors","pages":["troubleshooting/index-creation-error-missing-spec","troubleshooting/index-creation-error-max-serverless","troubleshooting/serverless-index-connection-errors","troubleshooting/error-handshake-read-failed","troubleshooting/pinecone-attribute-errors-with-langchain","troubleshooting/error-cannot-import-name-pinecone","troubleshooting/module-pinecone-has-no-attribute-init"]},{"group":"Miscellaneous","pages":["troubleshooting/best-practices","troubleshooting/differences-between-lexical-semantic-search","troubleshooting/nodejs-troubleshooting","troubleshooting/cors-issues","troubleshooting/debug-model-vs-pinecone-recall-issues","troubleshooting/non-indexed-field-filter-issues","troubleshooting/unable-to-pip-install"]},{"group":"Release notes","pages":["release-notes/2024","release-notes/2023","release-notes/2022"]},{"group":"Policies","pages":["release-notes/feature-availability"]}],"primaryTab":{"name":"Home"},"tabs":[{"name":"Guides","url":"guides","_id":"674603e09671c4d550ba39da"},{"name":"Reference","url":"reference","_id":"674603e09671c4d550ba39db"},{"name":"Examples","url":"examples","_id":"674603e09671c4d550ba39dc"},{"name":"Models","url":"models","_id":"674603e09671c4d550ba39dd"},{"name":"Integrations","url":"integrations","_id":"674603e09671c4d550ba39de"},{"name":"Troubleshooting","url":"troubleshooting","_id":"674603e09671c4d550ba39df"},{"name":"Releases","url":"release-notes","_id":"674603e09671c4d550ba39e0"}],"feedback":{"thumbsRating":true},"analytics":{"gtm":{"tagId":"GTM-5RCSPVG"},"heap":{"appId":"3879495182"},"koala":{"publicApiKey":"pk_dedf7f497457f685cec291ae4d5002e828c1"}},"isWhiteLabeled":true,"redirects":[{"destination":"/guides/assistant/manage-files#delete-a-file","source":"/guides/assistant/delete-file","_id":"674603e09671c4d550ba38d4"},{"destination":"/guides/assistant/manage-files#get-the-status-of-a-file","source":"/guides/assistant/check-file-status","_id":"674603e09671c4d550ba38d5"},{"destination":"/guides/assistant/manage-files#list-files-in-an-assistant","source":"/guides/assistant/list-files","_id":"674603e09671c4d550ba38d6"},{"destination":"/guides/assistant/manage-assistants#update-an-existing-assistant","source":"/guides/assistant/update-an-assistant","_id":"674603e09671c4d550ba38d7"},{"destination":"/guides/assistant/manage-assistants#get-the-status-of-an-assistant","source":"/guides/assistant/check-assistant-status","_id":"674603e09671c4d550ba38d8"},{"destination":"/guides/assistant/manage-assistants#list-assistants-for-a-project","source":"/guides/assistant/list-assistants","_id":"674603e09671c4d550ba38d9"},{"destination":"/guides/assistant/manage-assistants#delete-an-assistant","source":"/guides/assistant/delete-assistant","_id":"674603e09671c4d550ba38da"},{"destination":"/guides/data/understanding-metadata","source":"/guides/data/filter-with-metadata","_id":"674603e09671c4d550ba38db"},{"destination":"/guides/operations/local-development","source":"/guides/operations/local-testing","_id":"674603e09671c4d550ba38dc"},{"destination":"/guides/data/target-an-index","source":"/guides/data/get-an-index-endpoint","_id":"674603e09671c4d550ba38dd"},{"destination":"/reference/api/assistant/*","source":"/reference/api/2024-04/assistant/*","_id":"674603e09671c4d550ba38de"},{"destination":"/reference/api/assistant/*","source":"/reference/api/2024-07/assistant/*","_id":"674603e09671c4d550ba38df"},{"destination":"/guides/get-started/implement-multitenancy","source":"/guides/indexes/implement-multitenancy","_id":"674603e09671c4d550ba38e0"},{"destination":"/reference/api/authentication","source":"/guides/get-started/authentication","_id":"674603e09671c4d550ba38e1"},{"destination":"/guides/get-started/glossary","source":"/guides/get-started/key-concepts","_id":"674603e09671c4d550ba38e2"},{"destination":"/reference/python-sdk#install-the-pinecone-assistant-python-plugin","source":"/guides/assistant/install-assistant-plugin","_id":"674603e09671c4d550ba38e3"},{"destination":"/guides/assistant/chat-with-assistant","source":"/guides/assistant/use-existing-assistant","_id":"674603e09671c4d550ba38e4"},{"destination":"/guides/operations/connect-to-aws-privatelink","source":"/guides/operations/enable-aws-privatelink","_id":"674603e09671c4d550ba38e5"},{"destination":"/guides/operations/understanding-security","source":"/reference/security","_id":"674603e09671c4d550ba38e6"},{"destination":"/guides/indexes/understanding-backups-and-collections","source":"/guides/indexes/understanding-collections","_id":"674603e09671c4d550ba38e7"},{"destination":"/reference/pinecone-sdks","source":"/reference/pinecone-clients","_id":"674603e09671c4d550ba38e8"},{"destination":"/reference/go-sdk","source":"/reference/go-client","_id":"674603e09671c4d550ba38e9"},{"destination":"/reference/python-sdk","source":"/reference/python-client","_id":"674603e09671c4d550ba38ea"},{"destination":"/reference/node-sdk","source":"/reference/node-client","_id":"674603e09671c4d550ba38eb"},{"destination":"/reference/java-sdk","source":"/reference/java-client","_id":"674603e09671c4d550ba38ec"},{"destination":"/release-notes/feature-availability","source":"/release-notes/api-lifecycle-policy","_id":"674603e09671c4d550ba38ed"},{"destination":"/guides/indexes/configure-an-index","source":"/guides/indexes/configure-pod-based-indexes","_id":"674603e09671c4d550ba38ee"},{"destination":"/guides/indexes/migrate-a-pod-based-index-to-serverless","source":"/guides/operations/migrate-to-the-new-api","_id":"674603e09671c4d550ba38ef"},{"destination":"/reference/api/2024-07/control-plane/*","source":"/reference/api/control-plane/*","_id":"674603e09671c4d550ba38f0"},{"destination":"/reference/api/2024-07/data-plane/*","source":"/reference/api/data-plane/*","_id":"674603e09671c4d550ba38f1"},{"destination":"/reference/api/2024-07/assistant/*","source":"/reference/api/assistant/*","_id":"674603e09671c4d550ba38f2"},{"destination":"/reference/api/2024-07/inference/*","source":"/reference/api/inference/*","_id":"674603e09671c4d550ba38f3"},{"destination":"/reference/*","source":"/legacy/reference/*","_id":"674603e09671c4d550ba38f4"},{"destination":"/examples/reference-architectures","source":"/tools/reference-architectures","_id":"674603e09671c4d550ba38f5"},{"destination":"/reference/tools/pinecone-datasets","source":"/tools/pinecone-utilities","_id":"674603e09671c4d550ba38f6"},{"destination":"/guides/inference/understanding-inference","source":"/guides/inference/understanding-inference-api","_id":"674603e09671c4d550ba38f7"},{"destination":"/guides/indexes/migrate-a-pod-based-index-to-serverless","source":"/guides/indexes/migrate-a-legacy-starter-index-to-serverless","_id":"674603e09671c4d550ba38f8"},{"destination":"/guides/data/understanding-metadata","source":"/docs/filter-with-metadata","_id":"674603e09671c4d550ba38f9"},{"destination":"/reference/pinecone-sdks#community-clients","source":"/reference/community-libraries","_id":"674603e09671c4d550ba38fa"},{"destination":"/integrations/build-integration/attribute-usage-to-your-integration","source":"/integrations/build-integration/register-your-integration","_id":"674603e09671c4d550ba38fb"},{"destination":"/integrations/build-integration/connect-your-users-to-pinecone","source":"/integrations/build-integration/connect-to-pinecone-with-embedded-widget","_id":"674603e09671c4d550ba38fc"},{"destination":"/examples/notebooks","source":"/guides/get-started/examples","_id":"674603e09671c4d550ba38fd"},{"destination":"/reference/quotas-and-limits","source":"/reference/quotas-and-rate-limits","_id":"674603e09671c4d550ba38fe"},{"destination":"/troubleshooting/wait-for-index-creation","source":"/troubleshooting/waiting-for-index-creation","_id":"674603e09671c4d550ba38ff"},{"destination":"/troubleshooting/namespaces-vs-metadata-filtering","source":"/troubleshooting/using-namespaces-vs-metadata-filtering","_id":"674603e09671c4d550ba3900"},{"destination":"/troubleshooting/use-namespaces-instead-of-several-indexes","source":"/troubleshooting/using-namespaces-instead-of-several-indexes","_id":"674603e09671c4d550ba3901"},{"destination":"/troubleshooting/pinecone-support-slas","source":"/troubleshooting/support-slas","_id":"674603e09671c4d550ba3902"},{"destination":"/troubleshooting/select-index-type-and-size.mdx","source":"/troubleshooting/selecting-index-type-and-size","_id":"674603e09671c4d550ba3903"},{"destination":"/troubleshooting/return-all-vectors-in-an-index","source":"/troubleshooting/returning-all-vectors-in-an-index","_id":"674603e09671c4d550ba3904"},{"destination":"/troubleshooting/remove-metadata-field","source":"/troubleshooting/removing-metadata-field","_id":"674603e09671c4d550ba3905"},{"destination":"/troubleshooting/limitations-of-querying-by-id","source":"/troubleshooting/querying-by-id","_id":"674603e09671c4d550ba3906"},{"destination":"/troubleshooting/keep-customer-data-separate","source":"/troubleshooting/keeping-customer-data-separate","_id":"674603e09671c4d550ba3907"},{"destination":"/troubleshooting/index-creation-error-missing-spec","source":"/troubleshooting/index-creation-error-spec","_id":"674603e09671c4d550ba3908"},{"destination":"/troubleshooting/how-and-when-to-increase-index-size","source":"/troubleshooting/increasing-index-size","_id":"674603e09671c4d550ba3909"},{"destination":"/troubleshooting/delete-your-account","source":"/troubleshooting/how-to-delete-account","_id":"674603e09671c4d550ba390a"},{"destination":"/troubleshooting/contact-support","source":"/troubleshooting/how-to-contact-support","_id":"674603e09671c4d550ba390b"},{"destination":"/troubleshooting/handle-deletes-by-metadata","source":"/troubleshooting/handling-deletes-by-metadata","_id":"674603e09671c4d550ba390c"},{"destination":"/troubleshooting/export-indexes","source":"/troubleshooting/exporting-indexes","_id":"674603e09671c4d550ba390d"},{"destination":"/troubleshooting/error-cannot-import-name-pinecone","source":"/troubleshooting/cannot-import-name-pinecone","_id":"674603e09671c4d550ba390e"},{"destination":"/troubleshooting/delete-a-namespace","source":"/troubleshooting/deleting-a-namespace","_id":"674603e09671c4d550ba390f"},{"destination":"/troubleshooting/debug-model-vs-pinecone-recall-issues","source":"/troubleshooting/debugging-recall-issues","_id":"674603e09671c4d550ba3910"},{"destination":"/troubleshooting/how-and-when-to-add-replicas","source":"/troubleshooting/adding-replicas","_id":"674603e09671c4d550ba3911"},{"destination":"/troubleshooting/create-and-manage-vectors-with-metadata","source":"/troubleshooting/creating-and-managing-vectors-with-metadata","_id":"674603e09671c4d550ba3912"},{"destination":"/guides/organizations/manage-cost/manage-cost","source":"/guides/organizations/manage-cost/managing-cost","_id":"674603e09671c4d550ba3913"},{"destination":"/guides/organizations/manage-cost/monitor-your-usage","source":"/guides/organizations/manage-cost/monitoring-your-usage","_id":"674603e09671c4d550ba3914"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/guides/data/using-public-pinecone-datasets","_id":"674603e09671c4d550ba3915"},{"destination":"/guides/data/create-and-load-private-datasets","source":"/guides/data/creating-and-loading-private-datasets","_id":"674603e09671c4d550ba3916"},{"destination":"/guides/operations/move-to-production","source":"/guides/operations/moving-to-production","_id":"674603e09671c4d550ba3917"},{"destination":"/guides/data/understanding-metadata","source":"/guides/data/filtering-with-metadata","_id":"674603e09671c4d550ba3918"},{"destination":"/guides/indexes/choose-a-pod-type-and-size","source":"/guides/indexes/choosing-a-pod-type-and-size","_id":"674603e09671c4d550ba3919"},{"destination":"/guides/indexes/use-namespaces","source":"/guides/indexes/using-namespaces","_id":"674603e09671c4d550ba391a"},{"destination":"/guides/get-started/quickstart","source":"/guides/getting-started/overview","_id":"674603e09671c4d550ba391b"},{"destination":"/guides/indexes/convert-a-gcp-starter-index-to-serverless","source":"/guides/indexes/convert-a-starter-index-to-serverless","_id":"674603e09671c4d550ba391c"},{"destination":"/guides/data/*","source":"/legacy/data/*","_id":"674603e09671c4d550ba391d"},{"destination":"/guides/get-started/quickstart","source":"/guides/getting-started/quickstart","_id":"674603e09671c4d550ba391e"},{"destination":"/guides/get-started/authentication","source":"/guides/getting-started/authentication","_id":"674603e09671c4d550ba391f"},{"destination":"/guides/get-started/quickstart","source":"/legacy/getting-started/quickstart","_id":"674603e09671c4d550ba3920"},{"destination":"/guides/get-started/authentication","source":"/legacy/getting-started/authentication","_id":"674603e09671c4d550ba3921"},{"destination":"/guides/indexes/*","source":"/legacy/indexes/*","_id":"674603e09671c4d550ba3922"},{"destination":"/integrations/*","source":"/legacy/integrations/*","_id":"674603e09671c4d550ba3923"},{"destination":"/tools/*","source":"/legacy/libraries/*","_id":"674603e09671c4d550ba3924"},{"destination":"/guides/operations/*","source":"/legacy/operations/*","_id":"674603e09671c4d550ba3925"},{"destination":"/guides/organizations/*","source":"/legacy/organizations/*","_id":"674603e09671c4d550ba3926"},{"destination":"/guides/projects/*","source":"/legacy/projects/*","_id":"674603e09671c4d550ba3927"},{"destination":"/reference/architecture/pod-based-architecture","source":"/legacy/architecture","_id":"674603e09671c4d550ba3928"},{"destination":"/reference/quotas-and-limits","source":"/legacy/limits","_id":"674603e09671c4d550ba3929"},{"destination":"/operations/understanding-security","source":"/legacy/security","_id":"674603e09671c4d550ba392a"},{"destination":"/integrations/build-integration/register-your-integration","source":"/integrations/build-integration/attribute-api-activity","_id":"674603e09671c4d550ba392b"},{"destination":"/guides/organization/manage-billing/change-your-billing-plan","source":"/troubleshooting/downgrade-your-organization","_id":"674603e09671c4d550ba392c"},{"destination":"/troubleshooting/pinecone-attribute-errors-with-langchain","source":"/troubleshooting/pinecone-has-no-attribute-from-texts","_id":"674603e09671c4d550ba392d"},{"destination":"/reference/quotas-and-limits","source":"/reference/limits","_id":"674603e09671c4d550ba392e"},{"destination":"/troubleshooting/","source":"/guides/operations/troubleshooting","_id":"674603e09671c4d550ba392f"},{"destination":"/guides/projects/manage-project-members","source":"/guides/projects/add-members-to-projects-and-organizations","_id":"674603e09671c4d550ba3930"},{"destination":"https://docs.pinecone.io/get-started/overview","source":"https://docs.pinecone.io/","_id":"674603e09671c4d550ba3931"},{"destination":"https://docs.pinecone.io/get-started/overview","source":"https://docs.pinecone.io/home","_id":"674603e09671c4d550ba3932"},{"destination":"/guides/organizations/configure-single-sign-on/okta","source":"/guides/organizations/configure-single-sign-on/overview","_id":"674603e09671c4d550ba3933"},{"destination":"/guides/get-started/quickstart","source":"/docs/quickstart","_id":"674603e09671c4d550ba3934"},{"destination":"/guides/get-started/quickstart","source":"/docs/overview","_id":"674603e09671c4d550ba3935"},{"destination":"/guides/get-started/authentication","source":"/docs/authentication","_id":"674603e09671c4d550ba3936"},{"destination":"/reference/api","source":"/docs/new-api","_id":"674603e09671c4d550ba3937"},{"destination":"/guides/organizations/understanding-organizations","source":"/docs/organizations","_id":"674603e09671c4d550ba3938"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","source":"/docs/manage-billing","_id":"674603e09671c4d550ba3939"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","source":"/docs/setting-up-aws-marketplace-billing","_id":"674603e09671c4d550ba393a"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace","source":"/docs/setting-up-azure-marketplace-billing","_id":"674603e09671c4d550ba393b"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace","source":"/docs/setting-up-gcp-marketplace-billing","_id":"674603e09671c4d550ba393c"},{"destination":"/guides/organizations/manage-billing/changing-your-billing-plan","source":"/docs/changing-your-billing-plan","_id":"674603e09671c4d550ba393d"},{"destination":"/guides/organizations/manage-billing/understanding-subscription-status","source":"/docs/subscription-status","_id":"674603e09671c4d550ba393e"},{"destination":"/guides/organizations/manage-cost/understanding-cost","source":"/docs/manage-cost","_id":"674603e09671c4d550ba393f"},{"destination":"/guides/organizations/manage-cost/understanding-cost","source":"/docs/understanding-cost","_id":"674603e09671c4d550ba3940"},{"destination":"/guides/organizations/manage-cost/monitor-your-usage","source":"/docs/monitoring-usage","_id":"674603e09671c4d550ba3941"},{"destination":"/guides/organizations/manage-cost/manage-cost","source":"/docs/managing-cost","_id":"674603e09671c4d550ba3942"},{"destination":"/guides/organizations/configure-single-sign-on/okta","source":"/docs/configure-single-sign-on","_id":"674603e09671c4d550ba3943"},{"destination":"/guides/projects/understanding-projects","source":"/docs/projects","_id":"674603e09671c4d550ba3944"},{"destination":"/guides/projects/create-a-project","source":"/docs/create-project","_id":"674603e09671c4d550ba3945"},{"destination":"/guides/projects/add-members-to-projects-and-organizations","source":"/docs/add-users-to-projects-and-organizations","_id":"674603e09671c4d550ba3946"},{"destination":"/guides/projects/rename-a-project","source":"/docs/rename-project","_id":"674603e09671c4d550ba3947"},{"destination":"/reference/quotas-and-limits#pods-per-project","source":"/guides/projects/set-a-project-pod-limit","_id":"674603e09671c4d550ba3948"},{"destination":"/reference/quotas-and-limits#pods-per-project","source":"/docs/change-project-pod-limit","_id":"674603e09671c4d550ba3949"},{"destination":"/guides/indexes/understanding-indexes","source":"/docs/indexes","_id":"674603e09671c4d550ba394a"},{"destination":"/guides/indexes/create-an-index","source":"/docs/create-an-index","_id":"674603e09671c4d550ba394b"},{"destination":"/guides/indexes/view-index-information","source":"/docs/view-index-information","_id":"674603e09671c4d550ba394c"},{"destination":"/guides/indexes/back-up-an-index","source":"/docs/back-up-an-index","_id":"674603e09671c4d550ba394d"},{"destination":"/guides/indexes/delete-an-index","source":"/docs/delete-an-index","_id":"674603e09671c4d550ba394e"},{"destination":"/guides/indexes/use-namespaces","source":"/docs/namespaces","_id":"674603e09671c4d550ba394f"},{"destination":"/guides/indexes/choose-a-pod-type-and-size","source":"/docs/choosing-index-type-and-size","_id":"674603e09671c4d550ba3950"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/configure-pod-based-indexes","_id":"674603e09671c4d550ba3951"},{"destination":"/guides/indexes/scale-pod-based-indexes","source":"/docs/scaling-indexes","_id":"674603e09671c4d550ba3952"},{"destination":"/guides/indexes/understanding-backups-and-collections","source":"/docs/collections","_id":"674603e09671c4d550ba3953"},{"destination":"/guides/indexes/convert-a-starter-index-to-serverless","source":"/docs/convert-starter-to-serverless","_id":"674603e09671c4d550ba3954"},{"destination":"/guides/data/upsert-data","source":"/docs/upsert-data","_id":"674603e09671c4d550ba3955"},{"destination":"/guides/data/query-data","source":"/docs/query-data","_id":"674603e09671c4d550ba3956"},{"destination":"/guides/data/fetch-data","source":"/docs/fetch-data","_id":"674603e09671c4d550ba3957"},{"destination":"/guides/data/update-data","source":"/docs/update-data","_id":"674603e09671c4d550ba3958"},{"destination":"/guides/data/delete-data","source":"/docs/delete-data","_id":"674603e09671c4d550ba3959"},{"destination":"/guides/data/list-record-ids","source":"/docs/get-record-ids","_id":"674603e09671c4d550ba395a"},{"destination":"/guides/data/get-an-index-endpoint","source":"/docs/get-index-endpoint","_id":"674603e09671c4d550ba395b"},{"destination":"/guides/data/understanding-metadata","source":"/docs/metadata-filtering","_id":"674603e09671c4d550ba395c"},{"destination":"/guides/data/manage-rag-documents","source":"/docs/manage-rag-documents","_id":"674603e09671c4d550ba395d"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/hybrid-search-and-sparse-vectors","_id":"674603e09671c4d550ba395e"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/hybrid-search","_id":"674603e09671c4d550ba395f"},{"destination":"/guides/data/encode-sparse-vectors","source":"/docs/encode-sparse-vectors","_id":"674603e09671c4d550ba3960"},{"destination":"/guides/data/upsert-sparse-dense-vectors","source":"/docs/upsert-sparse-dense-vectors","_id":"674603e09671c4d550ba3961"},{"destination":"/guides/data/query-sparse-dense-vectors","source":"/docs/query-sparse-dense-vectors","_id":"674603e09671c4d550ba3962"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/datasets","_id":"674603e09671c4d550ba3963"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/using-public-datasets","_id":"674603e09671c4d550ba3964"},{"destination":"/guides/data/create-and-load-private-datasets","source":"/docs/creating-datasets","_id":"674603e09671c4d550ba3965"},{"destination":"/guides/operations/move-to-production","source":"/docs/moving-to-production","_id":"674603e09671c4d550ba3966"},{"destination":"/guides/operations/performance-tuning","source":"/docs/performance-tuning","_id":"674603e09671c4d550ba3967"},{"destination":"/guides/operations/monitoring","source":"/docs/monitoring","_id":"674603e09671c4d550ba3968"},{"destination":"/guides/operations/troubleshooting","source":"/docs/troubleshooting","_id":"674603e09671c4d550ba3969"},{"destination":"/guides/operations/understanding-multitenancy","source":"/docs/multitenancy","_id":"674603e09671c4d550ba396a"},{"destination":"/troubleshooting","source":"/docs/common-errors","_id":"674603e09671c4d550ba396b"},{"destination":"/troubleshooting","source":"guides/operations/common-errors","_id":"674603e09671c4d550ba396c"},{"destination":"/integrations/amazon-bedrock","source":"/docs/amazon-bedrock","_id":"674603e09671c4d550ba396d"},{"destination":"/integrations/amazon-bedrock","source":"/guides/integrations/setting-up-amazon-bedrock","_id":"674603e09671c4d550ba396e"},{"destination":"/integrations/sagemaker","source":"/docs/sagemaker","_id":"674603e09671c4d550ba396f"},{"destination":"/integrations/cohere","source":"/docs/cohere","_id":"674603e09671c4d550ba3970"},{"destination":"/integrations/cohere","source":"/guides/integrations/setting-up-cohere","_id":"674603e09671c4d550ba3971"},{"destination":"/integrations/databricks","source":"/docs/databricks","_id":"674603e09671c4d550ba3972"},{"destination":"/integrations/databricks","source":"/guides/integrations/setting-up-databricks","_id":"674603e09671c4d550ba3973"},{"destination":"/integrations/datadog","source":"/docs/datadog","_id":"674603e09671c4d550ba3974"},{"destination":"/integrations/datadog","source":"/guides/integrations/setting-up-datadog","_id":"674603e09671c4d550ba3975"},{"destination":"/integrations/elastic","source":"/docs/elastic","_id":"674603e09671c4d550ba3976"},{"destination":"/integrations/haystack","source":"/docs/haystack","_id":"674603e09671c4d550ba3977"},{"destination":"integrations/haystack","source":"/guides/integrations/setting-up-haystack","_id":"674603e09671c4d550ba3978"},{"destination":"/integrations/hugging-face-inference-endpoints","source":"/docs/hugging-face-endpoints","_id":"674603e09671c4d550ba3979"},{"destination":"/integrations/hugging-face-inference-endpoints","source":"/guides/integrations/setting-up-hugging-face-endpoints","_id":"674603e09671c4d550ba397a"},{"destination":"/guides/integrations/langchain","source":"/guides/integrations/setting-up-langchain","_id":"674603e09671c4d550ba397b"},{"destination":"/integrations/llamaindex","source":"/docs/llamaindex","_id":"674603e09671c4d550ba397c"},{"destination":"/integratations/llamaindex","source":"/guides/integrations/setting-up-llamaindex","_id":"674603e09671c4d550ba397d"},{"destination":"/integratations/openai","source":"/docs/openai","_id":"674603e09671c4d550ba397e"},{"destination":"/integratations/openai","source":"/guides/integrations/setting-up-openai","_id":"674603e09671c4d550ba397f"},{"destination":"/integratations/trulens","source":"/docs/trulens","_id":"674603e09671c4d550ba3980"},{"destination":"/integratations/trulens","source":"/guides/integrations/setting-up-trulens","_id":"674603e09671c4d550ba3981"},{"destination":"release-notes/2024","source":"/docs/release-notes","_id":"674603e09671c4d550ba3982"},{"destination":"/reference/python-client","source":"/docs/python-client","_id":"674603e09671c4d550ba3983"},{"destination":"/reference/node-client","source":"/docs/node-client","_id":"674603e09671c4d550ba3984"},{"destination":"/reference/architecture/serverless-architecture","source":"/docs/architecture","_id":"674603e09671c4d550ba3985"},{"destination":"/operations/understanding-security","source":"/docs/security","_id":"674603e09671c4d550ba3986"},{"destination":"/reference/quotas-and-limits","source":"/docs/limits","_id":"674603e09671c4d550ba3987"},{"destination":"/reference/api/data-plane/upsert","source":"/reference/upsert","_id":"674603e09671c4d550ba3988"},{"destination":"/reference/api/data-plane/query","source":"/reference/query","_id":"674603e09671c4d550ba3989"},{"destination":"/reference/api/data-plane/fetch","source":"/reference/fetch","_id":"674603e09671c4d550ba398a"},{"destination":"/reference/api/data-plane/update","source":"/reference/update","_id":"674603e09671c4d550ba398b"},{"destination":"/reference/api/data-plane/delete","source":"/reference/delete","_id":"674603e09671c4d550ba398c"},{"destination":"/reference/api/data-plane/delete","source":"/reference/alt_delete","_id":"674603e09671c4d550ba398d"},{"destination":"/reference/api/data-plane/list","source":"/reference/list","_id":"674603e09671c4d550ba398e"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/describe_index_stats","_id":"674603e09671c4d550ba398f"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/alt_describe_index_stats","_id":"674603e09671c4d550ba3990"},{"destination":"/reference/api/control-plane/list_indexes","source":"/reference/list_indexes","_id":"674603e09671c4d550ba3991"},{"destination":"/reference/api/control-plane/create_index","source":"/reference/create_index","_id":"674603e09671c4d550ba3992"},{"destination":"/reference/api/control-plane/describe_index","source":"/reference/describe_index","_id":"674603e09671c4d550ba3993"},{"destination":"/reference/api/control-plane/delete_index","source":"/reference/delete_index","_id":"674603e09671c4d550ba3994"},{"destination":"/reference/api/control-plane/configure_index","source":"/reference/configure_index","_id":"674603e09671c4d550ba3995"},{"destination":"/reference/api/control-plane/list_collections","source":"/reference/list_collections","_id":"674603e09671c4d550ba3996"},{"destination":"/reference/api/control-plane/create_collection","source":"/reference/create_collection","_id":"674603e09671c4d550ba3997"},{"destination":"/reference/api/control-plane/describe_collection","source":"/reference/describe_collection","_id":"674603e09671c4d550ba3998"},{"destination":"/reference/api/control-plane/delete_collection","source":"/reference/delete_collection","_id":"674603e09671c4d550ba3999"},{"destination":"/examples/notebooks","source":"/page/examples","_id":"674603e09671c4d550ba399a"},{"destination":"/tools/pinecone-utilities","source":"/page/libraries","_id":"674603e09671c4d550ba399b"},{"destination":"/legacy/overview","source":"/v1/*","_id":"674603e09671c4d550ba399c"},{"destination":"/guides/indexes/understanding-indexes","source":"/docs/manage-indexes","_id":"674603e09671c4d550ba399d"},{"destination":"/guides/indexes/view-index-information#list-all-indexes-in-a-project","source":"/docs/manage-indexes#list-all-indexes-in-a-project","_id":"674603e09671c4d550ba399e"},{"destination":"/guides/indexes/view-index-information#get-information-about-an-index","source":"/docs/manage-indexes#get-information-about-an-index","_id":"674603e09671c4d550ba399f"},{"destination":"/guides/indexes/create-an-index#create-a-serverless-index","source":"/docs/manage-indexes#create-a-serverless-index","_id":"674603e09671c4d550ba39a0"},{"destination":"/guides/indexes/create-an-index#create-a-pod-based-index","source":"/docs/manage-indexes#create-a-pod-based-index","_id":"674603e09671c4d550ba39a1"},{"destination":"/guides/indexes/create-an-index#create-a-starter-index","source":"/docs/manage-indexes#create-a-starter-index","_id":"674603e09671c4d550ba39a2"},{"destination":"/guides/indexes/create-an-index#create-an-index-from-a-collection","source":"/docs/manage-indexes#create-an-index-from-a-collection","_id":"674603e09671c4d550ba39a3"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#configure-pod-based-indexes","_id":"674603e09671c4d550ba39a4"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#change-pod-sizes","_id":"674603e09671c4d550ba39a5"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#check-the-status-of-a-pod-size-change","_id":"674603e09671c4d550ba39a6"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#add-replicas","_id":"674603e09671c4d550ba39a7"},{"destination":"/guides/indexes/configure-an-index#selective-metadata-indexing","source":"/docs/manage-indexes#selective-metadata-indexing","_id":"674603e09671c4d550ba39a8"},{"destination":"/guides/indexes/delete-an-index","source":"/docs/manage-indexes#delete-an-index","_id":"674603e09671c4d550ba39a9"},{"destination":"/guides/indexes/convert-a-starter-index-to-serverless","source":"/docs/convert-to-severless","_id":"674603e09671c4d550ba39aa"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/pinecone-public-datasets","_id":"674603e09671c4d550ba39ab"},{"destination":"/guides/data/understanding-metadata","source":"/docs/metadata-filtered-search","_id":"674603e09671c4d550ba39ac"},{"destination":"/guides/data/upsert-data","source":"/docs/insert-data","_id":"674603e09671c4d550ba39ad"},{"destination":"/guides/get-started/quickstart","source":"/docs/global-api-quickstart","_id":"674603e09671c4d550ba39ae"},{"destination":"/guides/indexes/understanding-indexes#starter-indexes","source":"/docs/starter-environment","_id":"674603e09671c4d550ba39af"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/describe_index_stats_post","_id":"674603e09671c4d550ba39b0"},{"destination":"/guides/data/upsert-data","source":"/docs/manage-data","_id":"674603e09671c4d550ba39b1"},{"destination":"/guides/projects/understanding-projects","source":"/docs/manage-projects","_id":"674603e09671c4d550ba39b2"},{"destination":"/reference/python-clients","source":"/installation","_id":"674603e09671c4d550ba39b3"},{"destination":"/examples/notebooks","source":"/page/example-applications","_id":"674603e09671c4d550ba39b4"},{"destination":"/tools/pinecone-utilities","source":"/docs/libraries","_id":"674603e09671c4d550ba39b5"},{"destination":"/integrations/overview","source":"/integrations","_id":"674603e09671c4d550ba39b6"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/manage-datasets","_id":"674603e09671c4d550ba39b7"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/basic-hybrid-search","_id":"674603e09671c4d550ba39b8"},{"destination":"/guides/data/understanding-hybrid-search","source":"basic-hybrid-search","_id":"674603e09671c4d550ba39b9"},{"destination":"/reference/node-client","source":"/node-client","_id":"674603e09671c4d550ba39ba"},{"destination":"/reference/api/introduction","source":"/docs/api-reference","_id":"674603e09671c4d550ba39bb"},{"destination":"/reference/python-clients","source":"/docs/sdk","_id":"674603e09671c4d550ba39bc"},{"destination":"/examples/notebooks","source":"/docs/image-similarity-search","_id":"674603e09671c4d550ba39bd"},{"destination":"/examples/sample-apps","source":"/docs/semantic-search-text-typescript","_id":"674603e09671c4d550ba39be"},{"destination":"/examples/notebooks","source":"/docs/gen-qa-openai","_id":"674603e09671c4d550ba39bf"},{"destination":"/examples/notebooks","source":"/docs/personalized-content-recommendations-typescript","_id":"674603e09671c4d550ba39c0"},{"destination":"/examples/notebooks","source":"/docs/langchain-retrieval-agent","_id":"674603e09671c4d550ba39c1"},{"destination":"/examples/sample-apps","source":"/docs/langchain-retrieval-agent-typescript","_id":"674603e09671c4d550ba39c2"},{"destination":"/examples/notebooks","source":"/docs/langchain-retrieval-augmentation","_id":"674603e09671c4d550ba39c3"},{"destination":"/examples/notebooks","source":"/docs/gpt-4-langchain-docs","_id":"674603e09671c4d550ba39c4"},{"destination":"/examples/notebooks","source":"/docs/extractive-question-answering","_id":"674603e09671c4d550ba39c5"},{"destination":"/examples/notebooks","source":"/docs/abstractive-question-answering","_id":"674603e09671c4d550ba39c6"},{"destination":"/examples/notebooks","source":"/docs/table-qa","_id":"674603e09671c4d550ba39c7"},{"destination":"/examples/notebooks","source":"/docs/ecommerce-search","_id":"674603e09671c4d550ba39c8"},{"destination":"/examples/notebooks","source":"/docs/ner-search","_id":"674603e09671c4d550ba39c9"},{"destination":"/examples/notebooks","source":"/docs/video-search","_id":"674603e09671c4d550ba39ca"},{"destination":"/examples/notebooks","source":"/docs/satellite-image-search","_id":"674603e09671c4d550ba39cb"},{"destination":"/examples/notebooks","source":"/docs/it-threat-detection","_id":"674603e09671c4d550ba39cc"},{"destination":"/examples/notebooks","source":"/docs/document-deduplication","_id":"674603e09671c4d550ba39cd"},{"destination":"/examples/notebooks","source":"/docs/movie-recommender","_id":"674603e09671c4d550ba39ce"},{"destination":"/examples/notebooks","source":"/docs/audio-search","_id":"674603e09671c4d550ba39cf"},{"destination":"/examples/notebooks","source":"/docs/time-series","_id":"674603e09671c4d550ba39d0"},{"destination":"/examples/notebooks","source":"/docs/product-recommendation-engine","_id":"674603e09671c4d550ba39d1"},{"destination":"/guides/data/upsert-sparse-dense-vectors","source":"/docs/upserting-sparse-dense-records","_id":"674603e09671c4d550ba39d2"},{"destination":"/guides/data/understanding-hybrid-search","source":"/reference/manage-indexes/hybrid-search","_id":"674603e09671c4d550ba39d3"},{"destination":"/guides/data/query-sparse-dense-vectors","source":"/docs/weighting-sparse-and-dense-vectors","_id":"674603e09671c4d550ba39d4"},{"destination":"/troubleshooting/serverless-index-connection-errors","source":"/troubleshooting/serverless-controller-error","_id":"674603e09671c4d550ba39d5"},{"destination":"/reference/api","source":"/new-api","_id":"674603e09671c4d550ba39d6"},{"destination":"/guides/indexes/implement-multitenancy","source":"/guides/operations/understanding-multitenancy","_id":"674603e09671c4d550ba39d7"},{"destination":"/troubleshooting/delete-your-organization","source":"troubleshooting/delete-your-account","_id":"674603e09671c4d550ba39d8"},{"destination":"/guides/inference/understanding-inference#rerank-2","source":"/guides/inference/understanding-reranking","_id":"674603e09671c4d550ba39d9"}],"seo":{"indexHiddenPages":true},"footerSocials":{"twitter":"https://twitter.com/pinecone?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor","linkedin":"https://www.linkedin.com/company/pinecone-io/"},"repo":{"github":{"owner":"pinecone-io","repo":"docs","contentDirectory":"","deployBranch":"main","isPrivate":false}}},"pageMetadata":{"title":"Pinecone Database quickstart","description":null,"sidebarTitle":"Database quickstart","og:image":"https://www.pinecone.io/api/og/?title=Pinecone Database quickstart","href":"/guides/get-started/quickstart"}}},"mdxExtracts":{"tableOfContents":[{"title":"1. Install an SDK","slug":"1-install-an-sdk","depth":2,"children":[]},{"title":"2. Get an API key","slug":"2-get-an-api-key","depth":2,"children":[]},{"title":"3. Generate vectors","slug":"3-generate-vectors","depth":2,"children":[]},{"title":"4. Create an index","slug":"4-create-an-index","depth":2,"children":[]},{"title":"5. Upsert vectors","slug":"5-upsert-vectors","depth":2,"children":[]},{"title":"6. Search the index","slug":"6-search-the-index","depth":2,"children":[]},{"title":"7. Clean up","slug":"7-clean-up","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"description":null,"pageData":{"navWithMetadata":[{"group":"Get started","pages":[{"title":"Pinecone Documentation","description":null,"sidebarTitle":"Overview","mode":"wide","href":"/guides/get-started/overview"},{"title":"Pinecone Database quickstart","description":null,"sidebarTitle":"Database quickstart","og:image":"https://www.pinecone.io/api/og/?title=Pinecone Database quickstart","href":"/guides/get-started/quickstart"},{"title":"Pinecone Assistant quickstart","description":null,"sidebarTitle":"Assistant quickstart","og:image":"https://www.pinecone.io/api/og/?title=Pinecone Assistant quickstart","href":"/guides/get-started/assistant-quickstart"},{"title":"Key features","description":null,"href":"/guides/get-started/key-features"},{"group":"Tutorials","pages":[{"title":"Build a RAG chatbot","description":null,"sidebarTitle":"RAG","href":"/guides/get-started/build-a-rag-chatbot"},{"title":"Implement multitenancy using namespaces","description":null,"sidebarTitle":"Multitenancy","href":"/guides/get-started/implement-multitenancy"},{"title":"Semantic search","description":null,"url":"/examples/sample-apps/legal-semantic-search","href":"/guides/get-started/semantic-search"},{"title":"Image search","description":null,"url":"https://github.com/pinecone-io/image-search-example","href":"/guides/get-started/image-search"},{"title":"Multimodal search","description":null,"url":"/examples/sample-apps/shop-the-look","href":"/guides/get-started/multimodal-search"},{"title":"Recommender","description":null,"url":"https://github.com/pinecone-io/recommender-example-typescript","href":"/guides/get-started/recommender"},{"title":"Threat detection","description":null,"url":"https://colab.research.google.com/github/pinecone-io/examples/blob/master/docs/it-threat-detection.ipynb","href":"/guides/get-started/threat-detection"},{"title":"More examples","description":null,"url":"/examples/notebooks","href":"/guides/get-started/examples"}]},{"title":"Glossary","description":null,"href":"/guides/get-started/glossary"}]},{"group":"Indexes","pages":[{"title":"Understanding indexes","description":null,"href":"/guides/indexes/understanding-indexes"},{"title":"Create an index","description":null,"href":"/guides/indexes/create-an-index"},{"title":"Migrate a pod-based index to serverless","description":null,"href":"/guides/indexes/migrate-a-pod-based-index-to-serverless"},{"title":"View index information","description":null,"href":"/guides/indexes/view-index-information"},{"group":"Back up and restore","pages":[{"title":"Understanding backups and collections","description":null,"href":"/guides/indexes/understanding-backups-and-collections"},{"title":"Back up an index","description":null,"href":"/guides/indexes/back-up-an-index"},{"title":"Restore an index","description":null,"href":"/guides/indexes/restore-an-index"}]},{"title":"Delete an index","description":null,"href":"/guides/indexes/delete-an-index"},{"title":"Prevent index deletion","description":null,"href":"/guides/indexes/prevent-index-deletion"},{"title":"Tag an index","description":null,"href":"/guides/indexes/tag-an-index"},{"title":"Use namespaces","description":null,"href":"/guides/indexes/use-namespaces"},{"title":"Configure an index","description":null,"href":"/guides/indexes/configure-an-index"},{"title":"Choose a pod type and size","description":null,"href":"/guides/indexes/choose-a-pod-type-and-size"},{"title":"Scale pod-based indexes","description":null,"href":"/guides/indexes/scale-pod-based-indexes"}]},{"group":"Data","pages":[{"title":"Upsert data","description":null,"href":"/guides/data/upsert-data"},{"title":"Query data","description":null,"href":"/guides/data/query-data"},{"title":"Fetch data","description":null,"href":"/guides/data/fetch-data"},{"title":"Update data","description":null,"href":"/guides/data/update-data"},{"title":"Delete data","description":null,"href":"/guides/data/delete-data"},{"group":"Import data","pages":[{"title":"Understanding imports","description":null,"href":"/guides/data/understanding-imports"},{"title":"Import data","description":null,"href":"/guides/data/import-data"}]},{"title":"List record IDs","description":null,"href":"/guides/data/list-record-ids"},{"title":"Target an index","description":null,"href":"/guides/data/target-an-index"},{"title":"Understanding metadata","description":null,"href":"/guides/data/understanding-metadata"},{"title":"Manage RAG documents","description":null,"href":"/guides/data/manage-rag-documents"},{"group":"Data freshness","pages":[{"title":"Understanding data freshness","description":null,"href":"/guides/data/data-freshness/understanding-data-freshness"},{"title":"Check data freshness","description":null,"href":"/guides/data/data-freshness/check-data-freshness"}]},{"group":"Hybrid search and sparse vectors","pages":[{"title":"Understanding hybrid search","description":null,"href":"/guides/data/understanding-hybrid-search"},{"title":"Encode sparse vectors","description":null,"href":"/guides/data/encode-sparse-vectors"},{"title":"Upsert sparse-dense vectors","description":null,"href":"/guides/data/upsert-sparse-dense-vectors"},{"title":"Query sparse-dense vectors","description":null,"href":"/guides/data/query-sparse-dense-vectors"}]}]},{"group":"Inference","pages":[{"title":"Understanding Pinecone Inference","description":null,"href":"/guides/inference/understanding-inference"},{"title":"Generate embeddings","description":null,"href":"/guides/inference/generate-embeddings"},{"title":"Rerank documents","description":null,"href":"/guides/inference/rerank"}]},{"group":"Assistant","pages":[{"title":"Understanding Pinecone Assistant","description":null,"href":"/guides/assistant/understanding-assistant"},{"title":"Create an assistant","description":null,"mode":"wide","href":"/guides/assistant/create-assistant"},{"title":"Upload a file to an assistant","description":null,"sidebarTitle":"Upload a file","href":"/guides/assistant/upload-file"},{"title":"Chat with an assistant","description":null,"href":"/guides/assistant/chat-with-assistant"},{"title":"Manage assistants","description":null,"href":"/guides/assistant/manage-assistants"},{"title":"Manage files","description":null,"href":"/guides/assistant/manage-files"},{"group":"Evaluate answers","pages":[{"title":"Understanding evaluation","description":null,"href":"/guides/assistant/understanding-evaluation"},{"title":"Evaluate answers","description":null,"mode":"wide","href":"/guides/assistant/evaluate-answers"}]},{"group":"Retrieve context snippets","pages":[{"title":"Understanding context snippets","description":null,"href":"/guides/assistant/understanding-context-snippets"},{"title":"Retrieve context snippets","description":null,"mode":"wide","href":"/guides/assistant/retrieve-context-snippets"}]}]},{"group":"Operations","pages":[{"title":"Local development with Pinecone Local","description":null,"sidebarTitle":"Local development","href":"/guides/operations/local-development"},{"title":"CI/CD with Pinecone Local and GitHub Actions","description":null,"sidebarTitle":"Automated testing","href":"/guides/operations/automated-testing"},{"title":"Move to production","description":null,"href":"/guides/operations/move-to-production"},{"title":"Performance tuning","description":null,"href":"/guides/operations/performance-tuning"},{"group":"Security","pages":[{"title":"Understanding security","description":null,"href":"/guides/operations/understanding-security"},{"title":"Configure SSO with Okta","description":null,"href":"/guides/organizations/configure-single-sign-on/okta"},{"title":"Configure customer-managed encryption keys","description":null,"sidebarTitle":"Configure CMEK","href":"/guides/operations/configure-cmek"},{"title":"Connect to AWS PrivateLink","description":null,"href":"/guides/operations/connect-to-aws-privatelink"}]},{"group":"Integrate with cloud storage","pages":[{"title":"Manage storage integrations","description":null,"href":"/guides/operations/integrations/manage-storage-integrations"},{"title":"Integrate with Amazon S3","description":null,"icon":"aws","href":"/guides/operations/integrations/integrate-with-amazon-s3"}]},{"title":"Monitoring","description":null,"href":"/guides/operations/monitoring"}]},{"group":"Organizations","pages":[{"title":"Understanding organizations","description":null,"href":"/guides/organizations/understanding-organizations"},{"group":"Manage billing","pages":[{"title":"Change your billing plan","description":null,"href":"/guides/organizations/manage-billing/changing-your-billing-plan"},{"title":"Set up billing through AWS Marketplace","description":null,"icon":"aws","href":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace"},{"title":"Set up billing through Azure Marketplace","description":null,"icon":"microsoft","href":"/guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace"},{"title":"Set up billing through GCP Marketplace","description":null,"icon":"google","href":"/guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace"},{"title":"Understanding subscription status","description":null,"href":"/guides/organizations/manage-billing/understanding-subscription-status"}]},{"group":"Manage cost","pages":[{"title":"Understanding cost","description":null,"href":"/guides/organizations/manage-cost/understanding-cost"},{"title":"Monitor your usage","description":null,"href":"/guides/organizations/manage-cost/monitor-your-usage"},{"title":"Manage cost","description":null,"href":"/guides/organizations/manage-cost/manage-cost"}]},{"title":"Manage organization members","description":null,"href":"/guides/organizations/manage-organization-members"}]},{"group":"Projects","pages":[{"title":"Understanding projects","description":null,"href":"/guides/projects/understanding-projects"},{"title":"Create a project","description":null,"mode":"wide","href":"/guides/projects/create-a-project"},{"title":"Manage API keys","description":null,"href":"/guides/projects/manage-api-keys"},{"title":"Manage project members","description":null,"href":"/guides/projects/manage-project-members"},{"title":"Rename a project","description":null,"mode":"wide","href":"/guides/projects/rename-a-project"}]},{"group":"APIs","pages":[{"title":"API reference","description":null,"sidebarTitle":"Introduction","href":"/reference/api/introduction"},{"title":"Authentication","description":null,"href":"/reference/api/authentication"},{"title":"Errors","description":null,"href":"/reference/api/errors"},{"title":"API versioning","description":null,"sidebarTitle":"Versioning","href":"/reference/api/versioning"}]},{"group":"Database","version":"2024-10 (latest)","pages":[{"group":"Indexes","pages":[{"title":"List indexes","description":"This operation returns a list of all indexes in a project.","openapi":"control_2024-10 get /indexes","href":"/reference/api/2024-10/control-plane/list_indexes"},{"title":"Create an index","description":"This operation deploys a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\n \nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/indexes/create-an-index#create-a-serverless-index).\n","openapi":"control_2024-10 post /indexes","href":"/reference/api/2024-10/control-plane/create_index"},{"title":"Describe an index","description":"Get a description of an index.","openapi":"control_2024-10 get /indexes/{index_name}","href":"/reference/api/2024-10/control-plane/describe_index"},{"title":"Delete an index","description":"This operation deletes an existing index.","openapi":"control_2024-10 delete /indexes/{index_name}","href":"/reference/api/2024-10/control-plane/delete_index"},{"title":"Configure an index","description":"This operation configures an existing index. \n\nFor serverless indexes, you can configure only index deletion protection and tags. For pod-based indexes, you can configure the pod size, number of replicas, tags, and index deletion protection. \n\nIt is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index).","openapi":"control_2024-10 patch /indexes/{index_name}","href":"/reference/api/2024-10/control-plane/configure_index"},{"title":"Get index stats","description":"The `describe_index_stats` operation returns statistics about the contents of an index, including the vector count per namespace, the number of dimensions, and the index fullness.\n\nServerless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes.","openapi":"data_2024-10 post /describe_index_stats","href":"/reference/api/2024-10/data-plane/describeindexstats"}]},{"group":"Vectors","pages":[{"title":"Upsert vectors","description":"The `upsert` operation writes vectors into a namespace. If a new value is upserted for an existing vector ID, it will overwrite the previous value.\n\nFor guidance and examples, see [Upsert data](https://docs.pinecone.io/guides/data/upsert-data).","openapi":"data_2024-10 post /vectors/upsert","href":"/reference/api/2024-10/data-plane/upsert"},{"title":"Query vectors","description":"The `query` operation searches a namespace, using a query vector. It retrieves the ids of the most similar items in a namespace, along with their similarity scores.\n\nFor guidance and examples, see [Query data](https://docs.pinecone.io/guides/data/query-data).","openapi":"data_2024-10 post /query","href":"/reference/api/2024-10/data-plane/query"},{"title":"Fetch vectors","description":"The `fetch` operation looks up and returns vectors, by ID, from a single namespace. The returned vectors include the vector data and/or metadata.\n\nFor guidance and examples, see [Fetch data](https://docs.pinecone.io/guides/data/fetch-data).","openapi":"data_2024-10 get /vectors/fetch","href":"/reference/api/2024-10/data-plane/fetch"},{"title":"Update a vector","description":"The `update` operation updates a vector in a namespace. If a value is included, it will overwrite the previous value. If a `set_metadata` is included, the values of the fields specified in it will be added or overwrite the previous value.\n\nFor guidance and examples, see [Update data](https://docs.pinecone.io/guides/data/update-data).","openapi":"data_2024-10 post /vectors/update","href":"/reference/api/2024-10/data-plane/update"},{"title":"Delete vectors","description":"The `delete` operation deletes vectors, by id, from a single namespace.\n\nFor guidance and examples, see [Delete data](https://docs.pinecone.io/guides/data/delete-data).","openapi":"data_2024-10 post /vectors/delete","href":"/reference/api/2024-10/data-plane/delete"},{"title":"List vector IDs","description":"The `list` operation lists the IDs of vectors in a single namespace of a serverless index. An optional prefix can be passed to limit the results to IDs with a common prefix.\n\nBy default, `list` returns up to 100 IDs per page in sorted order (bitwise \"C\" collation). If the `limit` parameter is set, `list` returns up to that number of IDs instead. Whenever there are additional IDs to return, the response also includes a `pagination_token` that you can use to get the next batch of IDs. When the response does not include a `pagination_token`, there are no more IDs to return.\n\nFor guidance and examples, see [List record IDs](https://docs.pinecone.io/guides/data/list-record-ids).\n\n**Note:** `list_vectors` is supported only for serverless indexes.","openapi":"data_2024-10 get /vectors/list","href":"/reference/api/2024-10/data-plane/list"}]},{"group":"Imports","pages":[{"title":"Start import","description":"The `start_import` operation starts an asynchronous import of vectors from object storage into an index. \n\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/data/import-data).","openapi":"data_2024-10 post /bulk/imports","href":"/reference/api/2024-10/data-plane/start_import"},{"title":"List imports","description":"The `list_imports` operation lists all recent and ongoing import operations. \n\nBy default, `list_imports` returns up to 100 imports per page. If the `limit` parameter is set, `list` returns up to that number of imports instead. Whenever there are additional IDs to return, the response also includes a `pagination_token` that you can use to get the next batch of imports. When the response does not include a `pagination_token`, there are no more imports to return.\n\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/data/import-data).","openapi":"data_2024-10 get /bulk/imports","href":"/reference/api/2024-10/data-plane/list_imports"},{"title":"Describe an import","description":"The `describe_import` operation returns details of a specific import operation. \n\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/data/import-data).","openapi":"data_2024-10 get /bulk/imports/{id}","href":"/reference/api/2024-10/data-plane/describe_import"},{"title":"Cancel an import","description":"The `cancel_import` operation cancels an import operation if it is not yet finished. It has no effect if the operation is already finished. \n\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/data/import-data).","openapi":"data_2024-10 delete /bulk/imports/{id}","href":"/reference/api/2024-10/data-plane/cancel_import"}]},{"group":"Backups","pages":[{"title":"List collections","description":"This operation returns a list of all collections in a project.\nServerless indexes do not support collections.\n","openapi":"control_2024-07 get /collections","href":"/reference/api/2024-07/control-plane/list_collections"},{"title":"Create a collection","description":"This operation creates a Pinecone collection.\n \nServerless indexes do not support collections.\n","openapi":"control_2024-07 post /collections","href":"/reference/api/2024-07/control-plane/create_collection"},{"title":"Describe a collection","description":"This operation gets a description of a collection.\nServerless indexes do not support collections.\n","openapi":"control_2024-07 get /collections/{collection_name}","href":"/reference/api/2024-07/control-plane/describe_collection"},{"title":"Delete a collection","description":"This operation deletes an existing collection.\nServerless indexes do not support collections.\n","openapi":"control_2024-07 delete /collections/{collection_name}","href":"/reference/api/2024-07/control-plane/delete_collection"}]}]},{"group":"Database","version":"2024-07","pages":[{"group":"Indexes","pages":[{"title":"List indexes","description":"This operation returns a list of all indexes in a project.","openapi":"control_2024-10 get /indexes","href":"/reference/api/2024-10/control-plane/list_indexes"},{"title":"Create an index","description":"This operation deploys a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\n \nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/indexes/create-an-index#create-a-serverless-index).\n","openapi":"control_2024-10 post /indexes","href":"/reference/api/2024-10/control-plane/create_index"},{"title":"Describe an index","description":"Get a description of an index.","openapi":"control_2024-10 get /indexes/{index_name}","href":"/reference/api/2024-10/control-plane/describe_index"},{"title":"Delete an index","description":"This operation deletes an existing index.","openapi":"control_2024-10 delete /indexes/{index_name}","href":"/reference/api/2024-10/control-plane/delete_index"},{"title":"Configure an index","description":"This operation configures an existing index. \n\nFor serverless indexes, you can configure only index deletion protection and tags. For pod-based indexes, you can configure the pod size, number of replicas, tags, and index deletion protection. \n\nIt is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index).","openapi":"control_2024-10 patch /indexes/{index_name}","href":"/reference/api/2024-10/control-plane/configure_index"},{"title":"Get index stats","description":"The `describe_index_stats` operation returns statistics about the contents of an index, including the vector count per namespace, the number of dimensions, and the index fullness.\n\nServerless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes.","openapi":"data_2024-10 post /describe_index_stats","href":"/reference/api/2024-10/data-plane/describeindexstats"}]},{"group":"Vectors","pages":[{"title":"Upsert vectors","description":"The `upsert` operation writes vectors into a namespace. If a new value is upserted for an existing vector ID, it will overwrite the previous value.\n\nFor guidance and examples, see [Upsert data](https://docs.pinecone.io/guides/data/upsert-data).","openapi":"data_2024-07 post /vectors/upsert","href":"/reference/api/2024-07/data-plane/upsert"},{"title":"Query vectors","description":"The `query` operation searches a namespace, using a query vector. It retrieves the ids of the most similar items in a namespace, along with their similarity scores.\n\nFor guidance and examples, see [Query data](https://docs.pinecone.io/guides/data/query-data).","openapi":"data_2024-07 post /query","href":"/reference/api/2024-07/data-plane/query"},{"title":"Fetch vectors","description":"The `fetch` operation looks up and returns vectors, by ID, from a single namespace. The returned vectors include the vector data and/or metadata.\n\nFor guidance and examples, see [Fetch data](https://docs.pinecone.io/guides/data/fetch-data).","openapi":"data_2024-07 get /vectors/fetch","href":"/reference/api/2024-07/data-plane/fetch"},{"title":"Update a vector","description":"The `update` operation updates a vector in a namespace. If a value is included, it will overwrite the previous value. If a `set_metadata` is included, the values of the fields specified in it will be added or overwrite the previous value.\n\nFor guidance and examples, see [Update data](https://docs.pinecone.io/guides/data/update-data).","openapi":"data_2024-07 post /vectors/update","href":"/reference/api/2024-07/data-plane/update"},{"title":"Delete vectors","description":"The `delete` operation deletes vectors, by id, from a single namespace.\n\nFor guidance and examples, see [Delete data](https://docs.pinecone.io/guides/data/delete-data).","openapi":"data_2024-07 post /vectors/delete","href":"/reference/api/2024-07/data-plane/delete"},{"title":"List vector IDs","description":"The `list` operation lists the IDs of vectors in a single namespace of a serverless index. An optional prefix can be passed to limit the results to IDs with a common prefix.\n\n`list` returns up to 100 IDs at a time by default in sorted order (bitwise \"C\" collation). If the `limit` parameter is set, `list` returns up to that number of IDs instead. Whenever there are additional IDs to return, the response also includes a `pagination_token` that you can use to get the next batch of IDs. When the response does not include a `pagination_token`, there are no more IDs to return.\n\nFor guidance and examples, see [List record IDs](https://docs.pinecone.io/guides/data/list-record-ids).\n\n**Note:** `list` is supported only for serverless indexes.","openapi":"data_2024-07 get /vectors/list","href":"/reference/api/2024-07/data-plane/list"}]},{"group":"Backups","pages":[{"title":"List collections","description":"This operation returns a list of all collections in a project.\nServerless indexes do not support collections.\n","openapi":"control_2024-07 get /collections","href":"/reference/api/2024-07/control-plane/list_collections"},{"title":"Create a collection","description":"This operation creates a Pinecone collection.\n \nServerless indexes do not support collections.\n","openapi":"control_2024-07 post /collections","href":"/reference/api/2024-07/control-plane/create_collection"},{"title":"Describe a collection","description":"This operation gets a description of a collection.\nServerless indexes do not support collections.\n","openapi":"control_2024-07 get /collections/{collection_name}","href":"/reference/api/2024-07/control-plane/describe_collection"},{"title":"Delete a collection","description":"This operation deletes an existing collection.\nServerless indexes do not support collections.\n","openapi":"control_2024-07 delete /collections/{collection_name}","href":"/reference/api/2024-07/control-plane/delete_collection"}]}]},{"group":"Database","version":"2024-04","pages":[{"group":"Indexes","pages":[{"title":"List indexes","description":"This operation returns a list of all indexes in a project.","openapi":"control_2024-04 get /indexes","href":"/reference/api/2024-04/control-plane/list_indexes"},{"title":"Create an index","description":"This operation deploys a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\n\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/indexes/create-an-index#create-a-serverless-index).\n","openapi":"control_2024-04 post /indexes","href":"/reference/api/2024-04/control-plane/create_index"},{"title":"Describe an index","description":"Get a description of an index.","openapi":"control_2024-04 get /indexes/{index_name}","href":"/reference/api/2024-04/control-plane/describe_index"},{"title":"Delete an index","description":"This operation deletes an existing index.","openapi":"control_2024-04 delete /indexes/{index_name}","href":"/reference/api/2024-04/control-plane/delete_index"},{"title":"Configure an index","description":"This operation configures the pod size and number of replicas for a pod-based index.\n\nIt is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection.","openapi":"control_2024-04 patch /indexes/{index_name}","href":"/reference/api/2024-04/control-plane/configure_index"},{"title":"Get index stats","description":"The `describe_index_stats` operation returns statistics about the contents of an index, including the vector count per namespace, the number of dimensions, and the index fullness.\n\nServerless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes.","openapi":"data_2024-04 post /describe_index_stats","href":"/reference/api/2024-04/data-plane/describeindexstats"}]},{"group":"Vectors","pages":[{"title":"Upsert vectors","description":"The `upsert` operation writes vectors into a namespace. If a new value is upserted for an existing vector ID, it will overwrite the previous value.\n\nFor guidance and examples, see [Upsert data](https://docs.pinecone.io/guides/data/upsert-data).","openapi":"data_2024-04 post /vectors/upsert","href":"/reference/api/2024-04/data-plane/upsert"},{"title":"Query vectors","description":"The `query` operation searches a namespace, using a query vector. It retrieves the ids of the most similar items in a namespace, along with their similarity scores.\n\nFor guidance and examples, see [Query data](https://docs.pinecone.io/guides/data/query-data).","openapi":"data_2024-04 post /query","href":"/reference/api/2024-04/data-plane/query"},{"title":"Fetch vectors","description":"The `fetch` operation looks up and returns vectors, by ID, from a single namespace. The returned vectors include the vector data and/or metadata.\n\nFor guidance and examples, see [Fetch data](https://docs.pinecone.io/guides/data/fetch-data).","openapi":"data_2024-04 get /vectors/fetch","href":"/reference/api/2024-04/data-plane/fetch"},{"title":"Update a vector","description":"The `update` operation updates a vector in a namespace. If a value is included, it will overwrite the previous value. If a `set_metadata` is included, the values of the fields specified in it will be added or overwrite the previous value.\n\nFor guidance and examples, see [Update data](https://docs.pinecone.io/guides/data/update-data).","openapi":"data_2024-04 post /vectors/update","href":"/reference/api/2024-04/data-plane/update"},{"title":"Delete vectors","description":"The `delete` operation deletes vectors, by id, from a single namespace.\n\nFor guidance and examples, see [Delete data](https://docs.pinecone.io/guides/data/delete-data).","openapi":"data_2024-04 post /vectors/delete","href":"/reference/api/2024-04/data-plane/delete"},{"title":"List vector IDs","description":"The `list` operation lists the IDs of vectors in a single namespace of a serverless index. An optional prefix can be passed to limit the results to IDs with a common prefix.\n\n`list` returns up to 100 IDs at a time by default in sorted order (bitwise \"C\" collation). If the `limit` parameter is set, `list` returns up to that number of IDs instead. Whenever there are additional IDs to return, the response also includes a `pagination_token` that you can use to get the next batch of IDs. When the response does not include a `pagination_token`, there are no more IDs to return.\n\nFor guidance and examples, see [List record IDs](https://docs.pinecone.io/guides/data/list-record-ids).\n\n**Note:** `list` is supported only for serverless indexes.","openapi":"data_2024-04 get /vectors/list","href":"/reference/api/2024-04/data-plane/list"}]},{"group":"Backups","pages":[{"title":"List collections","description":"This operation returns a list of all collections in a project.\n\nServerless indexes do not support collections.\n","openapi":"control_2024-04 get /collections","href":"/reference/api/2024-04/control-plane/list_collections"},{"title":"Create a collection","description":"This operation creates a Pinecone collection.\n\nServerless indexes do not support collections.\n","openapi":"control_2024-04 post /collections","href":"/reference/api/2024-04/control-plane/create_collection"},{"title":"Describe a collection","description":"This operation gets a description of a collection.\n\nServerless indexes do not support collections.\n","openapi":"control_2024-04 get /collections/{collection_name}","href":"/reference/api/2024-04/control-plane/describe_collection"},{"title":"Delete a collection","description":"This operation deletes an existing collection.\n\nServerless indexes do not support collections.\n","openapi":"control_2024-04 delete /collections/{collection_name}","href":"/reference/api/2024-04/control-plane/delete_collection"}]}]},{"group":"Inference","version":"2024-10 (latest)","pages":[{"group":"Embed","pages":[{"title":"Embed data","description":"Generate embeddings for input data.\n\nFor guidance and examples, see [Generate embeddings](https://docs.pinecone.io/guides/inference/generate-embeddings).","openapi":"inference_2024-10 post /embed","href":"/reference/api/2024-10/inference/generate-embeddings"}]},{"group":"Rerank","pages":[{"title":"Rerank documents","description":"Rerank documents according to their relevance to a query.\n\nFor guidance and examples, see [Rerank documents](https://docs.pinecone.io/guides/inference/rerank).","openapi":"inference_2024-10 post /rerank","href":"/reference/api/2024-10/inference/rerank"}]}]},{"group":"Inference","version":"2024-07","pages":[{"group":"Embed","pages":[{"title":"Embed data","description":"Generate embeddings for input data.\n\nFor guidance and examples, see [Generate embeddings](https://docs.pinecone.io/guides/inference/generate-embeddings).","openapi":"inference_2024-10 post /embed","href":"/reference/api/2024-10/inference/generate-embeddings"}]}]},{"group":"Assistant","pages":[{"group":"Assistants","pages":[{"title":"List assistants","description":"This operation returns a list of all assistants in a project.","openapi":"assistant-control_unstable GET /assistant/assistants","href":"/reference/api/assistant/list_assistants"},{"title":"Create an assistant","description":"The `create_assistant` endpoint [creates a Pinecone Assistant](https://docs.pinecone.io/guides/assistant/create-assistant). This is where you specify the underlying training model, which cloud provider you would like to deploy with, and more.","openapi":"assistant-control_unstable POST /assistant/assistants","href":"/reference/api/assistant/create_assistant"},{"title":"Check assistant status","description":"The `get_assistant` endpoint [gets the status](https://docs.pinecone.io/guides/assistant/manage-assistants#get-the-status-of-an-assistant) of an assistant.","openapi":"assistant-control_unstable GET /assistant/assistants/{assistant_name}","href":"/reference/api/assistant/get_assistant"},{"title":"Update an assistant","description":"The `update_assistant` endpoint [updates an existing assistant](https://docs.pinecone.io/guides/assistant/manage-assistants#update-an-existing-assistant). You can modify the assistant's instructions and metadata.","openapi":"assistant-control_unstable PATCH /assistant/assistants/{assistant_name}","href":"/reference/api/assistant/update_assistant"},{"title":"Delete an assistant","description":"The `delete_assistant` endpoint [deletes an existing assistant](https://docs.pinecone.io/guides/assistant/manage-assistants#delete-an-assistant).","openapi":"assistant-control_unstable DELETE /assistant/assistants/{assistant_name}","href":"/reference/api/assistant/delete_assistant"}]},{"group":"Files","pages":[{"title":"List Files","description":"The `list_files` endpoint returns a [list of all files in an assistant](https://docs.pinecone.io//guides/assistant/manage-files#list-files-in-an-assistant), with an option to filter files with metadata.","openapi":"assistant-data_unstable GET /assistant/files/{assistant_name}","href":"/reference/api/assistant/list_files"},{"title":"Upload file to assistant","description":"The `upload_file` endpoint [uploads a file](https://docs.pinecone.io/guides/assistant/upload-file) to the specified assistant.","openapi":"assistant-data_unstable POST /assistant/files/{assistant_name}","href":"/reference/api/assistant/create_file"},{"title":"Describe a file upload","description":"The `describe_file` endpoint provides the [current status and metadata of a file](https://docs.pinecone.io/guides/assistant/manage-files#get-the-status-of-a-file) uploaded to an assistant.","openapi":"assistant-data_unstable GET /assistant/files/{assistant_name}/{assistant_file_id}","href":"/reference/api/assistant/describe_file"},{"title":"Delete an uploaded file","description":"The `delete_file` endpoint [deletes an uploaded file](https://docs.pinecone.io/guides/assistant/manage-files#delete-a-file) from an assistant.","openapi":"assistant-data_unstable DELETE /assistant/files/{assistant_name}/{assistant_file_id}","href":"/reference/api/assistant/delete_file"}]},{"group":"Chat","pages":[{"title":"Chat with an assistant","description":"The `chat_assistant` endpoint allows you to [chat with an assistant](https://docs.pinecone.io/guides/assistant/chat-with-assistant) and get back citations in structured form. \n\nThis is the recommended way to chat with an assistant, as it offers more functionality and control over the assistant's responses and references than the `chat_completion_assistant` endpoint.","openapi":"assistant-data_unstable POST /assistant/chat/{assistant_name}","href":"/reference/api/assistant/chat_assistant"},{"title":"Chat through an OpenAI-compatible interface","description":"The `chat_completion_assistant` endpoint is used to [chat with an assistant](https://docs.pinecone.io/guides/assistant/chat-with-assistant). This endpoint is based on the OpenAI Chat Completion API, a commonly used and adopted API. \n\nIt is useful if you need inline citations or OpenAI-compatible responses, but has limited functionality compared to the [`chat_assistant`](https://docs.pinecone.io/reference/api/2024-07/assistant/chat_assistant) operation.","openapi":"assistant-data_unstable POST /assistant/chat/{assistant_name}/chat/completions","href":"/reference/api/assistant/chat_completion_assistant"}]},{"group":"Evaluation","pages":[{"title":"Evaluate an answer","description":"The `metrics_alignment` endpoint [evaluates](https://docs.pinecone.io/guides/assistant/understanding-evaluation) the correctness, completeness, and alignment of a generated answer with respect to a question and a ground truth answer. The correctness and completeness are evaluated based on the precision and recall of the generated answer with respect to the ground truth answer facts. Alignment is the harmonic mean of correctness and completeness.","openapi":"assistant-data_evaluation_unstable POST /assistant/evaluation/metrics/alignment","href":"/reference/api/assistant/metrics_alignment"}]},{"group":"Context snippets","pages":[{"title":"Retrieve context from an assistant","description":"The `context_assistant` endpoint allows you to retrieve context from an assistant that might be used as part of RAG or any agentic flow.","openapi":"assistant-data_unstable POST /assistant/chat/{assistant_name}/context","href":"/reference/api/assistant/context_assistant"}]}]},{"group":"SDKs","pages":[{"title":"Introduction","description":null,"href":"/reference/pinecone-sdks"},{"title":"Python SDK","description":null,"icon":"python","href":"/reference/python-sdk"},{"title":"Node.js SDK","description":null,"icon":"node-js","href":"/reference/node-sdk"},{"title":"Java SDK","description":null,"icon":"java","href":"/reference/java-sdk"},{"title":"Go SDK","description":null,"icon":"golang","href":"/reference/go-sdk"},{"title":".NET SDK","description":null,"icon":"microsoft","href":"/reference/dotnet-sdk"},{"title":"Rust SDK","description":null,"icon":"rust","href":"/reference/rust-sdk"}]},{"group":"Tools","pages":[{"title":"Pinecone text client","description":null,"href":"/reference/tools/pinecone-text-client"},{"title":"Spark-Pinecone connector","description":null,"href":"/reference/tools/pinecone-spark-connector"}]},{"group":"Architecture","pages":[{"title":"Serverless architecture","description":null,"href":"/reference/architecture/serverless-architecture"},{"title":"Pod-based architecture","description":null,"href":"/reference/architecture/pod-based-architecture"}]},{"group":"Miscellaneous","pages":[{"title":"Object identifiers","description":null,"href":"/reference/object-identifiers"},{"title":"Quotas and limits","description":null,"href":"/reference/quotas-and-limits"},{"title":"Known limitations","description":null,"href":"/reference/known-limitations"}]},{"group":"Examples","pages":[{"title":"Notebooks","description":null,"mode":"wide","href":"/examples/notebooks"},{"title":"Sample apps","description":null,"href":"/examples/sample-apps"},{"title":"Reference architectures","description":null,"href":"/examples/reference-architectures"}]},{"group":"Models","pages":[{"title":"Model Gallery","description":"Pinecone integrations enable you to build and deploy AI applications faster and more efficiently. Integrate Pinecone with your favorite frameworks, data sources, and infrastructure providers.","href":"/models/overview"}]},{"group":"","pages":[{"title":"Integrations","description":"Pinecone integrations enable you to build and deploy AI applications faster and more efficiently. Integrate Pinecone with your favorite frameworks, data sources, and infrastructure providers.","href":"/integrations/overview"}]},{"group":"Connect an integration","pages":[{"group":"Data sources","pages":[{"title":"Airbyte","description":null,"href":"/integrations/airbyte"},{"title":"Apify","description":null,"href":"/integrations/apify"},{"title":"Aryn","description":null,"href":"/integrations/aryn"},{"title":"Confluent","description":null,"href":"/integrations/confluent"},{"title":"Databricks","description":"Using Databricks and Pinecone to create and index vector embeddings at scale","href":"/integrations/databricks"},{"title":"Datavolo","description":null,"href":"/integrations/datavolo"},{"title":"Elasticsearch","description":null,"href":"/integrations/elasticsearch"},{"title":"Estuary","description":null,"href":"/integrations/estuary"},{"title":"Fleak","description":null,"href":"/integrations/fleak"},{"title":"FlowiseAI","description":null,"href":"/integrations/flowise"},{"title":"Gathr","description":null,"href":"/integrations/gathr"},{"title":"Matillion","description":null,"href":"/integrations/matillion"},{"title":"Nexla","description":null,"href":"/integrations/nexla"},{"title":"Redpanda","description":null,"href":"/integrations/redpanda"},{"title":"Snowflake","description":null,"href":"/integrations/snowflake"},{"title":"StreamNative","description":null,"href":"/integrations/streamnative"},{"title":"Unstructured","description":null,"href":"/integrations/unstructured"}]},{"group":"Frameworks","pages":[{"title":"Amazon Bedrock","description":"Pinecone as a Knowledge Base for Amazon Bedrock","href":"/integrations/amazon-bedrock"},{"title":"Amazon SageMaker","description":null,"href":"/integrations/amazon-sagemaker"},{"title":"Context Data","description":null,"href":"/integrations/context-data"},{"title":"Haystack","description":"Using Haystack and Pinecone to keep your NLP-driven apps up-to-date","href":"/integrations/haystack"},{"title":"Instill AI","description":null,"href":"/integrations/instill"},{"title":"LangChain","description":"Using LangChain and Pinecone to add knowledge to LLMs","href":"/integrations/langchain"},{"title":"LlamaIndex","description":"Using LlamaIndex and Pinecone to build semantic search and RAG applications","href":"/integrations/llamaindex"},{"title":"Nuclia","description":null,"href":"/integrations/nuclia"},{"title":"OctoAI","description":null,"href":"/integrations/octoai"}]},{"group":"Infrastructure","pages":[{"title":"Amazon Web Services (AWS)","description":null,"href":"/integrations/aws"},{"title":"Azure","description":null,"href":"/integrations/azure"},{"title":"Google Cloud Platform (GCP)","description":null,"href":"/integrations/gcp"},{"title":"GitHub Copilot","description":null,"href":"/integrations/github-copilot"},{"title":"Pulumi","description":null,"href":"/integrations/pulumi"},{"title":"Terraform","description":"Using Terraform to manage Pinecone resources","href":"/integrations/terraform"},{"title":"Vercel","description":null,"href":"/integrations/vercel"}]},{"group":"Models","pages":[{"title":"Anyscale","description":null,"href":"/integrations/anyscale"},{"title":"Cohere","description":"Using Cohere and Pinecone to generate and index high-quality vector embeddings","href":"/integrations/cohere"},{"title":"Voyage AI","description":"Using Voyage AI and Pinecone to generate and index high-quality vector embeddings","href":"/integrations/voyage"},{"title":"Hugging Face Inference Endpoints","description":"Using Hugging Face Inference Endpoints and Pinecone to generate and index high-quality vector embeddings","href":"/integrations/hugging-face-inference-endpoints"},{"title":"Jina AI","description":null,"href":"/integrations/jina"},{"title":"OpenAI","description":"Using OpenAI and Pinecone to combine deep learning capabilities for embedding generation with efficient vector storage and retrieval","href":"/integrations/openai"},{"title":"Twelve Labs","description":null,"href":"/integrations/twelve-labs"}]},{"group":"Observability","pages":[{"title":"Datadog","description":"Monitoring Pinecone with Datadog","href":"/integrations/datadog"},{"title":"Langtrace","description":null,"href":"/integrations/langtrace"},{"title":"New Relic","description":null,"href":"/integrations/new-relic"},{"title":"Traceloop","description":null,"href":"/integrations/traceloop"},{"title":"TruLens","description":"Using TruLens and Pinecone to evaluate grounded LLM applications","href":"/integrations/trulens"}]}]},{"group":"Build an integration","pages":[{"title":"Become a Pinecone partner","description":null,"href":"/integrations/build-integration/become-a-partner"},{"title":"Attribute usage to your integration","description":null,"href":"/integrations/build-integration/attribute-usage-to-your-integration"},{"title":"Connect your users to Pinecone","description":null,"href":"/integrations/build-integration/connect-your-users-to-pinecone"}]},{"group":"","pages":[{"title":"Contact Support","description":null,"articleID":"13882889246237","href":"/troubleshooting/contact-support"},{"title":"How to work with Support","description":null,"articleID":"17535134154397","href":"/troubleshooting/how-to-work-with-support"},{"title":"Pinecone Support SLAs","description":null,"articleID":"15908636632861","href":"/troubleshooting/pinecone-support-slas"}]},{"group":"Account management","pages":[{"title":"Login code issues","description":null,"articleID":"12439535003677","href":"/troubleshooting/login-code-issues"},{"title":"Custom data processing agreements","description":null,"articleID":"15195271335069","href":"/troubleshooting/custom-data-processing-agreements"},{"title":"Delete your organization","description":null,"articleID":"11329562340253","href":"/troubleshooting/delete-your-organization"},{"title":"Delete your account","description":null,"href":"/troubleshooting/delete-your-account"},{"title":"Billing disputes and refunds","description":null,"articleID":"15991289038237","href":"/troubleshooting/billing-disputes-and-refunds"}]},{"group":"Indexes","pages":[{"title":"Available cloud regions","description":null,"articleID":"19318696331677","href":"/troubleshooting/available-cloud-regions"},{"title":"Export indexes","description":null,"articleID":"12438275491741","href":"/troubleshooting/export-indexes"},{"title":"Wait for index creation to be complete","description":null,"articleID":"8747593242909","href":"/troubleshooting/wait-for-index-creation"},{"title":"Select index type and size","description":null,"articleID":"15991468911901","href":"/troubleshooting/select-index-type-and-size"},{"title":"How and when to increase index size","description":null,"articleID":"15991281846941","href":"/troubleshooting/how-and-when-to-increase-index-size"},{"title":"Use namespaces instead of several indexes","description":null,"articleID":"15769675534621","href":"/troubleshooting/use-namespaces-instead-of-several-indexes"},{"title":"Namespaces vs. metadata filtering","description":null,"articleID":"7884238411165","href":"/troubleshooting/namespaces-vs-metadata-filtering"},{"title":"Restrictions on index names","description":null,"articleID":"11729246212637","href":"/troubleshooting/restrictions-on-index-names"},{"title":"Return all vectors in an index","description":null,"articleID":"11604325992349","href":"/troubleshooting/return-all-vectors-in-an-index"},{"title":"Vertically downscaling","description":null,"articleID":"15991321917981","href":"/troubleshooting/vertically-downscaling"},{"title":"Delete a namespace","description":null,"articleID":"15770007812509","href":"/troubleshooting/delete-a-namespace"},{"title":"Pods are full","description":null,"articleID":"18863372418717","href":"/troubleshooting/pods-are-full"}]},{"group":"Data","pages":[{"title":"Parallel queries","description":null,"articleID":"9133714526877","href":"/troubleshooting/parallel-queries"},{"title":"Minimize latencies","description":null,"articleID":"18863347205661","href":"/troubleshooting/minimize-latencies"},{"title":"Embedding values changed when upserted","description":null,"articleID":"17535273763741","href":"/troubleshooting/embedding-values-changed-when-upserted"},{"title":"How and when to add replicas","description":null,"articleID":"18863942216477","href":"/troubleshooting/how-and-when-to-add-replicas"},{"title":"Keep customer data separate in Pinecone","description":null,"articleID":"7985415079453","href":"/troubleshooting/keep-customer-data-separate"},{"title":"Limitations of querying by ID","description":null,"articleID":"18864309197469","href":"/troubleshooting/limitations-of-querying-by-id"},{"title":"Create and manage vectors with metadata","description":null,"articleID":"14643255054109","href":"/troubleshooting/create-and-manage-vectors-with-metadata"},{"title":"Handle large numbers of deletes by metadata","description":null,"articleID":"15991280310685","href":"/troubleshooting/handle-deletes-by-metadata"},{"title":"Metadata re-configuration","description":null,"articleID":"15991362468509","href":"/troubleshooting/metadata-reconfiguration"},{"title":"Metadata string value returned as a datetime object","description":null,"articleID":"11113544724381","href":"/troubleshooting/metadata-string-value-returned-as-datetime"},{"title":"Remove a metadata field from a record","description":null,"articleID":"15277578080413","href":"/troubleshooting/remove-metadata-field"}]},{"group":"Common errors","pages":[{"title":"Index creation error - missing spec parameter","description":null,"articleID":"18863405419421","href":"/troubleshooting/index-creation-error-missing-spec"},{"title":"Serverless index creation error - max serverless indexes","description":null,"articleID":"18863343628701","href":"/troubleshooting/index-creation-error-max-serverless"},{"title":"Serverless index connection errors","description":null,"articleID":"16136406269085","href":"/troubleshooting/serverless-index-connection-errors"},{"title":"Error: Handshake read failed when connecting","description":null,"articleID":"10724456320413","href":"/troubleshooting/error-handshake-read-failed"},{"title":"PineconeAttribute errors with LangChain","description":null,"articleID":"16401743809693","href":"/troubleshooting/pinecone-attribute-errors-with-langchain"},{"title":"Error: Cannot import name 'Pinecone' from 'pinecone'","description":null,"articleID":"18220730068381","href":"/troubleshooting/error-cannot-import-name-pinecone"},{"title":"Python AttributeError: module pinecone has no attribute init","description":null,"articleID":"16064065689117","href":"/troubleshooting/module-pinecone-has-no-attribute-init"}]},{"group":"Miscellaneous","pages":[{"title":"Best Practices","description":null,"articleID":"15991289038237","href":"/troubleshooting/best-practices"},{"title":"Differences between Lexical and Semantic Search regarding relevancy","description":null,"articleID":"9500075821981","href":"/troubleshooting/differences-between-lexical-semantic-search"},{"title":"Node.JS Troubleshooting","description":null,"articleID":"9570011184797","href":"/troubleshooting/nodejs-troubleshooting"},{"title":"CORS Issues","description":null,"articleID":"8764985175709","href":"/troubleshooting/cors-issues"},{"title":"Debug model vs. Pinecone recall issues","description":null,"articleID":"9570903705757","href":"/troubleshooting/debug-model-vs-pinecone-recall-issues"},{"title":"Non-indexed field filter issues","description":null,"articleID":"15991457795613","href":"/troubleshooting/non-indexed-field-filter-issues"},{"title":"Unable to pip install","description":null,"articleID":"18863347253917","href":"/troubleshooting/unable-to-pip-install"}]},{"group":"Release notes","pages":[{"title":"2024 releases","description":null,"href":"/release-notes/2024"},{"title":"2023 releases","description":null,"href":"/release-notes/2023"},{"title":"2022 releases","description":null,"href":"/release-notes/2022"}]},{"group":"Policies","pages":[{"title":"Feature availability","description":null,"href":"/release-notes/feature-availability"}]}],"pageMetadata":{"title":"Pinecone Database quickstart","description":null,"sidebarTitle":"Database quickstart","og:image":"https://www.pinecone.io/api/og/?title=Pinecone Database quickstart","href":"/guides/get-started/quickstart"},"mintConfig":{"layout":"topnav","sidebar":{"items":"container"},"topbar":{"style":"default"},"search":{"location":"top"},"rounded":"default","codeBlock":{"mode":"dark"},"topbarCtaButton":{"name":"Sign up free","url":"https://app.pinecone.io/?sessionType=signup","style":"pill","arrow":true},"$schema":"https://mintlify.com/schema.json","name":"Pinecone Docs","logo":"https://mintlify.s3.us-west-1.amazonaws.com/pinecone-2/logo/light.svg","favicon":"/favicon-512.png","openapi":["openapi/control_2024-10.yaml","openapi/control_2024-07.yaml","openapi/control_2024-04.yaml","openapi/data_2024-10.yaml","openapi/data_2024-07.yaml","openapi/data_2024-04.yaml","openapi/inference_2024-10.yaml","openapi/assistant-data_unstable.yaml","openapi/assistant-control_unstable.yaml","openapi/assistant-data_evaluation_unstable.yaml","openapi/control_unstable.yaml","openapi/data_unstable.yaml"],"api":{"playground":{"mode":"simple"}},"modeToggle":{"default":"light","isHidden":true},"versions":[{"name":"2024-10 (latest)","default":true},{"name":"2024-07"},{"name":"2024-04"}],"metadata":{"og:image":"https://www.pinecone.io/images/docs_og_image.png","twitter:title":"The vector database to build knowledgeable AI | Pinecone","twitter:description":"Search through billions of items for similar matches to any object, in milliseconds. It's the next generation of search, an API call away.","twitter:site":"@pinecone","twitter:image":"https://www.pinecone.io/images/docs_og_image.png"},"colors":{"primary":"#1C17FF","light":"#504CFF","dark":"#1C17FF","background":{"light":"#FBFBFC"}},"topbarLinks":[{"url":"https://status.pinecone.io","name":"Status","_id":"674603e09671c4d550ba39e1"},{"url":"https://app.pinecone.io/organizations/-/settings/support","name":"Support","_id":"674603e09671c4d550ba39e2"},{"url":"https://app.pinecone.io/?sessionType=login","name":"Log In","_id":"674603e09671c4d550ba39e3"}],"navigation":[{"group":"Get started","pages":["guides/get-started/overview","guides/get-started/quickstart","guides/get-started/assistant-quickstart","guides/get-started/key-features",{"group":"Tutorials","pages":["guides/get-started/build-a-rag-chatbot","guides/get-started/implement-multitenancy","guides/get-started/semantic-search","guides/get-started/image-search","guides/get-started/multimodal-search","guides/get-started/recommender","guides/get-started/threat-detection","guides/get-started/examples"]},"guides/get-started/glossary"]},{"group":"Indexes","pages":["guides/indexes/understanding-indexes","guides/indexes/create-an-index","guides/indexes/migrate-a-pod-based-index-to-serverless","guides/indexes/view-index-information",{"group":"Back up and restore","pages":["guides/indexes/understanding-backups-and-collections","guides/indexes/back-up-an-index","guides/indexes/restore-an-index"]},"guides/indexes/delete-an-index","guides/indexes/prevent-index-deletion","guides/indexes/tag-an-index","guides/indexes/use-namespaces","guides/indexes/configure-an-index","guides/indexes/choose-a-pod-type-and-size","guides/indexes/scale-pod-based-indexes"]},{"group":"Data","pages":["guides/data/upsert-data","guides/data/query-data","guides/data/fetch-data","guides/data/update-data","guides/data/delete-data",{"group":"Import data","pages":["guides/data/understanding-imports","guides/data/import-data"]},"guides/data/list-record-ids","guides/data/target-an-index","guides/data/understanding-metadata","guides/data/manage-rag-documents",{"group":"Data freshness","pages":["guides/data/data-freshness/understanding-data-freshness","guides/data/data-freshness/check-data-freshness"]},{"group":"Hybrid search and sparse vectors","pages":["guides/data/understanding-hybrid-search","guides/data/encode-sparse-vectors","guides/data/upsert-sparse-dense-vectors","guides/data/query-sparse-dense-vectors"]}]},{"group":"Inference","pages":["guides/inference/understanding-inference","guides/inference/generate-embeddings","guides/inference/rerank"]},{"group":"Assistant","pages":["guides/assistant/understanding-assistant","guides/assistant/create-assistant","guides/assistant/upload-file","guides/assistant/chat-with-assistant","guides/assistant/manage-assistants","guides/assistant/manage-files",{"group":"Evaluate answers","pages":["guides/assistant/understanding-evaluation","guides/assistant/evaluate-answers"]},{"group":"Retrieve context snippets","pages":["guides/assistant/understanding-context-snippets","guides/assistant/retrieve-context-snippets"]}]},{"group":"Operations","pages":["guides/operations/local-development","guides/operations/automated-testing","guides/operations/move-to-production","guides/operations/performance-tuning",{"group":"Security","pages":["guides/operations/understanding-security","guides/organizations/configure-single-sign-on/okta","guides/operations/configure-cmek","guides/operations/connect-to-aws-privatelink"]},{"group":"Integrate with cloud storage","pages":["guides/operations/integrations/manage-storage-integrations","guides/operations/integrations/integrate-with-amazon-s3"]},"guides/operations/monitoring"]},{"group":"Organizations","pages":["guides/organizations/understanding-organizations",{"group":"Manage billing","pages":["guides/organizations/manage-billing/changing-your-billing-plan","guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace","guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace","guides/organizations/manage-billing/understanding-subscription-status"]},{"group":"Manage cost","pages":["guides/organizations/manage-cost/understanding-cost","guides/organizations/manage-cost/monitor-your-usage","guides/organizations/manage-cost/manage-cost"]},"guides/organizations/manage-organization-members"]},{"group":"Projects","pages":["guides/projects/understanding-projects","guides/projects/create-a-project","guides/projects/manage-api-keys","guides/projects/manage-project-members","guides/projects/rename-a-project"]},{"group":"APIs","pages":["reference/api/introduction","reference/api/authentication","reference/api/errors","reference/api/versioning"]},{"group":"Database","version":"2024-10 (latest)","pages":[{"group":"Indexes","pages":["reference/api/2024-10/control-plane/list_indexes","reference/api/2024-10/control-plane/create_index","reference/api/2024-10/control-plane/describe_index","reference/api/2024-10/control-plane/delete_index","reference/api/2024-10/control-plane/configure_index","reference/api/2024-10/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-10/data-plane/upsert","reference/api/2024-10/data-plane/query","reference/api/2024-10/data-plane/fetch","reference/api/2024-10/data-plane/update","reference/api/2024-10/data-plane/delete","reference/api/2024-10/data-plane/list"]},{"group":"Imports","pages":["reference/api/2024-10/data-plane/start_import","reference/api/2024-10/data-plane/list_imports","reference/api/2024-10/data-plane/describe_import","reference/api/2024-10/data-plane/cancel_import"]},{"group":"Backups","pages":["reference/api/2024-07/control-plane/list_collections","reference/api/2024-07/control-plane/create_collection","reference/api/2024-07/control-plane/describe_collection","reference/api/2024-07/control-plane/delete_collection"]}]},{"group":"Database","version":"2024-07","pages":[{"group":"Indexes","pages":["reference/api/2024-10/control-plane/list_indexes","reference/api/2024-10/control-plane/create_index","reference/api/2024-10/control-plane/describe_index","reference/api/2024-10/control-plane/delete_index","reference/api/2024-10/control-plane/configure_index","reference/api/2024-10/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-07/data-plane/upsert","reference/api/2024-07/data-plane/query","reference/api/2024-07/data-plane/fetch","reference/api/2024-07/data-plane/update","reference/api/2024-07/data-plane/delete","reference/api/2024-07/data-plane/list"]},{"group":"Backups","pages":["reference/api/2024-07/control-plane/list_collections","reference/api/2024-07/control-plane/create_collection","reference/api/2024-07/control-plane/describe_collection","reference/api/2024-07/control-plane/delete_collection"]}]},{"group":"Database","version":"2024-04","pages":[{"group":"Indexes","pages":["reference/api/2024-04/control-plane/list_indexes","reference/api/2024-04/control-plane/create_index","reference/api/2024-04/control-plane/describe_index","reference/api/2024-04/control-plane/delete_index","reference/api/2024-04/control-plane/configure_index","reference/api/2024-04/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-04/data-plane/upsert","reference/api/2024-04/data-plane/query","reference/api/2024-04/data-plane/fetch","reference/api/2024-04/data-plane/update","reference/api/2024-04/data-plane/delete","reference/api/2024-04/data-plane/list"]},{"group":"Backups","pages":["reference/api/2024-04/control-plane/list_collections","reference/api/2024-04/control-plane/create_collection","reference/api/2024-04/control-plane/describe_collection","reference/api/2024-04/control-plane/delete_collection"]}]},{"group":"Inference","version":"2024-10 (latest)","pages":[{"group":"Embed","pages":["reference/api/2024-10/inference/generate-embeddings"]},{"group":"Rerank","pages":["reference/api/2024-10/inference/rerank"]}]},{"group":"Inference","version":"2024-07","pages":[{"group":"Embed","pages":["reference/api/2024-10/inference/generate-embeddings"]}]},{"group":"Assistant","pages":[{"group":"Assistants","pages":["reference/api/assistant/list_assistants","reference/api/assistant/create_assistant","reference/api/assistant/get_assistant","reference/api/assistant/update_assistant","reference/api/assistant/delete_assistant"]},{"group":"Files","pages":["reference/api/assistant/list_files","reference/api/assistant/create_file","reference/api/assistant/describe_file","reference/api/assistant/delete_file"]},{"group":"Chat","pages":["reference/api/assistant/chat_assistant","reference/api/assistant/chat_completion_assistant"]},{"group":"Evaluation","pages":["reference/api/assistant/metrics_alignment"]},{"group":"Context snippets","pages":["reference/api/assistant/context_assistant"]}]},{"group":"SDKs","pages":["reference/pinecone-sdks","reference/python-sdk","reference/node-sdk","reference/java-sdk","reference/go-sdk","reference/dotnet-sdk","reference/rust-sdk"]},{"group":"Tools","pages":["reference/tools/pinecone-text-client","reference/tools/pinecone-spark-connector"]},{"group":"Architecture","pages":["reference/architecture/serverless-architecture","reference/architecture/pod-based-architecture"]},{"group":"Miscellaneous","pages":["reference/object-identifiers","reference/quotas-and-limits","reference/known-limitations"]},{"group":"Examples","pages":["examples/notebooks","examples/sample-apps","examples/reference-architectures"]},{"group":"Models","pages":["models/overview"]},{"group":"","pages":["integrations/overview"]},{"group":"Connect an integration","pages":[{"group":"Data sources","pages":["integrations/airbyte","integrations/apify","integrations/aryn","integrations/confluent","integrations/databricks","integrations/datavolo","integrations/elasticsearch","integrations/estuary","integrations/fleak","integrations/flowise","integrations/gathr","integrations/matillion","integrations/nexla","integrations/redpanda","integrations/snowflake","integrations/streamnative","integrations/unstructured"]},{"group":"Frameworks","pages":["integrations/amazon-bedrock","integrations/amazon-sagemaker","integrations/context-data","integrations/haystack","integrations/instill","integrations/langchain","integrations/llamaindex","integrations/nuclia","integrations/octoai"]},{"group":"Infrastructure","pages":["integrations/aws","integrations/azure","integrations/gcp","integrations/github-copilot","integrations/pulumi","integrations/terraform","integrations/vercel"]},{"group":"Models","pages":["integrations/anyscale","integrations/cohere","integrations/voyage","integrations/hugging-face-inference-endpoints","integrations/jina","integrations/openai","integrations/twelve-labs"]},{"group":"Observability","pages":["integrations/datadog","integrations/langtrace","integrations/new-relic","integrations/traceloop","integrations/trulens"]}]},{"group":"Build an integration","pages":["integrations/build-integration/become-a-partner","integrations/build-integration/attribute-usage-to-your-integration","integrations/build-integration/connect-your-users-to-pinecone"]},{"group":"","pages":["troubleshooting/contact-support","troubleshooting/how-to-work-with-support","troubleshooting/pinecone-support-slas"]},{"group":"Account management","pages":["troubleshooting/login-code-issues","troubleshooting/custom-data-processing-agreements","troubleshooting/delete-your-organization","troubleshooting/delete-your-account","troubleshooting/billing-disputes-and-refunds"]},{"group":"Indexes","pages":["troubleshooting/available-cloud-regions","troubleshooting/export-indexes","troubleshooting/wait-for-index-creation","troubleshooting/select-index-type-and-size","troubleshooting/how-and-when-to-increase-index-size","troubleshooting/use-namespaces-instead-of-several-indexes","troubleshooting/namespaces-vs-metadata-filtering","troubleshooting/restrictions-on-index-names","troubleshooting/return-all-vectors-in-an-index","troubleshooting/vertically-downscaling","troubleshooting/delete-a-namespace","troubleshooting/pods-are-full"]},{"group":"Data","pages":["troubleshooting/parallel-queries","troubleshooting/minimize-latencies","troubleshooting/embedding-values-changed-when-upserted","troubleshooting/how-and-when-to-add-replicas","troubleshooting/keep-customer-data-separate","troubleshooting/limitations-of-querying-by-id","troubleshooting/create-and-manage-vectors-with-metadata","troubleshooting/handle-deletes-by-metadata","troubleshooting/metadata-reconfiguration","troubleshooting/metadata-string-value-returned-as-datetime","troubleshooting/remove-metadata-field"]},{"group":"Common errors","pages":["troubleshooting/index-creation-error-missing-spec","troubleshooting/index-creation-error-max-serverless","troubleshooting/serverless-index-connection-errors","troubleshooting/error-handshake-read-failed","troubleshooting/pinecone-attribute-errors-with-langchain","troubleshooting/error-cannot-import-name-pinecone","troubleshooting/module-pinecone-has-no-attribute-init"]},{"group":"Miscellaneous","pages":["troubleshooting/best-practices","troubleshooting/differences-between-lexical-semantic-search","troubleshooting/nodejs-troubleshooting","troubleshooting/cors-issues","troubleshooting/debug-model-vs-pinecone-recall-issues","troubleshooting/non-indexed-field-filter-issues","troubleshooting/unable-to-pip-install"]},{"group":"Release notes","pages":["release-notes/2024","release-notes/2023","release-notes/2022"]},{"group":"Policies","pages":["release-notes/feature-availability"]}],"primaryTab":{"name":"Home"},"tabs":[{"name":"Guides","url":"guides","_id":"674603e09671c4d550ba39da"},{"name":"Reference","url":"reference","_id":"674603e09671c4d550ba39db"},{"name":"Examples","url":"examples","_id":"674603e09671c4d550ba39dc"},{"name":"Models","url":"models","_id":"674603e09671c4d550ba39dd"},{"name":"Integrations","url":"integrations","_id":"674603e09671c4d550ba39de"},{"name":"Troubleshooting","url":"troubleshooting","_id":"674603e09671c4d550ba39df"},{"name":"Releases","url":"release-notes","_id":"674603e09671c4d550ba39e0"}],"feedback":{"thumbsRating":true},"analytics":{"gtm":{"tagId":"GTM-5RCSPVG"},"heap":{"appId":"3879495182"},"koala":{"publicApiKey":"pk_dedf7f497457f685cec291ae4d5002e828c1"}},"isWhiteLabeled":true,"redirects":[{"destination":"/guides/assistant/manage-files#delete-a-file","source":"/guides/assistant/delete-file","_id":"674603e09671c4d550ba38d4"},{"destination":"/guides/assistant/manage-files#get-the-status-of-a-file","source":"/guides/assistant/check-file-status","_id":"674603e09671c4d550ba38d5"},{"destination":"/guides/assistant/manage-files#list-files-in-an-assistant","source":"/guides/assistant/list-files","_id":"674603e09671c4d550ba38d6"},{"destination":"/guides/assistant/manage-assistants#update-an-existing-assistant","source":"/guides/assistant/update-an-assistant","_id":"674603e09671c4d550ba38d7"},{"destination":"/guides/assistant/manage-assistants#get-the-status-of-an-assistant","source":"/guides/assistant/check-assistant-status","_id":"674603e09671c4d550ba38d8"},{"destination":"/guides/assistant/manage-assistants#list-assistants-for-a-project","source":"/guides/assistant/list-assistants","_id":"674603e09671c4d550ba38d9"},{"destination":"/guides/assistant/manage-assistants#delete-an-assistant","source":"/guides/assistant/delete-assistant","_id":"674603e09671c4d550ba38da"},{"destination":"/guides/data/understanding-metadata","source":"/guides/data/filter-with-metadata","_id":"674603e09671c4d550ba38db"},{"destination":"/guides/operations/local-development","source":"/guides/operations/local-testing","_id":"674603e09671c4d550ba38dc"},{"destination":"/guides/data/target-an-index","source":"/guides/data/get-an-index-endpoint","_id":"674603e09671c4d550ba38dd"},{"destination":"/reference/api/assistant/*","source":"/reference/api/2024-04/assistant/*","_id":"674603e09671c4d550ba38de"},{"destination":"/reference/api/assistant/*","source":"/reference/api/2024-07/assistant/*","_id":"674603e09671c4d550ba38df"},{"destination":"/guides/get-started/implement-multitenancy","source":"/guides/indexes/implement-multitenancy","_id":"674603e09671c4d550ba38e0"},{"destination":"/reference/api/authentication","source":"/guides/get-started/authentication","_id":"674603e09671c4d550ba38e1"},{"destination":"/guides/get-started/glossary","source":"/guides/get-started/key-concepts","_id":"674603e09671c4d550ba38e2"},{"destination":"/reference/python-sdk#install-the-pinecone-assistant-python-plugin","source":"/guides/assistant/install-assistant-plugin","_id":"674603e09671c4d550ba38e3"},{"destination":"/guides/assistant/chat-with-assistant","source":"/guides/assistant/use-existing-assistant","_id":"674603e09671c4d550ba38e4"},{"destination":"/guides/operations/connect-to-aws-privatelink","source":"/guides/operations/enable-aws-privatelink","_id":"674603e09671c4d550ba38e5"},{"destination":"/guides/operations/understanding-security","source":"/reference/security","_id":"674603e09671c4d550ba38e6"},{"destination":"/guides/indexes/understanding-backups-and-collections","source":"/guides/indexes/understanding-collections","_id":"674603e09671c4d550ba38e7"},{"destination":"/reference/pinecone-sdks","source":"/reference/pinecone-clients","_id":"674603e09671c4d550ba38e8"},{"destination":"/reference/go-sdk","source":"/reference/go-client","_id":"674603e09671c4d550ba38e9"},{"destination":"/reference/python-sdk","source":"/reference/python-client","_id":"674603e09671c4d550ba38ea"},{"destination":"/reference/node-sdk","source":"/reference/node-client","_id":"674603e09671c4d550ba38eb"},{"destination":"/reference/java-sdk","source":"/reference/java-client","_id":"674603e09671c4d550ba38ec"},{"destination":"/release-notes/feature-availability","source":"/release-notes/api-lifecycle-policy","_id":"674603e09671c4d550ba38ed"},{"destination":"/guides/indexes/configure-an-index","source":"/guides/indexes/configure-pod-based-indexes","_id":"674603e09671c4d550ba38ee"},{"destination":"/guides/indexes/migrate-a-pod-based-index-to-serverless","source":"/guides/operations/migrate-to-the-new-api","_id":"674603e09671c4d550ba38ef"},{"destination":"/reference/api/2024-07/control-plane/*","source":"/reference/api/control-plane/*","_id":"674603e09671c4d550ba38f0"},{"destination":"/reference/api/2024-07/data-plane/*","source":"/reference/api/data-plane/*","_id":"674603e09671c4d550ba38f1"},{"destination":"/reference/api/2024-07/assistant/*","source":"/reference/api/assistant/*","_id":"674603e09671c4d550ba38f2"},{"destination":"/reference/api/2024-07/inference/*","source":"/reference/api/inference/*","_id":"674603e09671c4d550ba38f3"},{"destination":"/reference/*","source":"/legacy/reference/*","_id":"674603e09671c4d550ba38f4"},{"destination":"/examples/reference-architectures","source":"/tools/reference-architectures","_id":"674603e09671c4d550ba38f5"},{"destination":"/reference/tools/pinecone-datasets","source":"/tools/pinecone-utilities","_id":"674603e09671c4d550ba38f6"},{"destination":"/guides/inference/understanding-inference","source":"/guides/inference/understanding-inference-api","_id":"674603e09671c4d550ba38f7"},{"destination":"/guides/indexes/migrate-a-pod-based-index-to-serverless","source":"/guides/indexes/migrate-a-legacy-starter-index-to-serverless","_id":"674603e09671c4d550ba38f8"},{"destination":"/guides/data/understanding-metadata","source":"/docs/filter-with-metadata","_id":"674603e09671c4d550ba38f9"},{"destination":"/reference/pinecone-sdks#community-clients","source":"/reference/community-libraries","_id":"674603e09671c4d550ba38fa"},{"destination":"/integrations/build-integration/attribute-usage-to-your-integration","source":"/integrations/build-integration/register-your-integration","_id":"674603e09671c4d550ba38fb"},{"destination":"/integrations/build-integration/connect-your-users-to-pinecone","source":"/integrations/build-integration/connect-to-pinecone-with-embedded-widget","_id":"674603e09671c4d550ba38fc"},{"destination":"/examples/notebooks","source":"/guides/get-started/examples","_id":"674603e09671c4d550ba38fd"},{"destination":"/reference/quotas-and-limits","source":"/reference/quotas-and-rate-limits","_id":"674603e09671c4d550ba38fe"},{"destination":"/troubleshooting/wait-for-index-creation","source":"/troubleshooting/waiting-for-index-creation","_id":"674603e09671c4d550ba38ff"},{"destination":"/troubleshooting/namespaces-vs-metadata-filtering","source":"/troubleshooting/using-namespaces-vs-metadata-filtering","_id":"674603e09671c4d550ba3900"},{"destination":"/troubleshooting/use-namespaces-instead-of-several-indexes","source":"/troubleshooting/using-namespaces-instead-of-several-indexes","_id":"674603e09671c4d550ba3901"},{"destination":"/troubleshooting/pinecone-support-slas","source":"/troubleshooting/support-slas","_id":"674603e09671c4d550ba3902"},{"destination":"/troubleshooting/select-index-type-and-size.mdx","source":"/troubleshooting/selecting-index-type-and-size","_id":"674603e09671c4d550ba3903"},{"destination":"/troubleshooting/return-all-vectors-in-an-index","source":"/troubleshooting/returning-all-vectors-in-an-index","_id":"674603e09671c4d550ba3904"},{"destination":"/troubleshooting/remove-metadata-field","source":"/troubleshooting/removing-metadata-field","_id":"674603e09671c4d550ba3905"},{"destination":"/troubleshooting/limitations-of-querying-by-id","source":"/troubleshooting/querying-by-id","_id":"674603e09671c4d550ba3906"},{"destination":"/troubleshooting/keep-customer-data-separate","source":"/troubleshooting/keeping-customer-data-separate","_id":"674603e09671c4d550ba3907"},{"destination":"/troubleshooting/index-creation-error-missing-spec","source":"/troubleshooting/index-creation-error-spec","_id":"674603e09671c4d550ba3908"},{"destination":"/troubleshooting/how-and-when-to-increase-index-size","source":"/troubleshooting/increasing-index-size","_id":"674603e09671c4d550ba3909"},{"destination":"/troubleshooting/delete-your-account","source":"/troubleshooting/how-to-delete-account","_id":"674603e09671c4d550ba390a"},{"destination":"/troubleshooting/contact-support","source":"/troubleshooting/how-to-contact-support","_id":"674603e09671c4d550ba390b"},{"destination":"/troubleshooting/handle-deletes-by-metadata","source":"/troubleshooting/handling-deletes-by-metadata","_id":"674603e09671c4d550ba390c"},{"destination":"/troubleshooting/export-indexes","source":"/troubleshooting/exporting-indexes","_id":"674603e09671c4d550ba390d"},{"destination":"/troubleshooting/error-cannot-import-name-pinecone","source":"/troubleshooting/cannot-import-name-pinecone","_id":"674603e09671c4d550ba390e"},{"destination":"/troubleshooting/delete-a-namespace","source":"/troubleshooting/deleting-a-namespace","_id":"674603e09671c4d550ba390f"},{"destination":"/troubleshooting/debug-model-vs-pinecone-recall-issues","source":"/troubleshooting/debugging-recall-issues","_id":"674603e09671c4d550ba3910"},{"destination":"/troubleshooting/how-and-when-to-add-replicas","source":"/troubleshooting/adding-replicas","_id":"674603e09671c4d550ba3911"},{"destination":"/troubleshooting/create-and-manage-vectors-with-metadata","source":"/troubleshooting/creating-and-managing-vectors-with-metadata","_id":"674603e09671c4d550ba3912"},{"destination":"/guides/organizations/manage-cost/manage-cost","source":"/guides/organizations/manage-cost/managing-cost","_id":"674603e09671c4d550ba3913"},{"destination":"/guides/organizations/manage-cost/monitor-your-usage","source":"/guides/organizations/manage-cost/monitoring-your-usage","_id":"674603e09671c4d550ba3914"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/guides/data/using-public-pinecone-datasets","_id":"674603e09671c4d550ba3915"},{"destination":"/guides/data/create-and-load-private-datasets","source":"/guides/data/creating-and-loading-private-datasets","_id":"674603e09671c4d550ba3916"},{"destination":"/guides/operations/move-to-production","source":"/guides/operations/moving-to-production","_id":"674603e09671c4d550ba3917"},{"destination":"/guides/data/understanding-metadata","source":"/guides/data/filtering-with-metadata","_id":"674603e09671c4d550ba3918"},{"destination":"/guides/indexes/choose-a-pod-type-and-size","source":"/guides/indexes/choosing-a-pod-type-and-size","_id":"674603e09671c4d550ba3919"},{"destination":"/guides/indexes/use-namespaces","source":"/guides/indexes/using-namespaces","_id":"674603e09671c4d550ba391a"},{"destination":"/guides/get-started/quickstart","source":"/guides/getting-started/overview","_id":"674603e09671c4d550ba391b"},{"destination":"/guides/indexes/convert-a-gcp-starter-index-to-serverless","source":"/guides/indexes/convert-a-starter-index-to-serverless","_id":"674603e09671c4d550ba391c"},{"destination":"/guides/data/*","source":"/legacy/data/*","_id":"674603e09671c4d550ba391d"},{"destination":"/guides/get-started/quickstart","source":"/guides/getting-started/quickstart","_id":"674603e09671c4d550ba391e"},{"destination":"/guides/get-started/authentication","source":"/guides/getting-started/authentication","_id":"674603e09671c4d550ba391f"},{"destination":"/guides/get-started/quickstart","source":"/legacy/getting-started/quickstart","_id":"674603e09671c4d550ba3920"},{"destination":"/guides/get-started/authentication","source":"/legacy/getting-started/authentication","_id":"674603e09671c4d550ba3921"},{"destination":"/guides/indexes/*","source":"/legacy/indexes/*","_id":"674603e09671c4d550ba3922"},{"destination":"/integrations/*","source":"/legacy/integrations/*","_id":"674603e09671c4d550ba3923"},{"destination":"/tools/*","source":"/legacy/libraries/*","_id":"674603e09671c4d550ba3924"},{"destination":"/guides/operations/*","source":"/legacy/operations/*","_id":"674603e09671c4d550ba3925"},{"destination":"/guides/organizations/*","source":"/legacy/organizations/*","_id":"674603e09671c4d550ba3926"},{"destination":"/guides/projects/*","source":"/legacy/projects/*","_id":"674603e09671c4d550ba3927"},{"destination":"/reference/architecture/pod-based-architecture","source":"/legacy/architecture","_id":"674603e09671c4d550ba3928"},{"destination":"/reference/quotas-and-limits","source":"/legacy/limits","_id":"674603e09671c4d550ba3929"},{"destination":"/operations/understanding-security","source":"/legacy/security","_id":"674603e09671c4d550ba392a"},{"destination":"/integrations/build-integration/register-your-integration","source":"/integrations/build-integration/attribute-api-activity","_id":"674603e09671c4d550ba392b"},{"destination":"/guides/organization/manage-billing/change-your-billing-plan","source":"/troubleshooting/downgrade-your-organization","_id":"674603e09671c4d550ba392c"},{"destination":"/troubleshooting/pinecone-attribute-errors-with-langchain","source":"/troubleshooting/pinecone-has-no-attribute-from-texts","_id":"674603e09671c4d550ba392d"},{"destination":"/reference/quotas-and-limits","source":"/reference/limits","_id":"674603e09671c4d550ba392e"},{"destination":"/troubleshooting/","source":"/guides/operations/troubleshooting","_id":"674603e09671c4d550ba392f"},{"destination":"/guides/projects/manage-project-members","source":"/guides/projects/add-members-to-projects-and-organizations","_id":"674603e09671c4d550ba3930"},{"destination":"https://docs.pinecone.io/get-started/overview","source":"https://docs.pinecone.io/","_id":"674603e09671c4d550ba3931"},{"destination":"https://docs.pinecone.io/get-started/overview","source":"https://docs.pinecone.io/home","_id":"674603e09671c4d550ba3932"},{"destination":"/guides/organizations/configure-single-sign-on/okta","source":"/guides/organizations/configure-single-sign-on/overview","_id":"674603e09671c4d550ba3933"},{"destination":"/guides/get-started/quickstart","source":"/docs/quickstart","_id":"674603e09671c4d550ba3934"},{"destination":"/guides/get-started/quickstart","source":"/docs/overview","_id":"674603e09671c4d550ba3935"},{"destination":"/guides/get-started/authentication","source":"/docs/authentication","_id":"674603e09671c4d550ba3936"},{"destination":"/reference/api","source":"/docs/new-api","_id":"674603e09671c4d550ba3937"},{"destination":"/guides/organizations/understanding-organizations","source":"/docs/organizations","_id":"674603e09671c4d550ba3938"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","source":"/docs/manage-billing","_id":"674603e09671c4d550ba3939"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","source":"/docs/setting-up-aws-marketplace-billing","_id":"674603e09671c4d550ba393a"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace","source":"/docs/setting-up-azure-marketplace-billing","_id":"674603e09671c4d550ba393b"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace","source":"/docs/setting-up-gcp-marketplace-billing","_id":"674603e09671c4d550ba393c"},{"destination":"/guides/organizations/manage-billing/changing-your-billing-plan","source":"/docs/changing-your-billing-plan","_id":"674603e09671c4d550ba393d"},{"destination":"/guides/organizations/manage-billing/understanding-subscription-status","source":"/docs/subscription-status","_id":"674603e09671c4d550ba393e"},{"destination":"/guides/organizations/manage-cost/understanding-cost","source":"/docs/manage-cost","_id":"674603e09671c4d550ba393f"},{"destination":"/guides/organizations/manage-cost/understanding-cost","source":"/docs/understanding-cost","_id":"674603e09671c4d550ba3940"},{"destination":"/guides/organizations/manage-cost/monitor-your-usage","source":"/docs/monitoring-usage","_id":"674603e09671c4d550ba3941"},{"destination":"/guides/organizations/manage-cost/manage-cost","source":"/docs/managing-cost","_id":"674603e09671c4d550ba3942"},{"destination":"/guides/organizations/configure-single-sign-on/okta","source":"/docs/configure-single-sign-on","_id":"674603e09671c4d550ba3943"},{"destination":"/guides/projects/understanding-projects","source":"/docs/projects","_id":"674603e09671c4d550ba3944"},{"destination":"/guides/projects/create-a-project","source":"/docs/create-project","_id":"674603e09671c4d550ba3945"},{"destination":"/guides/projects/add-members-to-projects-and-organizations","source":"/docs/add-users-to-projects-and-organizations","_id":"674603e09671c4d550ba3946"},{"destination":"/guides/projects/rename-a-project","source":"/docs/rename-project","_id":"674603e09671c4d550ba3947"},{"destination":"/reference/quotas-and-limits#pods-per-project","source":"/guides/projects/set-a-project-pod-limit","_id":"674603e09671c4d550ba3948"},{"destination":"/reference/quotas-and-limits#pods-per-project","source":"/docs/change-project-pod-limit","_id":"674603e09671c4d550ba3949"},{"destination":"/guides/indexes/understanding-indexes","source":"/docs/indexes","_id":"674603e09671c4d550ba394a"},{"destination":"/guides/indexes/create-an-index","source":"/docs/create-an-index","_id":"674603e09671c4d550ba394b"},{"destination":"/guides/indexes/view-index-information","source":"/docs/view-index-information","_id":"674603e09671c4d550ba394c"},{"destination":"/guides/indexes/back-up-an-index","source":"/docs/back-up-an-index","_id":"674603e09671c4d550ba394d"},{"destination":"/guides/indexes/delete-an-index","source":"/docs/delete-an-index","_id":"674603e09671c4d550ba394e"},{"destination":"/guides/indexes/use-namespaces","source":"/docs/namespaces","_id":"674603e09671c4d550ba394f"},{"destination":"/guides/indexes/choose-a-pod-type-and-size","source":"/docs/choosing-index-type-and-size","_id":"674603e09671c4d550ba3950"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/configure-pod-based-indexes","_id":"674603e09671c4d550ba3951"},{"destination":"/guides/indexes/scale-pod-based-indexes","source":"/docs/scaling-indexes","_id":"674603e09671c4d550ba3952"},{"destination":"/guides/indexes/understanding-backups-and-collections","source":"/docs/collections","_id":"674603e09671c4d550ba3953"},{"destination":"/guides/indexes/convert-a-starter-index-to-serverless","source":"/docs/convert-starter-to-serverless","_id":"674603e09671c4d550ba3954"},{"destination":"/guides/data/upsert-data","source":"/docs/upsert-data","_id":"674603e09671c4d550ba3955"},{"destination":"/guides/data/query-data","source":"/docs/query-data","_id":"674603e09671c4d550ba3956"},{"destination":"/guides/data/fetch-data","source":"/docs/fetch-data","_id":"674603e09671c4d550ba3957"},{"destination":"/guides/data/update-data","source":"/docs/update-data","_id":"674603e09671c4d550ba3958"},{"destination":"/guides/data/delete-data","source":"/docs/delete-data","_id":"674603e09671c4d550ba3959"},{"destination":"/guides/data/list-record-ids","source":"/docs/get-record-ids","_id":"674603e09671c4d550ba395a"},{"destination":"/guides/data/get-an-index-endpoint","source":"/docs/get-index-endpoint","_id":"674603e09671c4d550ba395b"},{"destination":"/guides/data/understanding-metadata","source":"/docs/metadata-filtering","_id":"674603e09671c4d550ba395c"},{"destination":"/guides/data/manage-rag-documents","source":"/docs/manage-rag-documents","_id":"674603e09671c4d550ba395d"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/hybrid-search-and-sparse-vectors","_id":"674603e09671c4d550ba395e"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/hybrid-search","_id":"674603e09671c4d550ba395f"},{"destination":"/guides/data/encode-sparse-vectors","source":"/docs/encode-sparse-vectors","_id":"674603e09671c4d550ba3960"},{"destination":"/guides/data/upsert-sparse-dense-vectors","source":"/docs/upsert-sparse-dense-vectors","_id":"674603e09671c4d550ba3961"},{"destination":"/guides/data/query-sparse-dense-vectors","source":"/docs/query-sparse-dense-vectors","_id":"674603e09671c4d550ba3962"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/datasets","_id":"674603e09671c4d550ba3963"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/using-public-datasets","_id":"674603e09671c4d550ba3964"},{"destination":"/guides/data/create-and-load-private-datasets","source":"/docs/creating-datasets","_id":"674603e09671c4d550ba3965"},{"destination":"/guides/operations/move-to-production","source":"/docs/moving-to-production","_id":"674603e09671c4d550ba3966"},{"destination":"/guides/operations/performance-tuning","source":"/docs/performance-tuning","_id":"674603e09671c4d550ba3967"},{"destination":"/guides/operations/monitoring","source":"/docs/monitoring","_id":"674603e09671c4d550ba3968"},{"destination":"/guides/operations/troubleshooting","source":"/docs/troubleshooting","_id":"674603e09671c4d550ba3969"},{"destination":"/guides/operations/understanding-multitenancy","source":"/docs/multitenancy","_id":"674603e09671c4d550ba396a"},{"destination":"/troubleshooting","source":"/docs/common-errors","_id":"674603e09671c4d550ba396b"},{"destination":"/troubleshooting","source":"guides/operations/common-errors","_id":"674603e09671c4d550ba396c"},{"destination":"/integrations/amazon-bedrock","source":"/docs/amazon-bedrock","_id":"674603e09671c4d550ba396d"},{"destination":"/integrations/amazon-bedrock","source":"/guides/integrations/setting-up-amazon-bedrock","_id":"674603e09671c4d550ba396e"},{"destination":"/integrations/sagemaker","source":"/docs/sagemaker","_id":"674603e09671c4d550ba396f"},{"destination":"/integrations/cohere","source":"/docs/cohere","_id":"674603e09671c4d550ba3970"},{"destination":"/integrations/cohere","source":"/guides/integrations/setting-up-cohere","_id":"674603e09671c4d550ba3971"},{"destination":"/integrations/databricks","source":"/docs/databricks","_id":"674603e09671c4d550ba3972"},{"destination":"/integrations/databricks","source":"/guides/integrations/setting-up-databricks","_id":"674603e09671c4d550ba3973"},{"destination":"/integrations/datadog","source":"/docs/datadog","_id":"674603e09671c4d550ba3974"},{"destination":"/integrations/datadog","source":"/guides/integrations/setting-up-datadog","_id":"674603e09671c4d550ba3975"},{"destination":"/integrations/elastic","source":"/docs/elastic","_id":"674603e09671c4d550ba3976"},{"destination":"/integrations/haystack","source":"/docs/haystack","_id":"674603e09671c4d550ba3977"},{"destination":"integrations/haystack","source":"/guides/integrations/setting-up-haystack","_id":"674603e09671c4d550ba3978"},{"destination":"/integrations/hugging-face-inference-endpoints","source":"/docs/hugging-face-endpoints","_id":"674603e09671c4d550ba3979"},{"destination":"/integrations/hugging-face-inference-endpoints","source":"/guides/integrations/setting-up-hugging-face-endpoints","_id":"674603e09671c4d550ba397a"},{"destination":"/guides/integrations/langchain","source":"/guides/integrations/setting-up-langchain","_id":"674603e09671c4d550ba397b"},{"destination":"/integrations/llamaindex","source":"/docs/llamaindex","_id":"674603e09671c4d550ba397c"},{"destination":"/integratations/llamaindex","source":"/guides/integrations/setting-up-llamaindex","_id":"674603e09671c4d550ba397d"},{"destination":"/integratations/openai","source":"/docs/openai","_id":"674603e09671c4d550ba397e"},{"destination":"/integratations/openai","source":"/guides/integrations/setting-up-openai","_id":"674603e09671c4d550ba397f"},{"destination":"/integratations/trulens","source":"/docs/trulens","_id":"674603e09671c4d550ba3980"},{"destination":"/integratations/trulens","source":"/guides/integrations/setting-up-trulens","_id":"674603e09671c4d550ba3981"},{"destination":"release-notes/2024","source":"/docs/release-notes","_id":"674603e09671c4d550ba3982"},{"destination":"/reference/python-client","source":"/docs/python-client","_id":"674603e09671c4d550ba3983"},{"destination":"/reference/node-client","source":"/docs/node-client","_id":"674603e09671c4d550ba3984"},{"destination":"/reference/architecture/serverless-architecture","source":"/docs/architecture","_id":"674603e09671c4d550ba3985"},{"destination":"/operations/understanding-security","source":"/docs/security","_id":"674603e09671c4d550ba3986"},{"destination":"/reference/quotas-and-limits","source":"/docs/limits","_id":"674603e09671c4d550ba3987"},{"destination":"/reference/api/data-plane/upsert","source":"/reference/upsert","_id":"674603e09671c4d550ba3988"},{"destination":"/reference/api/data-plane/query","source":"/reference/query","_id":"674603e09671c4d550ba3989"},{"destination":"/reference/api/data-plane/fetch","source":"/reference/fetch","_id":"674603e09671c4d550ba398a"},{"destination":"/reference/api/data-plane/update","source":"/reference/update","_id":"674603e09671c4d550ba398b"},{"destination":"/reference/api/data-plane/delete","source":"/reference/delete","_id":"674603e09671c4d550ba398c"},{"destination":"/reference/api/data-plane/delete","source":"/reference/alt_delete","_id":"674603e09671c4d550ba398d"},{"destination":"/reference/api/data-plane/list","source":"/reference/list","_id":"674603e09671c4d550ba398e"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/describe_index_stats","_id":"674603e09671c4d550ba398f"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/alt_describe_index_stats","_id":"674603e09671c4d550ba3990"},{"destination":"/reference/api/control-plane/list_indexes","source":"/reference/list_indexes","_id":"674603e09671c4d550ba3991"},{"destination":"/reference/api/control-plane/create_index","source":"/reference/create_index","_id":"674603e09671c4d550ba3992"},{"destination":"/reference/api/control-plane/describe_index","source":"/reference/describe_index","_id":"674603e09671c4d550ba3993"},{"destination":"/reference/api/control-plane/delete_index","source":"/reference/delete_index","_id":"674603e09671c4d550ba3994"},{"destination":"/reference/api/control-plane/configure_index","source":"/reference/configure_index","_id":"674603e09671c4d550ba3995"},{"destination":"/reference/api/control-plane/list_collections","source":"/reference/list_collections","_id":"674603e09671c4d550ba3996"},{"destination":"/reference/api/control-plane/create_collection","source":"/reference/create_collection","_id":"674603e09671c4d550ba3997"},{"destination":"/reference/api/control-plane/describe_collection","source":"/reference/describe_collection","_id":"674603e09671c4d550ba3998"},{"destination":"/reference/api/control-plane/delete_collection","source":"/reference/delete_collection","_id":"674603e09671c4d550ba3999"},{"destination":"/examples/notebooks","source":"/page/examples","_id":"674603e09671c4d550ba399a"},{"destination":"/tools/pinecone-utilities","source":"/page/libraries","_id":"674603e09671c4d550ba399b"},{"destination":"/legacy/overview","source":"/v1/*","_id":"674603e09671c4d550ba399c"},{"destination":"/guides/indexes/understanding-indexes","source":"/docs/manage-indexes","_id":"674603e09671c4d550ba399d"},{"destination":"/guides/indexes/view-index-information#list-all-indexes-in-a-project","source":"/docs/manage-indexes#list-all-indexes-in-a-project","_id":"674603e09671c4d550ba399e"},{"destination":"/guides/indexes/view-index-information#get-information-about-an-index","source":"/docs/manage-indexes#get-information-about-an-index","_id":"674603e09671c4d550ba399f"},{"destination":"/guides/indexes/create-an-index#create-a-serverless-index","source":"/docs/manage-indexes#create-a-serverless-index","_id":"674603e09671c4d550ba39a0"},{"destination":"/guides/indexes/create-an-index#create-a-pod-based-index","source":"/docs/manage-indexes#create-a-pod-based-index","_id":"674603e09671c4d550ba39a1"},{"destination":"/guides/indexes/create-an-index#create-a-starter-index","source":"/docs/manage-indexes#create-a-starter-index","_id":"674603e09671c4d550ba39a2"},{"destination":"/guides/indexes/create-an-index#create-an-index-from-a-collection","source":"/docs/manage-indexes#create-an-index-from-a-collection","_id":"674603e09671c4d550ba39a3"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#configure-pod-based-indexes","_id":"674603e09671c4d550ba39a4"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#change-pod-sizes","_id":"674603e09671c4d550ba39a5"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#check-the-status-of-a-pod-size-change","_id":"674603e09671c4d550ba39a6"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#add-replicas","_id":"674603e09671c4d550ba39a7"},{"destination":"/guides/indexes/configure-an-index#selective-metadata-indexing","source":"/docs/manage-indexes#selective-metadata-indexing","_id":"674603e09671c4d550ba39a8"},{"destination":"/guides/indexes/delete-an-index","source":"/docs/manage-indexes#delete-an-index","_id":"674603e09671c4d550ba39a9"},{"destination":"/guides/indexes/convert-a-starter-index-to-serverless","source":"/docs/convert-to-severless","_id":"674603e09671c4d550ba39aa"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/pinecone-public-datasets","_id":"674603e09671c4d550ba39ab"},{"destination":"/guides/data/understanding-metadata","source":"/docs/metadata-filtered-search","_id":"674603e09671c4d550ba39ac"},{"destination":"/guides/data/upsert-data","source":"/docs/insert-data","_id":"674603e09671c4d550ba39ad"},{"destination":"/guides/get-started/quickstart","source":"/docs/global-api-quickstart","_id":"674603e09671c4d550ba39ae"},{"destination":"/guides/indexes/understanding-indexes#starter-indexes","source":"/docs/starter-environment","_id":"674603e09671c4d550ba39af"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/describe_index_stats_post","_id":"674603e09671c4d550ba39b0"},{"destination":"/guides/data/upsert-data","source":"/docs/manage-data","_id":"674603e09671c4d550ba39b1"},{"destination":"/guides/projects/understanding-projects","source":"/docs/manage-projects","_id":"674603e09671c4d550ba39b2"},{"destination":"/reference/python-clients","source":"/installation","_id":"674603e09671c4d550ba39b3"},{"destination":"/examples/notebooks","source":"/page/example-applications","_id":"674603e09671c4d550ba39b4"},{"destination":"/tools/pinecone-utilities","source":"/docs/libraries","_id":"674603e09671c4d550ba39b5"},{"destination":"/integrations/overview","source":"/integrations","_id":"674603e09671c4d550ba39b6"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/manage-datasets","_id":"674603e09671c4d550ba39b7"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/basic-hybrid-search","_id":"674603e09671c4d550ba39b8"},{"destination":"/guides/data/understanding-hybrid-search","source":"basic-hybrid-search","_id":"674603e09671c4d550ba39b9"},{"destination":"/reference/node-client","source":"/node-client","_id":"674603e09671c4d550ba39ba"},{"destination":"/reference/api/introduction","source":"/docs/api-reference","_id":"674603e09671c4d550ba39bb"},{"destination":"/reference/python-clients","source":"/docs/sdk","_id":"674603e09671c4d550ba39bc"},{"destination":"/examples/notebooks","source":"/docs/image-similarity-search","_id":"674603e09671c4d550ba39bd"},{"destination":"/examples/sample-apps","source":"/docs/semantic-search-text-typescript","_id":"674603e09671c4d550ba39be"},{"destination":"/examples/notebooks","source":"/docs/gen-qa-openai","_id":"674603e09671c4d550ba39bf"},{"destination":"/examples/notebooks","source":"/docs/personalized-content-recommendations-typescript","_id":"674603e09671c4d550ba39c0"},{"destination":"/examples/notebooks","source":"/docs/langchain-retrieval-agent","_id":"674603e09671c4d550ba39c1"},{"destination":"/examples/sample-apps","source":"/docs/langchain-retrieval-agent-typescript","_id":"674603e09671c4d550ba39c2"},{"destination":"/examples/notebooks","source":"/docs/langchain-retrieval-augmentation","_id":"674603e09671c4d550ba39c3"},{"destination":"/examples/notebooks","source":"/docs/gpt-4-langchain-docs","_id":"674603e09671c4d550ba39c4"},{"destination":"/examples/notebooks","source":"/docs/extractive-question-answering","_id":"674603e09671c4d550ba39c5"},{"destination":"/examples/notebooks","source":"/docs/abstractive-question-answering","_id":"674603e09671c4d550ba39c6"},{"destination":"/examples/notebooks","source":"/docs/table-qa","_id":"674603e09671c4d550ba39c7"},{"destination":"/examples/notebooks","source":"/docs/ecommerce-search","_id":"674603e09671c4d550ba39c8"},{"destination":"/examples/notebooks","source":"/docs/ner-search","_id":"674603e09671c4d550ba39c9"},{"destination":"/examples/notebooks","source":"/docs/video-search","_id":"674603e09671c4d550ba39ca"},{"destination":"/examples/notebooks","source":"/docs/satellite-image-search","_id":"674603e09671c4d550ba39cb"},{"destination":"/examples/notebooks","source":"/docs/it-threat-detection","_id":"674603e09671c4d550ba39cc"},{"destination":"/examples/notebooks","source":"/docs/document-deduplication","_id":"674603e09671c4d550ba39cd"},{"destination":"/examples/notebooks","source":"/docs/movie-recommender","_id":"674603e09671c4d550ba39ce"},{"destination":"/examples/notebooks","source":"/docs/audio-search","_id":"674603e09671c4d550ba39cf"},{"destination":"/examples/notebooks","source":"/docs/time-series","_id":"674603e09671c4d550ba39d0"},{"destination":"/examples/notebooks","source":"/docs/product-recommendation-engine","_id":"674603e09671c4d550ba39d1"},{"destination":"/guides/data/upsert-sparse-dense-vectors","source":"/docs/upserting-sparse-dense-records","_id":"674603e09671c4d550ba39d2"},{"destination":"/guides/data/understanding-hybrid-search","source":"/reference/manage-indexes/hybrid-search","_id":"674603e09671c4d550ba39d3"},{"destination":"/guides/data/query-sparse-dense-vectors","source":"/docs/weighting-sparse-and-dense-vectors","_id":"674603e09671c4d550ba39d4"},{"destination":"/troubleshooting/serverless-index-connection-errors","source":"/troubleshooting/serverless-controller-error","_id":"674603e09671c4d550ba39d5"},{"destination":"/reference/api","source":"/new-api","_id":"674603e09671c4d550ba39d6"},{"destination":"/guides/indexes/implement-multitenancy","source":"/guides/operations/understanding-multitenancy","_id":"674603e09671c4d550ba39d7"},{"destination":"/troubleshooting/delete-your-organization","source":"troubleshooting/delete-your-account","_id":"674603e09671c4d550ba39d8"},{"destination":"/guides/inference/understanding-inference#rerank-2","source":"/guides/inference/understanding-reranking","_id":"674603e09671c4d550ba39d9"}],"seo":{"indexHiddenPages":true},"footerSocials":{"twitter":"https://twitter.com/pinecone?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor","linkedin":"https://www.linkedin.com/company/pinecone-io/"},"repo":{"github":{"owner":"pinecone-io","repo":"docs","contentDirectory":"","deployBranch":"main","isPrivate":false}}},"apiReferenceData":{}},"favicons":{"icons":[{"rel":"apple-touch-icon","sizes":"180x180","href":"https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/apple-touch-icon.png?v=3","type":"image/png"},{"rel":"icon","sizes":"32x32","href":"https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/favicon-32x32.png?v=3","type":"image/png"},{"rel":"icon","sizes":"16x16","href":"https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/favicon-16x16.png?v=3","type":"image/png"},{"rel":"shortcut icon","href":"https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/favicon.ico?v=3","type":"image/x-icon"}],"browserconfig":"https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/_generated/favicon/browserconfig.xml?v=3"},"subdomain":"docs.pinecone.io","internalAnalyticsWriteKey":"phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW","inkeep":{"integrationApiKey":"869c11f905eb3c10953283f0ea6f5e6f660b79a1ebf68cc2"},"trieve":{"datasetId":"bd1572e2-e04f-49a0-a923-29918fd6e521","chatEnabled":true},"shouldIndex":true,"org":{"plan":"enterprise","createdAt":"2024-03-15T16:30:25.517Z"},"cssFiles":[{"_id":"65f4b35d240ed87a86de2757","filePath":"styles.css","subdomain":"pinecone-2","__v":0,"content":"/* Global styles */\n\n#topbar-cta-button {\n margin-left: 1rem;\n}\n\n#topbar-cta-button a {\n display: flex;\n align-items: center;\n padding: 0.375rem 1rem !important;\n gap: 0.5rem;\n background-color: #1C17FF;\n color: #fff !important;\n border-radius: 0.25rem;\n font-weight: 500;\n letter-spacing: 0.4px;\n}\n\n#topbar-cta-button a:hover {\n background-color: #030080 !important;\n}\n\n\n/* #topbar-cta-button span {\n border-radius: 4px;\n font-weight: 500;\n letter-spacing: 0.4px;\n} */\n\n/* #topbar-cta-button div \u003e svg {\n display: none;\n} */\n\n/* inserting svg via :after isn't working for some reason, used js instead */\n/* #topbar-cta-button div::after {\n content: url('data:image/svg+xml;utf8,\u003csvg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg id=\"Icon Right\"\u003e\u003cpath id=\"Vector\" d=\"M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z\" fill=\"white\"/\u003e\u003c/g\u003e\u003c/svg\u003e');\n content: \"test\";\n display: block;\n width: 20px;\n height: 20px;\n margin-left: 8px;\n background-image: url('data:image/svg+xml;utf8,\u003csvg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg id=\"Icon Right\"\u003e\u003cpath id=\"Vector\" d=\"M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z\" fill=\"white\"/\u003e\u003c/g\u003e\u003c/svg\u003e');\n background-color: #000000;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n} */\n\n\n.documentation-link {\n color: #1c17ff;\n text-decoration: none;\n}\n\n.documentation-link:hover {\n color: #000000;\n /* Black color when hovering */\n}\n\n.custom-button {\n display: inline-block;\n padding: 2px 8px;\n background-color: #f1f1f1;\n color: #333;\n /* Text color */\n border: 1px solid #aaa;\n /* Border color */\n border-radius: 25px;\n /* Rounded borders */\n text-align: center;\n user-select: none;\n transition: background-color 0.3s ease;\n /* Smooth transition for background color */\n}\n\n/* Change the button color on hover (make it unclickable) */\n.custom-button:hover {\n background-color: #1c17ff;\n color: #f1f1f1;\n}\n\n/* Adjust the width for the second column */\n/* td:nth-child(2) {\n width: 200px; /* Adjust the width as per your requirement\n} */\n\n/* \nAdd an announcement bar \nTODO: This can be version specific if you add a page-specific class/ID, but it doesn't seem to work for the OpenAI docs without rewriting the JSON\n*/\n/* #navbar:before {\n background-color: #ff4c04;\n content: \"The legacy version of the API, which required regional URLs for control plane operations, is deprecated as of April 15, 2024 and will be removed in a future, to be announced, release.\";\n color: rgb(255, 255, 255);\n display: block;\n text-align: center;\n padding: 6px;\n font-size: 90%;\n}\n*/\n/* Text color */\n/* body {\n color: #121142 !important;\n} */\n\n/* Header */\n#navbar {\n background: white;\n position: fixed;\n /* position: sticky !important; */\n /* top: 0 !important; */\n}\n\n#navbar-transition {\n border-bottom: 1px solid #e2e5e7;\n}\n\n#navbar .max-w-8xl {\n max-width: 100%;\n}\n\n/* Logo + \"Docs\" text + version select */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type {\n flex: initial;\n}\n\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ea:first-of-type {\n flex: initial;\n display: flex;\n}\n\n#navbar img[alt=\"logo\"] {\n max-width: 150px;\n}\n\n/* Version select */\n[aria-haspopup=\"menu\"] {\n border-radius: 0.25rem;\n border: 1px solid rgba(115, 143, 171, 0.50);\n background-color: transparent !important;\n color: #121142;\n}\n\n[aria-labelledby=\"headlessui-menu-button-:r0:\"] {\n width: 11rem;\n}\n\n/* Right side nav container */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:nth-of-type(3) {\n flex: initial;\n margin-left: 0;\n}\n\n/* Prevent nav items from shrinking */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:nth-of-type(3)\u003enav {\n flex-shrink: 0;\n}\n\n/* nav links */\n#navbar nav a {\n color: #121142;\n padding: 0.6rem 1rem;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n#navbar nav a:hover {\n background-color: rgba(27, 23, 245, 0.04);\n border-radius: 0.25rem;\n}\n\n#navbar nav ul li:not(:last-of-type) {\n margin-left: 0;\n}\n\n/* Hide dark mode toggle */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:nth-of-type(3)\u003ediv {\n display: none;\n}\n\n/* Second nav container */\n/* Links */\n#navbar a {\n color: #121142;\n margin: 0;\n padding-left: 0.875rem;\n padding-right: 0.875rem;\n}\n\n/* Selected links */\n#navbar a.font-semibold {\n color: #1B17F5;\n border-bottom-width: 0.1875rem;\n border-color: #1B17F5;\n}\n\n#navbar div.absolute.bottom-0 {\n display: none;\n}\n\n/* Sidebar */\n#sidebar {\n left: 0rem;\n padding-left: 3rem;\n background: white;\n border-right: 1px solid #e2e5e7;\n /* position: sticky; */\n /* flex-shrink: 0; */\n /* top: 0; */\n}\n\n#sidebar-content {\n padding-left: 2rem;\n}\n\n/* Sidebar headings and link color */\n#sidebar-content h5,\n#sidebar a {\n color: #121142;\n}\n\n/* Sidebar Introduction link */\n#sidebar\u003ediv\u003eul\u003ediv:first-of-type\u003eli:only-of-type {\n margin-left: 0;\n}\n\n#sidebar\u003ediv\u003eul\u003ediv:first-of-type\u003eli:only-of-type\u003ea {\n font-weight: 600;\n}\n\n/* Nav items */\n#navigation-items\u003ediv\u003eul\u003eli {\n margin-left: 0.75rem;\n}\n\n/* Selected nav items */\n#navigation-items\u003ediv\u003eul\u003eli a.font-semibold {\n color: #1B17F5;\n font-weight: 400;\n background-color: #3C72FF0A;\n}\n\n/* Main content area */\n/* main \u003e div:first-of-type \u003e div:last-of-type \u003e div:first-of-type {\n display: flex;\n} */\n@media screen and (min-width: 1024px) {\n #content-area\u003ediv:first-child:not(#header)\u003ediv.relative.w-full.flex.items-center.justify-center:first-child {\n margin-top: 7rem\n }\n}\n\n\n/* Content container */\n/* #content-container {\n padding-left: 3.5rem !important;\n} */\n#content-container\u003ediv {\n padding-top: 10rem;\n}\n\n@media (min-width: 1024px) {\n #content-container\u003ediv {\n gap: 3rem;\n }\n\n #content-container #table-of-contents {\n padding-left: 0;\n }\n}\n\n/* Title eyebrow */\n#header .eyebrow {\n text-transform: uppercase;\n color: #121142;\n font-size: 0.625rem;\n letter-spacing: 1px;\n line-height: 160%;\n}\n\n/* Hide empty eyebrow */\n#header .eyebrow:empty {\n display: none;\n}\n\n/* Title container */\n#header\u003ediv:first-of-type\u003ediv:nth-of-type(2) {\n margin-top: 0;\n}\n\n/* Title */\n#header h1 {\n color: #121142;\n}\n\n/* Article text */\n.prose h2,\n.prose h3,\n.prose h4,\n.prose p {\n color: #121142;\n}\n\n.prose a {\n color: #1B17F5;\n font-weight: 400;\n}\n\n/* Overwrite tailwind max-width */\n.max-w-8xl {\n max-width: 94.5rem;\n}\n\n.card {\n box-shadow: none;\n border: 1px solid #D8DDDF;\n border-radius: 0.25rem;\n transition: box-shadow 0.3s ease;\n}\n\n.card:hover {\n box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12);\n border: 1px solid #D8DDDF !important;\n}\n\n.card\u003ediv {\n padding: 1.5rem;\n}\n\n.card h2,\n.example-card h2 {\n font-size: 1.25rem;\n}\n\n.card p,\n.example-card p {\n margin-top: 0.625rem;\n font-size: 0.875rem;\n color: #121142;\n}\n\n.card .eyebrow {\n font-size: 0.625rem;\n text-transform: uppercase;\n line-height: 160%;\n letter-spacing: 1px;\n}\n\n.card .integration-logo {\n width: 3.125rem;\n height: 3.125rem;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.card-grid {\n display: grid;\n gap: 1.5rem;\n}\n\n@media (min-width: 640px) {\n .card-grid {\n grid-template-columns: 1fr 1fr;\n }\n}\n\n@media (min-width: 1024px) {\n .card-grid {\n grid-template-columns: 1fr 1fr 1fr;\n }\n}\n\n.example-card {\n box-shadow: none;\n border: 1px solid #D8DDDF;\n border-radius: 0.25rem;\n transition: box-shadow 0.3s ease;\n padding: 1.5rem;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n background-color: #fff;\n}\n\n.example-card .arrow {\n margin-left: auto;\n margin-top: auto;\n opacity: 0;\n transition: opacity 0.3s ease;\n}\n\n.example-card:hover .arrow {\n opacity: 1;\n}\n\n.example-card:hover {\n box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12);\n border: 1px solid #D8DDDF !important;\n}\n\n.example-card .tags {\n display: flex;\n flex-wrap: wrap;\n gap: 0.75rem;\n margin-top: 1.5rem;\n}\n\n.example-card .card-tag {\n border-radius: 1rem;\n background-color: rgba(115, 143, 171, 0.08);\n color: #121142;\n font-size: 0.8125rem;\n line-height: 138%;\n letter-spacing: 0.16px;\n padding: 0.1875rem 0.375rem;\n display: flex;\n gap: 0.375rem;\n align-items: center;\n}\n\n.example-card .vectors {\n color: #72788D;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n gap: 1rem;\n font-size: 0.875rem;\n line-height: 150%;\n letter-spacing: 0.15px;\n padding-top: 2.875rem;\n margin-top: auto;\n}\n\n.examples-h2 {\n font-size: 1.25rem;\n margin-bottom: 1.5rem;\n}\n\n/* Integrations */\n#integrations-banner {\n position: relative;\n margin-top: 7rem;\n height: 12.75rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n /* background: url('https://mintlify.s3-us-west-1.amazonaws.com/pinecone-2/images/background.png') no-repeat center center; */\n background-size: 90%;\n background-color: rgb(251, 251, 252);\n text-align: center;\n border-bottom: 1px solid #e2e5e7;\n}\n\n#integrations-banner h1 {\n color: #000000;\n font-size: 3rem;\n}\n\n#integrations-banner p {\n color: #000000;\n font-size: 1.25rem;\n opacity: 0.7;\n margin-top: 0.5rem;\n}\n\n/* Integrations related articles */\n#related-articles {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n#related-articles h2 {\n color: #121142;\n font-size: 1.25rem;\n font-weight: 600;\n letter-spacing: 0.15px;\n line-height: 150%;\n margin-bottom: 1rem;\n}\n\n#related-articles a {\n padding: 1.0625rem 0;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 1rem;\n color: #121142;\n font-size: 0.875rem;\n line-height: 150%;\n letter-spacing: 0.15px;\n}\n\n#related-articles a:not(:last-of-type) {\n border-bottom: 1px solid #D8DDDF;\n}\n\n#related-articles a:hover {\n opacity: 0.7;\n}\n\n#related-articles a\u003esvg {\n flex-shrink: 0;\n}\n\n/* Integrations back button */\n#back-button {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n color: #121142 !important;\n font-size: 0.875rem;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin-bottom: 1.5rem;\n}\n\n#back-button:hover {\n opacity: 0.7;\n}\n\n#back-button\u003esvg {\n flex-shrink: 0;\n}\n\n/* Sample apps */\n\n.sample-app {\n color: #121142;\n}\n\n.sample-app h2 {\n font-size: 2.125rem;\n font-weight: 600;\n line-height: 123.5%;\n letter-spacing: 0.25px;\n}\n\n.sample-app h2:not(:first-of-type) {\n margin: 4rem 0 0 0;\n}\n\n.sample-app h2:first-of-type {\n margin: 0;\n}\n\n.sample-app h3 {\n font-size: 1.25rem;\n font-weight: 600;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin: 3rem 0 0 0;\n}\n\n.sample-app h4 {\n font-size: 0.875rem;\n font-weight: 700;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin: 3rem 0 0 0;\n}\n\n.sample-app p,\n.sample-app ul {\n margin: 1.5rem 0 0 0;\n font-size: 0.875rem;\n list-style-type: disc;\n}\n\n.sample-app li::before {\n display: none;\n}\n\n.sample-app li {\n padding-left: 0 !important;\n margin-left: 1.25rem;\n}\n\n.sample-app li::marker {\n color: #121142;\n}\n\n.sample-app-heading {\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n}\n\n.sample-app-heading .eyebrow {\n color: #121142;\n font-size: 0.625rem;\n line-height: 160%;\n letter-spacing: 1px;\n text-transform: uppercase;\n}\n\n.sample-app-heading h1 {\n color: #121142;\n margin: 0.5rem 0 0 0;\n font-size: 2.125rem;\n font-weight: 600;\n line-height: 123.5%;\n letter-spacing: 0.25px;\n}\n\n.sample-app-heading p {\n color: #121142;\n margin: 0.5rem 0 1.5rem 0;\n font-size: 1.25rem;\n font-weight: 600;\n line-height: 150%;\n letter-spacing: 0.15px;\n}\n\n/* Sample apps content area with sidebar */\n.sample-app-split {\n display: flex;\n flex-direction: column;\n gap: 3rem;\n}\n\n.sample-app-split .sidebar a:not(.connect-with-pinecone) {\n font-size: 0.875rem;\n color: #121142;\n border-bottom: none;\n}\n\n.sample-app-split .toc-list {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.sample-app-split .toc-list a.bold {\n font-weight: 700;\n margin-top: 0.5rem;\n}\n\n.sample-app-split\u003e.content.no-margin\u003ep:first-of-type {\n margin-top: 0 !important;\n}\n\n.connect-with-pinecone {\n border: 1px solid rgba(115, 143, 171, 0.50);\n border-radius: 0.25rem;\n padding: 0.5rem 1rem;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.5rem;\n letter-spacing: 0.4px;\n color: #121142 !important;\n text-decoration: none;\n align-self: flex-start;\n}\n\n@media (min-width: 1280px) {\n .sample-app-split {\n flex-direction: row;\n }\n\n .sample-app-split .content {\n overflow-x: auto;\n }\n\n .sample-app-split .sidebar {\n width: 20.625rem;\n flex-shrink: 0;\n }\n}\n\n/* Hacky codeblock targeting */\ndiv[class*=\"bg-codeblock\"].relative {\n background: #121142;\n border-radius: 0.25rem;\n}\n\np\u003ecode {\n font-size: 0.75rem;\n line-height: 150%;\n letter-spacing: 0.5px;\n border-radius: 0.25rem;\n padding: 0.125rem 0.5rem;\n background-color: rgba(115, 143, 171, 0.08);\n color: #030080;\n border: none;\n}\n\ncode .api-key.set {\n color: orange;\n}\n\n.pinecone-connect-connected {\n width: 100%;\n max-width: 31.25rem;\n background-color: rgb(255, 255, 255);\n transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n border-radius: 0.25rem;\n padding: 1.5rem;\n margin: 1.5rem 0;\n border: 1px solid rgb(224, 224, 224);\n}\n\n.pinecone-connect-connected img {\n height: 1.875rem;\n margin: 0;\n}\n\n.pinecone-connect-connected p {\n color: rgba(0, 0, 0, 0.87) !important;\n}\n\n.pinecone-connect-connected p:last-of-type {\n margin-top: 0.75rem;\n}\n\n.remove-api-key {\n display: flex;\n width: 100%;\n max-width: 31.25rem;\n margin-top: -1.25rem;\n}\n\n.remove-api-key\u003ebutton {\n font-size: 0.8125rem;\n font-weight: 500;\n color: #1d4ed8;\n margin-left: auto;\n}\n\n\n/* Model Gallery */\n\n.featured-card-container {\n position: relative;\n width: 100%;\n overflow: visible;\n overflow-x: auto;\n overflow-y: visible;\n margin-right: 0;\n /* Added to remove extra right margin */\n}\n\n.featured-model-cards {\n display: flex;\n transition: transform 1s ease-in-out;\n width: 100%;\n gap: 1rem;\n justify-content: space-between;\n overflow: visible;\n overflow-y: visible;\n margin-right: 0;\n /* Added to remove extra right margin */\n}\n\n@media (max-width: 768px) {\n .featured-model-cards {\n flex-direction: column;\n }\n}\n\n.outlined-button {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 150px;\n height: 36px;\n padding: 4px;\n border-radius: 4px;\n border: 1px solid var(--Light-Secondary-Shades-50p, rgba(115, 143, 171, 0.5));\n color: #FFFFFF;\n text-decoration: none;\n font-size: 14px;\n letter-spacing: 0.4;\n text-align: center;\n color: #121142;\n font-weight: 500;\n transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;\n}\n\n.outlined-button:hover {\n background-color: #3C72FF0A;\n border: 1px solid #1B17F5;\n color: #FFFFFF;\n}\n\n\n.control {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n background-color: rgba(255, 255, 255, 0.7);\n border-radius: 50%;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n transition: opacity 0.3s ease;\n}\n\n.control:hover {\n opacity: 1;\n}\n\n.prev-slide {\n left: 10px;\n}\n\n.next-slide {\n right: 10px;\n}\n\n.inference-text p {\n margin-top: 0rem;\n}\n\n\n/* Model page */\n.model-page-card {\n padding: 1.5rem;\n border-radius: 0.25rem;\n border: 1px solid #D8DDDF;\n background: #FFF;\n margin-bottom: 2.5rem;\n}\n\n.model-page-card-title {\n display: flex;\n flex-wrap: wrap;\n gap: 1rem;\n align-items: center;\n}\n\n.model-page-card-title\u003eh1 {\n font-size: 1.5rem;\n color: #121142;\n}\n\n.model-page-card-logo {\n width: 2.125rem;\n height: 2.125rem;\n flex-shrink: 0;\n}\n\n.model-page-card-logo\u003eimg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n\n.model-page-card-inference {\n border-radius: 1rem;\n border: 1px solid #D8DDDF;\n padding: 0.25rem 0.375rem 0.25rem 0.25rem;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n font-size: 0.8125rem;\n}\n\n.model-page-card-stats {\n display: flex;\n gap: 1.5rem;\n flex-wrap: wrap;\n margin-top: 1rem;\n}\n\n.model-page-card-stats\u003ediv\u003espan {\n font-size: 0.625rem;\n color: #72788D;\n letter-spacing: 0.2px;\n font-weight: 500;\n}\n\n.model-page-card-stats\u003ediv\u003ep {\n font-size: 0.75rem;\n color: #121142;\n letter-spacing: 0.17px;\n}\n\n.model-page-card-stats\u003ediv.price {\n margin-left: auto;\n}\n\n.model-page-card-stats\u003ediv.price\u003ep {\n margin-left: auto;\n font-weight: 600;\n}\n\n.model-page-tabs {\n display: flex;\n width: 100%;\n border-bottom: 1px solid #D8DDDF;\n margin-bottom: 2rem;\n}\n\n.model-page-tabs\u003ebutton {\n padding: 0.5625rem 1rem;\n border-bottom: 1px solid transparent;\n color: #72788D;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n font-weight: 500;\n letter-spacing: 0.4px;\n}\n\n.model-page-tabs\u003ebutton\u003esvg\u003epath {\n fill: #72788D;\n}\n\n.model-page-tabs\u003ebutton.active {\n border-bottom: 2px solid #1B17F5;\n color: #1B17F5;\n}\n\n.model-page-tabs\u003ebutton.active\u003esvg\u003epath {\n fill: #1B17F5;\n}\n\n.model-page-playground {\n display: none;\n}\n\n.model-page-guides {\n display: flex;\n flex-direction: column;\n gap: 3rem;\n}\n\n.model-page-content {\n flex-shrink: 1;\n width: auto;\n max-width: 1050px;\n\n @media (max-width: 1500px) {\n max-width: 700px;\n }\n}\n\n.model-page-content\u003e :first-child {\n margin-top: 0;\n}\n\n.model-page-content pre {\n white-space: pre-wrap;\n}\n\n.model-page-sidebar {\n width: 100%;\n flex-shrink: 1;\n}\n\n.model-page-sidebar .iframe-placeholder {\n height: 800px;\n}\n\n/* removing inline padding for now */\n@media (min-width: 1280px) {\n .model-search-container {\n padding-inline: 0px;\n }\n}\n\n.model-page-sidebar-readmore {\n font-size: 0.875rem;\n font-style: normal;\n font-weight: 500;\n line-height: 150%;\n letter-spacing: 0.15px\n}\n\n.model-page-sidebar-readmore svg {\n margin-bottom: 2px;\n}\n\n.model-search-container {\n height: 1045px;\n\n @media (max-width: 768px) {\n height: 1200px;\n }\n}\n\n@media (min-width: 1080px) {\n .model-page-guides {\n flex-direction: row;\n }\n\n .model-page-sidebar {\n max-width: 20.6875rem;\n flex-shrink: 0;\n }\n\n}\n\n.connect-widget-skeleton {\n margin-block: 45px;\n width: 498px;\n height: 180px;\n /* Adjust height to match your widget */\n background: #f6f7f9;\n border-radius: 4px;\n overflow: hidden;\n position: relative;\n border: 1px solid #D8DDDF;\n}\n\n.skeleton-content {\n width: 450px;\n height: 180px;\n background: linear-gradient(90deg,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 0.6) 50%,\n rgba(255, 255, 255, 0) 100%);\n animation: shimmer 1.5s infinite;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n@keyframes shimmer {\n 0% {\n transform: translateX(-100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n}\n\n/* For dark mode */\n.dark .connect-widget-skeleton {\n background: #2a2a2a;\n}"}],"jsFiles":[{"_id":"66108af93a6c5022ffa6a741","filePath":"script.js","subdomain":"pinecone-2","__v":0,"content":"\"use client\";\n\n// Insert skeleton loader immediately\nconst pineconeConnectWidget = document.getElementById(\"pinecone-connect-widget\");\nif (pineconeConnectWidget) {\n pineconeConnectWidget.innerHTML = `\n \u003cdiv class=\"connect-widget-skeleton\"\u003e\n \u003cdiv class=\"skeleton-content\"\u003e\u003c/div\u003e\n \u003c/div\u003e\n `;\n}\n\nwindow.onload = function () {};\n\n// Get the Mintlify search containers, going to reuse them as the triggers for Inkeep\nconst searchButtonContainerIds = [\n \"search-bar-entry\",\n \"search-bar-entry-mobile\",\n];\n\n// Clone and replace, needed to remove existing event listeners\nconst clonedSearchButtonContainers = searchButtonContainerIds.map((id) =\u003e {\n const originalElement = document.getElementById(id);\n const clonedElement = originalElement.cloneNode(true);\n\n originalElement.parentNode.replaceChild(clonedElement, originalElement);\n\n return clonedElement;\n});\n\nconst pineconeConnectWidgetScript = document.createElement(\"script\");\ndocument.body.appendChild(pineconeConnectWidgetScript);\n\nfunction debounce(func, delay) {\n let timerId;\n return function (...args) {\n clearTimeout(timerId);\n timerId = setTimeout(() =\u003e {\n func.apply(this, args);\n }, delay);\n };\n}\n\n// Set api keys inside codeblocks\nconst setApiKeys = () =\u003e {\n // console.log(\"setting api keys\")\n const codeElements = document.querySelectorAll(\n \"code:not(.inline-flex.gap-2.items-center)\"\n );\n const apiKey = sessionStorage.getItem(\"apiKey\");\n\n codeElements.forEach((el) =\u003e {\n el.innerHTML = el.innerHTML.replace(\n /{{YOUR_API_KEY}}/g,\n `\u003cspan class=\"api-key\"\u003eYOUR_API_KEY\u003c/span\u003e`\n );\n });\n\n const codeBlocks = document.querySelectorAll(\"div.mt-5.mb-8.not-prose\");\n\n codeBlocks.forEach((codeBlock) =\u003e {\n const copyButton = codeBlock.querySelector(\"button\");\n const clonedElement = copyButton.cloneNode(true);\n copyButton.parentNode.replaceChild(clonedElement, copyButton);\n\n clonedElement.addEventListener(\"click\", () =\u003e {\n const codeElement = codeBlock.querySelector(\"code\");\n navigator.clipboard.writeText(codeElement.textContent);\n\n const statusElement = clonedElement.nextElementSibling;\n\n statusElement.textContent = \"Copied!\";\n clonedElement.innerHTML = `\u003csvg class=\"fill-primary-light\" width=\"16\" height=\"11\" viewBox=\"0 0 16 11\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cpath d=\"M14.7813 1.21873C15.0751 1.51248 15.0751 1.98748 14.7813 2.2781L6.53135 10.5312C6.2376 10.825 5.7626 10.825 5.47197 10.5312L1.21885 6.28123C0.925098 5.98748 0.925098 5.51248 1.21885 5.22185C1.5126 4.93123 1.9876 4.9281 2.27822 5.22185L5.99697 8.9406L13.7188 1.21873C14.0126 0.924976 14.4876 0.924976 14.7782 1.21873H14.7813Z\"\u003e\u003c/path\u003e\u003c/svg\u003e`;\n\n setTimeout(() =\u003e {\n statusElement.textContent = \"Copy\";\n clonedElement.innerHTML = `\u003csvg class=\"fill-gray-700 group-hover:fill-gray-400\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cpath d=\"M2 14.5H9C9.275 14.5 9.5 14.275 9.5 14V12H11V14C11 15.1031 10.1031 16 9 16H2C0.896875 16 0 15.1031 0 14V7C0 5.89687 0.896875 5 2 5H4V6.5H2C1.725 6.5 1.5 6.725 1.5 7V14C1.5 14.275 1.725 14.5 2 14.5ZM7 11C5.89687 11 5 10.1031 5 9V2C5 0.896875 5.89687 0 7 0H14C15.1031 0 16 0.896875 16 2V9C16 10.1031 15.1031 11 14 11H7Z\"\u003e\u003c/path\u003e\u003c/svg\u003e`;\n }, 2000);\n });\n });\n\n if (apiKey) {\n const apiKeys = document.querySelectorAll(\".api-key\");\n apiKeys.forEach((el) =\u003e {\n el.innerHTML = apiKey;\n el.classList.add(\"set\");\n });\n\n // Add remove api key button\n const widgetContainer = document.getElementById(\"pinecone-connect-widget\");\n\n const div = document.createElement(\"div\");\n div.classList.add(\"remove-api-key\");\n const button = document.createElement(\"button\");\n button.textContent = \"Remove API Key from guide\";\n button.addEventListener(\"click\", () =\u003e {\n sessionStorage.removeItem(\"apiKey\");\n widgetContainer.innerHTML = \"\";\n div.remove();\n loadConnectWidget();\n\n apiKeys.forEach((el) =\u003e {\n el.innerHTML = \"YOUR_API_KEY\";\n el.classList.remove(\"set\");\n });\n });\n\n div.appendChild(button);\n widgetContainer.insertAdjacentElement(\"afterend\", div);\n }\n};\n\nconst debouncedSetApiKeys = debounce(() =\u003e {\n setApiKeys();\n}, 1000);\n\nconst loadConnectWidget = () =\u003e {\n const apiKey = sessionStorage.getItem(\"apiKey\");\n const widgetContainer = document.getElementById(\"pinecone-connect-widget\");\n \n if (!apiKey) {\n import(\"https://connect.pinecone.io/embed.js\")\n .then(() =\u003e {\n try {\n console.log(\"Trying to initialize connectToPinecone\");\n \n // Clear the skeleton loader before initializing the widget\n widgetContainer.innerHTML = '';\n \n let integrationId = \"docs\"; // default\n const currentPath = window.location.pathname;\n \n if (currentPath === \"/guides/get-started/quickstart\") {\n integrationId = \"db-quickstart\";\n } else if (currentPath === \"/guides/get-started/assistant-quickstart\") {\n integrationId = \"assistant-quickstart\";\n }\n\n window.connectToPinecone(\n (apiKey) =\u003e {\n console.log(apiKey);\n sessionStorage.setItem(\"apiKey\", apiKey);\n setApiKeys();\n },\n {\n integrationId,\n container: widgetContainer,\n }\n );\n } catch (error) {\n console.error(\"Error initializing Pinecone widget:\", error);\n }\n })\n .catch((error) =\u003e {\n console.error(\"Error importing embed.js:\", error);\n });\n } else {\n widgetContainer.innerHTML = `\n \u003cdiv class=\"pinecone-connect-connected\"\u003e\n \u003cimg src=\"https://connect.pinecone.io/assets/pinecone_full_logo_dark-fc6bab47.svg\" alt=\"Pinecone\"\u003e\n \u003cdiv\u003e\n \u003cp\u003eYou're all set! An API key has been generated and provided to Pinecone Docs.\u003c/p\u003e\n \u003cp\u003eYou can manage your API keys in the \u003ca href=\"https://app.pinecone.io\" target=\"_blank\"\u003ePinecone console\u003c/a\u003e.\u003c/p\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n `;\n }\n};\n\nconst debouncedLoadConnectWidget = debounce(() =\u003e {\n try {\n loadConnectWidget();\n } catch (error) {\n console.error(\"Error loading connect widget:\", error);\n }\n}, 1000);\n\n// Load the Inkeep script\nconst inkeepScript = document.createElement(\"script\");\ninkeepScript.type = \"module\";\ninkeepScript.src =\n \"https://unpkg.com/@inkeep/widgets-embed@0.2.271/dist/embed.js\";\ndocument.body.appendChild(inkeepScript);\n\n// Once the Inkeep script has loaded, load the Inkeep chat components\ninkeepScript.addEventListener(\"load\", function () {\n function convertFilesToBase64(files) {\n const filesArray = Array.from(files);\n return Promise.all(\n filesArray.map((file) =\u003e {\n return new Promise((resolve, reject) =\u003e {\n const reader = new FileReader();\n reader.onload = (event) =\u003e {\n const result = event.target.result;\n const base64Data = result\n ?.toString()\n .replace(/^data:.+;base64,/, \"\");\n resolve({\n data: base64Data,\n fileName: file.name,\n mimeType: file.type,\n });\n };\n reader.onerror = (error) =\u003e reject(error);\n reader.readAsDataURL(file);\n });\n })\n );\n }\n\n const supportFormConfig = {\n heading: \"Contact support\",\n successConfirmationPage: {\n heading: \"Submission successful\",\n message:\n \"To view your open tickets, go to the Support page on the Pinecone console.\",\n },\n fields: [\n {\n type: \"STANDARD_FIELD\",\n label: \"Email (associated with Pinecone account)\",\n name: \"email\",\n inputType: \"EMAIL\",\n required: true,\n },\n {\n type: \"STANDARD_FIELD\",\n label: \"Subject\",\n name: \"subject\",\n inputType: \"TEXT\",\n required: true,\n },\n \n {\n type: \"INCLUDE_CHAT_SESSION\",\n defaultValue: true,\n },\n {\n type: \"STANDARD_FIELD\",\n label: \"Additional details\",\n name: \"additional_details\",\n inputType: \"TEXTAREA\",\n },\n ],\n submitCallback: async (values) =\u003e {\n const { formDetails, chatSession } = values;\n const formData = new FormData();\n formData.append('subject', formDetails.subject);\n formData.append('email', formDetails.email);\n formData.append('additional_details', formDetails.additional_details);\n formData.append('chatbot_source', \"docs\");\n\n if (chatSession) {\n formData.append(\"chatSession\", JSON.stringify(chatSession));\n }\n console.log(\"TEST LOG\", formDetails);\n\n try {\n try {\n const response = await fetch(\"https://www.pinecone.io/api/submitTicket\", {\n method: \"POST\",\n body: formData,\n mode: \"no-cors\",\n });\n // const result = await response.json();\n // console.log(\"RESULT\", result);\n return { success: true }; // We assume success if we get here due to cors issues\n } catch (error) {\n console.error(\"Error submitting form 1:\", error);\n return { success: false };\n }\n } catch (error) {\n console.error(\"Error submitting form 2:\", error);\n return { success: false };\n }\n },\n };\n // Customization settings\n const sharedConfig = {\n stylesheetUrls: [\n \"https://www.pinecone.io/customerStylesheets/pinecone.css\",\n ],\n baseSettings: {\n apiKey: \"ac936dc250fee335d56e8e7f01c93f6352fa88a69331053c\",\n integrationId: \"clu1mcp8l0008nc70ugr3yft8\",\n organizationId: \"org_2w8WbI2ZUZ7xN2wp\",\n primaryBrandColor: \"#1c17ff\",\n\n theme: {\n primaryColors: {\n textColorOnPrimary: \"white\",\n },\n colors: {\n gray: {\n \"gray.50\": \"242 243 251\",\n \"gray.100\": \"236 237 246\",\n \"gray.200\": \"223 225 236\",\n \"gray.300\": \"203 207 220\",\n \"gray.400\": \"152 159 177\",\n \"gray.500\": \"105 111 132\",\n \"gray.600\": \"74 83 104\",\n \"gray.700\": \"54 64 86\",\n \"gray.800\": \"31 40 61\",\n \"gray.900\": \"17 24 46\",\n },\n },\n components: {\n SearchBarTrigger: {\n defaultProps: {\n variant: \"subtle\",\n },\n },\n },\n },\n customIcons: {\n search: { builtIn: \"IoSearch\" },\n },\n\n breadcrumbRules: {\n urlToBreadcrumbMapper: [\n {\n matchingRule: {\n ruleType: \"PartialUrl\",\n partialUrl: \"pinecone.io\",\n },\n replaceLeading: true,\n breadcrumbName: \"Home\",\n },\n {\n matchingRule: {\n ruleType: \"PartialUrl\",\n partialUrl: \"docs.pinecone.io\",\n },\n replaceLeading: true,\n breadcrumbName: \"Docs\",\n },\n {\n matchingRule: {\n ruleType: \"PartialUrl\",\n partialUrl: \"www.pinecone.io/learn\",\n },\n replaceLeading: true,\n breadcrumbName: \"Learn\",\n },\n {\n matchingRule: {\n ruleType: \"PartialUrl\",\n partialUrl: \"www.pinecone.io/blog\",\n },\n replaceLeading: true,\n breadcrumbName: \"Blog\",\n },\n {\n matchingRule: {\n ruleType: \"PartialUrl\",\n partialUrl: \"pinecone.io/community\",\n },\n replaceLeading: true,\n breadcrumbName: \"Community\",\n },\n ],\n },\n\n customCardSettings: [\n {\n filters: {\n RootBreadcrumb: \"Community\",\n },\n searchTabLabel: \"Community\",\n icon: { builtIn: \"IoPeopleOutline\" },\n },\n {\n filters: {\n RootBreadcrumb: \"Blog\",\n },\n searchTabLabel: \"Blog\",\n icon: { builtIn: \"IoPencilOutline\" },\n },\n {\n filters: {\n RootBreadcrumb: \"Learn\",\n },\n searchTabLabel: \"Learn\",\n icon: { builtIn: \"IoBookOutline\" },\n },\n {\n filters: {\n RootBreadcrumb: \"Home\",\n },\n searchTabLabel: \"Home\",\n icon: { builtIn: \"IoHomeOutline\" },\n },\n {\n filters: {\n RootBreadcrumb: \"Support\",\n },\n searchTabLabel: \"Support\",\n icon: { builtIn: \"IoHelpBuoyOutline\" },\n },\n ],\n },\n aiChatSettings: {\n chatSubjectName: \"Pinecone\",\n botAvatarSrcUrl:\n \"https://storage.googleapis.com/organization-image-assets/pinecone-botAvatarSrcUrl-1707422859519.svg\",\n botAvatarDarkSrcUrl:\n \"https://storage.googleapis.com/organization-image-assets/pinecone-botAvatarDarkSrcUrl-1707422858768.svg\",\n getHelpCallToActions: [\n {\n name: \"Community\",\n url: \"https://community.pinecone.io/\",\n icon: {\n builtIn: \"IoPeopleOutline\",\n },\n },\n {\n name: \"Support Center\",\n url: \"https://app.pinecone.io/organizations/-/settings/support\",\n icon: {\n builtIn: \"IoHelpBuoyOutline\",\n },\n },\n {\n name: \"Create Support Ticket\",\n type: \"OPEN_FORM\",\n formConfig: supportFormConfig,\n icon: {\n builtIn: \"info\",\n },\n },\n ],\n quickQuestions: [\n \"What are the benefits of serverless?\",\n \"How do I do a dense and sparse search?\",\n \"What are the primary ways to minimize latency?\",\n ],\n includeAIAnnotations: {\n shouldEscalateToSupport: true,\n },\n aiAnnotationPolicies: {\n shouldEscalateToSupport: [\n {\n threshold: \"STANDARD\",\n action: {\n type: \"SHOW_SUPPORT_BUTTON\",\n label: \"Contact Support\",\n icon: { builtIn: \"LuUsers\" },\n action: {\n type: \"OPEN_FORM\",\n formConfig: supportFormConfig,\n },\n },\n },\n ],\n },\n },\n searchSettings: {\n tabSettings: {\n isAllTabEnabled: false,\n rootBreadcrumbsToUseAsTabs: [\n \"Docs\",\n \"Learn\",\n \"Forums\",\n \"Community\",\n \"Support\",\n \"Blog\",\n \"Home\",\n ],\n },\n },\n };\n\n // for syncing with dark mode\n const colorModeSettings = {\n observedElement: document.documentElement,\n isDarkModeCallback: (el) =\u003e {\n return el.classList.contains(\"dark\");\n },\n colorModeAttribute: \"class\",\n };\n\n // instantiate Inkeep \"custom trigger\" component\n const inkeepSearchModal = Inkeep({\n ...sharedConfig.baseSettings,\n }).embed({\n componentType: \"CustomTrigger\",\n colorModeSync: colorModeSettings,\n properties: {\n ...sharedConfig,\n isOpen: false,\n onClose: () =\u003e {\n inkeepSearchModal.render({\n isOpen: false,\n });\n },\n },\n });\n\n // When the Mintlify search bar clone is clicked, open the Inkeep search modal\n clonedSearchButtonContainers.forEach((trigger) =\u003e {\n trigger.addEventListener(\"click\", function () {\n inkeepSearchModal.render({\n isOpen: true,\n });\n });\n });\n\n // Add event listener for the 'keydown' event on the document object for cmd + k\n document.addEventListener(\"keydown\", function (event) {\n if (event.metaKey \u0026\u0026 event.key === \"k\") {\n event.preventDefault(); // Prevent the default behavior of the keyboard shortcut\n inkeepSearchModal.render({\n isOpen: true,\n });\n }\n });\n});\n\nfunction addRelatedArticles(titles, links) {\n const existing = document.querySelector(\"#related-articles\");\n if (existing) return;\n\n const sidebar = document.querySelector(\"#table-of-contents\");\n const relatedArticles = document.createElement(\"div\");\n relatedArticles.id = \"related-articles\";\n\n const title = document.createElement(\"h2\");\n title.textContent = \"Related Articles\";\n relatedArticles.appendChild(title);\n\n titles.forEach((title, index) =\u003e {\n const relatedArticle = document.createElement(\"a\");\n relatedArticle.href = links[index];\n relatedArticle.textContent = title;\n relatedArticle.insertAdjacentHTML(\n \"beforeend\",\n '\u003csvg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg id=\"ChevronRightFilled\"\u003e\u003cpath id=\"Vector\" d=\"M9.70492 6L8.29492 7.41L12.8749 12L8.29492 16.59L9.70492 18L15.7049 12L9.70492 6Z\" fill=\"#1B17F5\"/\u003e\u003c/g\u003e\u003c/svg\u003e'\n );\n relatedArticles.appendChild(relatedArticle);\n });\n\n sidebar.appendChild(relatedArticles);\n}\n\nconst relatedArticles = {\n airbyte: {\n titles: [\n \"Data Sync and Search: Pinecone and Airbyte\",\n \"Introduction to Airbyte and the Pinecone connector\",\n \"Postgres to Pinecone Syncing\",\n ],\n links: [\n \"https://www.pinecone.io/learn/series/airbyte/\",\n \"https://www.pinecone.io/learn/series/airbyte/airbyte-and-pinecone-intro/\",\n \"https://www.pinecone.io/learn/series/airbyte/airbyte-postgres-to-pinecone/\",\n ],\n },\n\n bedrock: {\n titles: [\"Pinecone as a Knowledge Base for Amazon Bedrock\"],\n links: [\"https://www.pinecone.io/blog/amazon-bedrock-integration/\"],\n },\n\n sagemaker: {\n titles: [\n \"Mitigate hallucinations through Retrieval Augmented Generation using Pinecone vector database \u0026 Llama-2 from Amazon SageMaker JumpStart\",\n ],\n links: [\n \"https://aws.amazon.com/blogs/machine-learning/mitigate-hallucinations-through-retrieval-augmented-generation-using-pinecone-vector-database-llama-2-from-amazon-sagemaker-jumpstart/\",\n ],\n },\n\n langchain: {\n titles: [\"LangChain AI Handbook\"],\n links: [\"https://www.pinecone.io/learn/series/langchain/\"],\n },\n\n openai: {\n titles: [\n \"Generative Question-Answering with Long-Term Memory\",\n \"OpenAI's Text Embeddings v3\",\n ],\n links: [\n \"https://www.pinecone.io/learn/openai-gen-qa/\",\n \"https://www.pinecone.io/learn/openai-embeddings-v3/\",\n ],\n },\n\n snowflake: {\n titles: [\n \"Snowpark Container Services: Securely Deploy and run Sophisticated Generative AI and full-stack apps in Snowflake\",\n ],\n links: [\n \"https://www.snowflake.com/blog/snowpark-container-services-deploy-genai-full-stack-apps/\",\n ],\n },\n};\n\nlet isScrollListenerAdded = false;\nlet scrollListener = null;\n\n// Mutation observer to handle page changes\nconst observer = new MutationObserver(function (mutations) {\n mutations.forEach(function (mutation) {\n if (mutation.type === \"childList\") {\n try {\n\n // Pinecone connect widget\n const pineconeConnectWidget = document.querySelector(\n \"#pinecone-connect-widget\"\n );\n if (\n pineconeConnectWidget \u0026\u0026\n !pineconeConnectWidget.classList.contains(\"loaded\")\n ) {\n debouncedLoadConnectWidget();\n pineconeConnectWidget.classList.add(\"loaded\");\n }\n\n // console.log(\"mutation\")\n\n if (\n pineconeConnectWidget \u0026\u0026\n !pineconeConnectWidget.classList.contains(\"apiKeysSet\")\n ) {\n debouncedSetApiKeys();\n pineconeConnectWidget.classList.add(\"apiKeysSet\");\n }\n\n const [path, page, page2] = window.location.pathname\n .split(\"/\")\n .slice(1);\n\n var contentContainer = document.querySelector(\"#content-container\");\n var contentArea = document.querySelector('#content-area');\n\n //** Model Gallery **/\n if (path !== \"models\") {\n const sidebar = document.querySelector(\"#sidebar\");\n if (sidebar) sidebar.style.display = \"\";\n if (contentContainer) contentContainer.style.paddingLeft = \"\";\n } else {\n const sidebar = document.querySelector(\"#sidebar\");\n if (sidebar) sidebar.style.display = \"none\";\n if (contentContainer) contentContainer.style.paddingLeft = \"0px\";\n if (contentArea) contentArea.style.paddingLeft = '0px';\n if (contentArea) contentArea.style.marginLeft = '12px';\n const header = document.querySelector(\"#header\");\n if (header) header.remove();\n const tableOfContents = document.querySelector(\"#table-of-contents\");\n if (tableOfContents) tableOfContents.remove();\n }\n\n //** References **/\n\n // Remove version picker from all but /reference/api pages\n const versionToggle = document.querySelector(\"[id^='radix-:R25fcql6:']\")\n \n if (page !== \"api\") {\n if (versionToggle) versionToggle.style.visibility = \"hidden\";\n } else {\n if (versionToggle) versionToggle.style.visibility = \"visible\";\n }\n\n //** Integrations **/\n\n if (path === \"integrations\" \u0026\u0026 page === \"overview\") {\n const toc = document.querySelector(\"#table-of-contents\");\n if (toc) toc.style.display = \"none\";\n\n const header = document.querySelector(\"#header\");\n if (header) header.style.display = \"none\";\n\n const existingBanner = document.querySelector(\"#integrations-banner\");\n if (!existingBanner) {\n const banner = document.createElement(\"div\");\n banner.id = \"integrations-banner\";\n\n const h1 = document.createElement(\"h1\");\n h1.textContent = \"Integrations\";\n banner.appendChild(h1);\n\n const p = document.createElement(\"p\");\n p.textContent = \"Build powerful workflows with our partners\";\n banner.appendChild(p);\n\n const navbar = document.getElementById(\"navbar\");\n navbar.insertAdjacentElement(\"afterend\", banner);\n }\n\n // Remove content padding\n const contentContainer = document.querySelector(\"#content-container\");\n contentContainer.firstElementChild.style.paddingTop = \"1rem\";\n\n // Move sidebar\n const sidebar = document.querySelector(\"#sidebar\");\n sidebar.style.top = \"19.8rem\";\n\n // Handle sidebar\n const handleSidebarScroll = () =\u003e {\n let maxScroll = 200;\n let startPosition = 19.8;\n let endPosition = 7.1;\n\n if (window.scrollY \u003c= maxScroll) {\n let scrollFraction = window.scrollY / maxScroll;\n let positionDifference = startPosition - endPosition;\n let currentPosition =\n startPosition - scrollFraction * positionDifference;\n sidebar.style.top = `${currentPosition}rem`;\n } else {\n sidebar.style.top = `${endPosition}rem`;\n }\n };\n\n if (!isScrollListenerAdded) {\n scrollListener = handleSidebarScroll;\n window.addEventListener(\"scroll\", scrollListener);\n isScrollListenerAdded = true;\n }\n } else {\n // Remove sidebar scroll listener\n if (isScrollListenerAdded \u0026\u0026 scrollListener !== null) {\n window.removeEventListener(\"scroll\", scrollListener);\n isScrollListenerAdded = false;\n }\n\n // remove the banner\n const existingBanner = document.querySelector(\"#integrations-banner\");\n if (existingBanner) {\n existingBanner.remove();\n }\n\n // Move sidebar\n const sidebar = document.querySelector(\"#sidebar\");\n if (sidebar) sidebar.style.top = \"7.1rem\";\n\n // Set sample apps side nav link to active for all sample apps\n if (page === \"sample-apps\") {\n const aElement = document.querySelector(\n 'a[href=\"/examples/sample-apps\"]'\n );\n if (aElement) {\n aElement.className =\n \"group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 rounded-lg focus:outline-primary dark:focus:outline-primary-light bg-primary/10 text-primary font-semibold dark:text-primary-light dark:bg-primary-light/10\";\n }\n } else if (page === \"notebooks\") {\n const aElement = document.querySelector(\n 'li \u003e a[href=\"/examples/sample-apps\"]'\n );\n if (aElement) {\n aElement.className =\n \"group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 rounded-lg focus:outline-primary dark:focus:outline-primary-light hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300\";\n };\n }\n if (path === \"integrations\" \u0026\u0026 page !== \"overview\") {\n // Insert back button\n const backButton = document.querySelector(\"#back-button\");\n if (!backButton) {\n const link = document.createElement(\"a\");\n link.id = \"back-button\";\n link.href = \"/integrations/overview\";\n link.textContent = \"Back to Integrations\";\n link.insertAdjacentHTML(\n \"afterbegin\",\n '\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" fill=\"none\"\u003e\u003cpath d=\"M10.4693 5.44L9.5293 4.5L5.5293 8.5L9.5293 12.5L10.4693 11.56L7.41596 8.5L10.4693 5.44Z\" fill=\"#1B17F5\"/\u003e\u003c/svg\u003e'\n );\n\n const header = document.querySelector(\"#header\");\n header.insertAdjacentElement(\"afterbegin\", link);\n }\n\n // Add related articles\n switch (\n page /* Hide related articles for now\n case \"airbyte\":\n addRelatedArticles(\n relatedArticles.airbyte.titles,\n relatedArticles.airbyte.links\n );\n break;\n airbyte;\n case \"amazon-bedrock\":\n addRelatedArticles(\n relatedArticles.bedrock.titles,\n relatedArticles.bedrock.links\n );\n break;\n case \"amazon-sagemaker\":\n addRelatedArticles(\n relatedArticles.sagemaker.titles,\n relatedArticles.sagemaker.links\n );\n break;\n case \"langchain\":\n addRelatedArticles(\n relatedArticles.langchain.titles,\n relatedArticles.langchain.links\n );\n break;\n case \"openai\":\n addRelatedArticles(\n relatedArticles.openai.titles,\n relatedArticles.openai.links\n );\n break;\n case \"snowflake\":\n addRelatedArticles(relatedArticles.snowflake.titles, relatedArticles.snowflake.links)\n break; */\n ) {\n default:\n break;\n }\n }\n\n // Sample apps\n if (page === \"sample-apps\" \u0026\u0026 !!page2) {\n const header = document.querySelector(\"#header\");\n if (header) header.style.display = \"none\";\n\n const toc = document.querySelector(\"#table-of-contents\");\n if (toc) toc.style.display = \"none\";\n\n const contentArea = document.querySelector(\n \"#content-area \u003e div.mt-8\"\n );\n contentArea.style.marginTop = \"0\";\n\n // Create toc\n document.querySelectorAll(\".sample-app-split\").forEach((div) =\u003e {\n const toc = div.querySelector(\".toc\");\n const content = div.querySelector(\".content\");\n const existing = div.querySelector(\".toc-list\");\n\n if (toc \u0026\u0026 content \u0026\u0026 !existing) {\n const tocList = document.createElement(\"div\");\n tocList.className = \"toc-list\";\n\n const headers = content.querySelectorAll(\n \"h2, h3, .connect-with-pinecone\"\n );\n\n headers.forEach((header) =\u003e {\n // If connect btn, clone it and append\n if (header.classList.contains(\"connect-with-pinecone\")) {\n const cloned = header.cloneNode(true);\n tocList.appendChild(cloned);\n return;\n }\n // Slugify heading text and create id\n const slugify = (text) =\u003e\n text\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, \"-\")\n .replace(/^-|-$/g, \"\");\n const id = slugify(header.textContent);\n header.id = id; // Set ID on the header using the slugified text\n\n // Create an anchor link and append it to the TOC\n const anchor = document.createElement(\"a\");\n anchor.href = `#${id}`;\n anchor.textContent = header.textContent;\n anchor.className = header.tagName === \"H2\" ? \"bold\" : \"\";\n\n tocList.appendChild(anchor);\n });\n\n toc.appendChild(tocList);\n\n const initialTopOffset =\n tocList.getBoundingClientRect().top + window.scrollY - 148;\n const stickySidebar = () =\u003e {\n if (window.innerWidth \u003e 1280) {\n if (window.scrollY \u003e= initialTopOffset) {\n tocList.style.position = \"fixed\";\n tocList.style.top = \"148px\";\n } else {\n tocList.style.position = \"relative\";\n tocList.style.top = \"\";\n }\n } else {\n tocList.style.position = \"relative\";\n tocList.style.top = \"\";\n }\n };\n\n stickySidebar();\n window.addEventListener(\"scroll\", stickySidebar);\n window.addEventListener(\"resize\", stickySidebar);\n }\n });\n }\n\n // Notebooks\n if (\n path === \"examples\" \u0026\u0026\n (page === \"notebooks\" || page === \"sample-apps\")\n ) {\n const toc = document.querySelector(\"#table-of-contents\");\n if (toc) toc.style.display = \"none\";\n\n const heading = document.querySelector(\"#header h1\");\n if (heading) heading.style.fontSize = \"1.5rem\";\n }\n }\n } catch (error) {\n console.error(\"Error handling mutation:\", error);\n }\n }\n });\n});\n\nobserver.observe(document.body, { childList: true, subtree: true });\n\n// Replace the header cta button since replacing the svg via css ::after is not working\nwindow.addEventListener(\"load\", () =\u003e {\n const ctaButton = document.querySelector(\"#topbar-cta-button\");\n\n if (ctaButton) {\n ctaButton.innerHTML = \"\";\n const a = document.createElement(\"a\");\n a.href = \"https://app.pinecone.io/?sessionType=signup\";\n a.target = \"_blank\";\n a.textContent = \"Sign up free\";\n\n const svg =\n '\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"\u003e\u003cpath d=\"M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z\" fill=\"white\"/\u003e\u003c/svg\u003e';\n\n a.insertAdjacentHTML(\"beforeend\", svg);\n ctaButton.appendChild(a);\n }\n localStorage.setItem(\"isDarkMode\", \"false\");\n const [path, page, page2] = window.location.pathname.split(\"/\").slice(1);\n if (path === \"home\") {\n // Remove version picker from home page on load\n const versionToggle = document.getElementById(\n \"headlessui-menu-button-:r0:\"\n );\n versionToggle.style.visibility = \"hidden\";\n }\n});\n"}],"mdxSourceWithNoJs":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n a: \"a\",\n pre: \"pre\",\n code: \"code\",\n span: \"span\",\n ul: \"ul\",\n li: \"li\"\n }, _provideComponents(), props.components), {Tip, Heading, CodeGroup, CodeBlock, Note} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n if (!CodeGroup) _missingMdxReference(\"CodeGroup\", true);\n if (!Heading) _missingMdxReference(\"Heading\", true);\n if (!Note) _missingMdxReference(\"Note\", true);\n if (!Tip) _missingMdxReference(\"Tip\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"This guide shows you how to set up and use Pinecone Database for high-performance similarity search.\"\n }), \"\\n\", _jsx(Tip, {\n children: _jsxs(_components.p, {\n children: [\"To get started in your browser, use the \", _jsx(_components.a, {\n href: \"https://colab.research.google.com/github/pinecone-io/examples/blob/master/docs/pinecone-quickstart.ipynb\",\n children: \"Quickstart colab notebook\"\n }), \". To try Pinecone Database locally before creating an account, use \", _jsx(_components.a, {\n href: \"/guides/operations/local-development\",\n children: \"Pinecone Local\"\n }), \".\"]\n })\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"1-install-an-sdk\",\n children: \"1. Install an SDK\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.a, {\n href: \"/reference/pinecone-sdks\",\n children: \"Pinecone SDKs\"\n }), \" provide convenient programmatic access to the \", _jsx(_components.a, {\n href: \"/reference/api/introduction\",\n children: \"Pinecone APIs\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Install the SDK for your preferred language:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"pip install \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"pinecone[grpc]\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# To install without gRPC run:\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# pip3 install pinecone\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"npm install @pinecone\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"database\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"pinecone\"]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Maven\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"dependency\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"groupId\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"groupId\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"artifactId\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"client\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"artifactId\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"version\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"3.0\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \".0\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"version\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"/\"\n }), \"dependency\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003e\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Gradle\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"implementation \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"io.pinecone:pinecone-client:3.0.0\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Add a dependency to the current module:\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: \"go get github.com/pinecone-io/go-pinecone/pinecone\"\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Add a package reference to the current project file:\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"dotnet \", _jsx(_components.span, {\n className: \"token function\",\n children: \"add\"\n }), \" package Pinecone.Client \"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"2-get-an-api-key\",\n children: \"2. Get an API key\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"You need an API key to make calls to your Pinecone project.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Create a new API key in the \", _jsx(_components.a, {\n href: \"https://app.pinecone.io/organizations/-/keys\",\n children: \"Pinecone console\"\n }), \", or use the widget below to generate a key. If you don’t have a Pinecone account, the widget will sign you up for the free \", _jsx(_components.a, {\n href: \"https://www.pinecone.io/pricing/\",\n children: \"Starter plan\"\n }), \".\"]\n }), \"\\n\", _jsx(\"div\", {\n style: {\n minWidth: '450px',\n minHeight: '152px'\n },\n children: _jsx(\"div\", {\n id: \"pinecone-connect-widget\",\n children: _jsx(\"div\", {\n class: \"connect-widget-skeleton\",\n children: _jsx(\"div\", {\n class: \"skeleton-content\"\n })\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Your generated API key:\"\n }), \"\\n\", _jsx(CodeBlock, {\n filename: \"\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"{{YOUR_API_KEY}}\\\"\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"3-generate-vectors\",\n children: \"3. Generate vectors\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A \", _jsx(_components.a, {\n href: \"https://www.pinecone.io/learn/vector-embeddings/\",\n children: \"vector embedding\"\n }), \" is a numerical representation of data that enables similarity-based search in vector databases like Pinecone. To convert data into this format, you use an embedding model.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For this quickstart, use the \", _jsx(_components.a, {\n href: \"/models/multilingual-e5-large\",\n children: _jsx(_components.code, {\n children: \"multilingual-e5-large\"\n })\n }), \" embedding model hosted by Pinecone to \", _jsx(_components.a, {\n href: \"/guides/inference/generate-embeddings\",\n children: \"create vector embeddings\"\n }), \" for sentences related to the word “apple”. Note that some sentences are about the tech company, while others are about the fruit.\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Import the Pinecone library\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"grpc \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" PineconeGRPC \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"as\"\n }), \" Pinecone\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" pinecone \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" ServerlessSpec\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" time\"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Initialize a Pinecone client with your API key\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"pc \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" Pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"api_key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Define a sample dataset where each item has a unique ID and piece of text\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Convert the text into numerical vectors that Pinecone can index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"embeddings \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"embed\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" inputs\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" d \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"in\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"print\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Import the Pinecone library\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword module\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token imports\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token maybe-class-name\",\n children: \"Pinecone\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \" \", _jsx(_components.span, {\n className: \"token keyword module\",\n children: \"from\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'@pinecone-database/pinecone'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" pc \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Pinecone\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"apiKey\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'YOUR_API_KEY'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define a sample dataset where each item has a unique ID and piece of text\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec1'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple is a popular fruit known for its sweetness and crisp texture.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec2'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'The tech company Apple is known for its innovative products like the iPhone.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec3'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Many people enjoy eating apples as a healthy snack.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec4'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec5'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'An apple a day keeps the doctor away, as the saying goes.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec6'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the text into numerical vectors that Pinecone can index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" model \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'multilingual-e5-large'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" embeddings \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"inference\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token parameter\",\n children: \"d\"\n }), \" \", _jsx(_components.span, {\n className: \"token arrow operator\",\n children: \"=\u003e\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"inputType\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'passage'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"truncate\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'END'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token console class-name\",\n children: \"console\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"log\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Import the required classes\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"clients\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Index\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"clients\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Inference\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"io\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"clients\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Pinecone\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"org\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"openapitools\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"client\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ApiException\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"org\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"openapitools\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"client\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"java\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"math\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"BigDecimal\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"java\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"util\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsxs(_components.span, {\n className: \"token import\",\n children: [_jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"java\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"util\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"stream\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collectors\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"GenerateEmbeddings\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"static\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"void\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"main\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" args\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"throws\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ApiException\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Pinecone\"\n }), \" pc \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsxs(_components.span, {\n className: \"token class-name\",\n children: [\"Pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Builder\"]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"build\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Inference\"\n }), \" inference \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getInferenceClient\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare input sentences to be embedded\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Arrays\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"asList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" inputs \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"stream\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"::\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getText\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"collect\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collectors\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"toList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Specify the embedding model and parameters\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" embeddingModel \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Map\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" parameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"HashMap\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the text into numerical vectors that Pinecone can index\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" embeddingsList \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" inputs\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getData\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"private\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"static\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Float\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"convertBigDecimalToFloat\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"BigDecimal\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" bigDecimalValues\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" bigDecimalValues\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"stream\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"BigDecimal\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"::\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"floatValue\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"collect\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collectors\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"toList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"private\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"private\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DataObject\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"this\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"this\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"getId\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"public\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"getText\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"package\"\n }), \" main\"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Import the required packages\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"context\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \\t\", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"encoding/json\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"fmt\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"log\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"github.com/pinecone-io/go-pinecone/pinecone\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"type\"\n }), \" Data \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"struct\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" ID \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"type\"\n }), \" Query \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"struct\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"\\tText \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"func\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"obj \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"interface\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" bytes\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"_\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" json\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"MarshalIndent\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"obj\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\" \\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"return\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"string\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"bytes\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"func\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"main\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" ctx \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" context\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Background\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"NewClient\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"NewClientParams\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" ApiKey\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create Client: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define a sample dataset where each item has a unique ID and piece of text\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Specify the embedding model and parameters\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" embeddingModel \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" docParameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the text into numerical vectors that Pinecone can index\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n }), \" documents \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"_\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" d \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"range\"\n }), \" data \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" documents \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"append\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"documents\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" docEmbeddingsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TextInputs\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" documents\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" docParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to embed documents: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"docEmbeddingsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"using\"\n }), \" \", _jsx(_components.span, {\n className: \"token namespace\",\n children: \"Pinecone\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"using\"\n }), \" \", _jsx(_components.span, {\n className: \"token namespace\",\n children: \"System\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"using\"\n }), \" \", _jsxs(_components.span, {\n className: \"token namespace\",\n children: [\"System\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Collections\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Generic\"]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Initialize a Pinecone client with your API key\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" pinecone \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"PineconeClient\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare input sentences to be embedded\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" data \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Specify the embedding model and parameters\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" embeddingModel \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Generate embeddings for the input data\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" embeddings \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"EmbedAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Inputs \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"item \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"EmbedRequestInputsItem\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" item\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequestParameters\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"Console\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"WriteLine\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" https://api.pinecone.io/embed \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Content-Type: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"parameters\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"passage\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"inputs\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The returned object looks like this:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"EmbeddingsList\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'multilingual-e5-large'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" usage\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'total_tokens'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: _jsx(_components.span, {\n className: \"token maybe-class-name\",\n children: \"EmbeddingsList\"\n })\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"1\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token spread operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token spread operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"model\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'multilingual-e5-large'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"data\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Array\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"usage\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"totalTokens\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"EmbeddingsList\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" multilingual\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"e5\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"large\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" data\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" additionalProperties\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" usage\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"EmbeddingsListUsage\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" totalTokens\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" additionalProperties\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" additionalProperties\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"data\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.03942871\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.010177612\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.046051025\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"...\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"total_tokens\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"data\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04913330078125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01306915283203125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.01116180419921875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token range operator\",\n children: \"..\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token range operator\",\n children: \"..\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"total_tokens\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-json\",\n children: _jsxs(_components.code, {\n className: \"language-json\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"data\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"-0.01313018798828125\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"-0.0112762451171875\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: \" ...\"\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: \" ...\"\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"total_tokens\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"130\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"4-create-an-index\",\n children: \"4. Create an index\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"In Pinecone, you store data in an \", _jsx(_components.a, {\n href: \"/guides/indexes/understanding-indexes\",\n children: \"index\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.a, {\n href: \"/guides/indexes/create-an-index\",\n children: \"Create a serverless index\"\n }), \" that matches the dimension (\", _jsx(_components.code, {\n children: \"1024\"\n }), \") and similarity metric (\", _jsx(_components.code, {\n children: \"cosine\"\n }), \") of the \", _jsx(_components.code, {\n children: \"multilingual-e5-large\"\n }), \" model you used in the previous step, and choose a \", _jsx(_components.a, {\n href: \"/guides/indexes/understanding-indexes#cloud-regions\",\n children: \"cloud and region\"\n }), \" for hosting the index:\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"index_name \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"not\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"has_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"create_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" name\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" dimension\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metric\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cosine\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" spec\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"ServerlessSpec\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" cloud\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'aws'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" region\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'us-east-1'\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Wait for the index to be ready\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"while\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"not\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"describe_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"status\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'ready'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" time\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"sleep\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"1\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-js\",\n children: _jsxs(_components.code, {\n className: \"language-js\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"createIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"name\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"dimension\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metric\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'cosine'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"spec\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"serverless\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"cloud\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'aws'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"region\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'us-east-1'\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" \"]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index \"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), \" indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"createServerlessIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cosine\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"aws\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"DeletionProtection\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token constant\",\n children: \"DISABLED\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"idx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"CreateServerlessIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"CreateServerlessIndexRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Dimension\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metric\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Cosine\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Cloud\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Aws\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Region\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create serverless index: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Successfully created serverless index: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" idx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Create a serverless index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" createIndexRequest \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"CreateIndexAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" CreateIndexRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Name \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Dimension \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metric \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" CreateIndexRequestMetric\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Cosine\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Spec \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" ServerlessIndexSpec\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Serverless \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" ServerlessSpec\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Cloud \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" ServerlessSpecCloud\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Aws\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Region \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" DeletionProtection \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" DeletionProtection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Disabled\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-s\"\n }), \" https://api.pinecone.io/indexes \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Accept: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Content-Type: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"name\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metric\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cosine\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"spec\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"serverless\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"cloud\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"aws\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"region\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"us-east-1\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"5-upsert-vectors\",\n children: \"5. Upsert vectors\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Target your index and use the \", _jsx(_components.a, {\n href: \"/guides/data/upsert-data\",\n children: _jsx(_components.code, {\n children: \"upsert\"\n })\n }), \" operation to load your vector embeddings into a new namespace. \", _jsx(_components.a, {\n href: \"/guides/get-started/key-features#namespaces\",\n children: \"Namespaces\"\n }), \" let you partition records within an index and are essential for \", _jsx(_components.a, {\n href: \"/guides/get-started/implement-multitenancy\",\n children: \"implementing multitenancy\"\n }), \" when you need to isolate the data of each customer/user.\"]\n }), \"\\n\", _jsx(Note, {\n children: _jsxs(_components.p, {\n children: [\"In production, \", _jsx(_components.a, {\n href: \"/guides/data/target-an-index\",\n children: \"target an index by its unique DNS host\"\n }), \", not by its name.\"]\n })\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" e \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"in\"\n }), \" \", _jsx(_components.span, {\n className: \"token builtin\",\n children: \"zip\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"append\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" e\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Upsert the records into the index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"upsert\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" vectors\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"index\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-index'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsxs(_components.span, {\n className: \"token parameter\",\n children: [\"d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" i\"]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token arrow operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"text\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" d\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"text\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Upsert the vectors into the index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"namespace\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"upsert\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"Index\"\n }), \" index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getIndexConnection\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare and upsert the records into the index\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"int\"\n }), \" i\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" i\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u003c\"\n }), \"data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"size\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" i\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"++\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"upsert\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"get\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getId\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"convertBigDecimalToFloat\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddingsList\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"get\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getValues\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store the vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"indexName \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"idxModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DescribeIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to describe index \\\\\\\"%v\\\\\\\": %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"idxConnection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Index\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"NewIndexConnParams\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"Host\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" idxModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Host\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" Namespace\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create IndexConnection for Host %v: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" idxModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Host\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n }), \" records \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Vector\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"for\"\n }), \" i \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"range\"\n }), \" data \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadataMap \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"map\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"interface\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" structpb\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"NewStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"metadataMap\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to create metadata map. Error: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" embedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"docEmbeddingsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"append\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Vector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"i\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"ID\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" metadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Upsert the records into the index\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"count\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" idxConnection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"UpsertVectors\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to upsert vectors: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Successfully upserted %d vector(s)!\\\\n\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" count\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Target the index where you'll store these vector embeddings\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" index \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Index\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-index\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Prepare the records for upsert\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Each contains an 'id', the embedding 'values', and the original text as 'metadata'\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" embeddedData \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddings\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsxs(_components.span, {\n className: \"token class-name\",\n children: [\"List\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), \"Vector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" records \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddedData\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" embeddingIndex\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" Vector\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Id \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"embeddingIndex\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Id\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// embedding.Values is a list of doubles, but Vector.Values must be a ReadOnlyMemory\u003cfloat\u003e\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Values \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsxs(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: [\"ReadOnlyMemory\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"float\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"?.\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"Convert\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"ToSingle\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToArray\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Metadata \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" Metadata\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"embeddingIndex\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" upsertResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"UpsertAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" UpsertRequest\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Vectors \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" records\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Namespace \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# The `POST` requests below uses the unique endpoint for an index.\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# See https://docs.pinecone.io/guides/data/target-an-index for details.\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"INDEX_HOST\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"INDEX_HOST\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-X\"\n }), \" POST \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"https://\", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$INDEX_HOST\"\n }), \"/vectors/upsert\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Content-Type: application/json'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vectors\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec1\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0.04925537109375\"\n }), \", \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0029296875\"\n }), \", \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple is a popular fruit known for its sweetness and crisp texture.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec3\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Many people enjoy eating apples as a healthy snack.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec5\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"An apple a day keeps the doctor away, as the saying goes.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), \", \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"..\"\n }), \".\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Tip, {\n children: _jsxs(_components.p, {\n children: [\"To load large amounts of data, \", _jsx(_components.a, {\n href: \"/guides/data/understanding-imports\",\n children: \"import from object storage\"\n }), \" or \", _jsx(_components.a, {\n href: \"/guides/data/upsert-data#upsert-records-in-batches\",\n children: \"upsert in large batches\"\n }), \".\"]\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Pinecone is eventually consistent, so there can be a delay before your upserted records are available to query. Use the \", _jsx(_components.a, {\n href: \"/guides/data/data-freshness/check-data-freshness\",\n children: _jsx(_components.code, {\n children: \"describe_index_stats\"\n })\n }), \" operation to check if the current vector count matches the number of vectors you upserted (6):\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"time\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"sleep\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"10\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Wait for the upserted vectors to be indexed\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"print\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"describe_index_stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" stats \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"describeIndexStats\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token console class-name\",\n children: \"console\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"log\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"Thread\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"sleep\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"10000\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n }), \" \", _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Wait for the upserted vectors to be indexed\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"DescribeIndexStatsResponse\"\n }), \" indexStatsResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"describeIndexStats\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"System\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"out\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"println\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexStatsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" idxConnection1\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DescribeIndexStats\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to describe index \\\\\\\"%v\\\\\\\": %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" idx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"%+v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), \"stats\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" indexStatsResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DescribeIndexStatsAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"DescribeIndexStatsRequest\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"Console\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"WriteLine\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexStatsResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# The `POST` request below uses the unique endpoint for an index.\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# See https://docs.pinecone.io/guides/data/target-an-index for details.\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"INDEX_HOST\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"INDEX_HOST\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-X\"\n }), \" POST \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"https://\", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$INDEX_HOST\"\n }), \"/describe_index_stats\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The response looks like this:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'dimension'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'index_fullness'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'namespaces'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'vector_count'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'total_vector_count'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"namespaces\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" example\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"-\"\n }), \"namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"recordCount\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"dimension\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"indexFullness\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.00008\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"totalRecordCount\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"namespaces \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" vector_count\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"dimension\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"total_vector_count\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"index_fullness\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"total_vector_count\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespaces\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector_count\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespaces\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"indexFullness\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"totalVectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-json\",\n children: _jsxs(_components.code, {\n className: \"language-json\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"namespaces\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"vectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"dimension\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"1024\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"indexFullness\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.00008\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"totalVectorCount\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"6-search-the-index\",\n children: \"6. Search the index\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"With data in your index, let’s say you now want to search for information about “Apple” the tech company, not “apple” the fruit.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Use the the \", _jsx(_components.code, {\n children: \"multilingual-e5-large\"\n }), \" model to convert your query into a vector embedding, and then use the \", _jsx(_components.a, {\n href: \"/guides/data/query-data\",\n children: _jsx(_components.code, {\n children: \"query\"\n })\n }), \" operation to search for the three vectors in the index that are most semantically similar to the query vector:\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"query_embedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"embed\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" inputs\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" parameters\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"results \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" vector\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \"query_embedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" top_k\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" include_values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token boolean\",\n children: \"False\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" include_metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token boolean\",\n children: \"True\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"print\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"results\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Tell me about the tech company known as Apple.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" queryEmbedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"inference\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"inputType\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'query'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"const\"\n }), \" queryResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"namespace\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"query\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"topK\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"vector\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token property-access\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"includeValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"includeMetadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token console class-name\",\n children: \"console\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"log\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Collections\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"singletonList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"Map\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"String\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" queryParameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"HashMap\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"put\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"List\"\n }), _jsxs(_components.span, {\n className: \"token generics\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"Embedding\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), \" queryVector \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getData\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"QueryResponseWithUnsignedIndices\"\n }), \" queryResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"query\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token function\",\n children: \"convertBigDecimalToFloat\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryVector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"get\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"getValues\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"null\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: \"System\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"out\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"println\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Define your query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \"Query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Convert the query into a numerical vector that Pinecone can search with\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryParameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Embed\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"EmbedRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TextInputs\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token builtin\",\n children: \"string\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \"query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" queryParameters\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to embed query: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryVector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"res\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \":=\"\n }), \" idxConnection\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"QueryByVectorValues\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"\u0026\"\n }), \"pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"QueryByVectorValuesRequest\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Vector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"*\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TopK\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeValues\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeMetadata\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Error encountered when querying by vector: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Printf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"prettifyStruct\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"res\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" query \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Generate embedding for the query\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" queryEmbedding \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Inference\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"EmbedAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Model \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" embeddingModel\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Inputs \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" query\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"item \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\u003e\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsx(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: \"EmbedRequestInputsItem\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" Text \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" item\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Text \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Parameters \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" EmbedRequestParameters\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" InputType \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Truncate \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" queryVector \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" queryEmbedding\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Data\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToList\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Search the index for the three most similar vectors\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token class-name\",\n children: _jsx(_components.span, {\n className: \"token keyword\",\n children: \"var\"\n })\n }), \" queryResponse \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"QueryAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" QueryRequest\"]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Vector \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"new\"\n }), \" \", _jsxs(_components.span, {\n className: \"token constructor-invocation class-name\",\n children: [\"ReadOnlyMemory\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003c\"\n }), _jsx(_components.span, {\n className: \"token keyword\",\n children: \"float\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\u003e\"\n })]\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryVector\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token number\",\n children: \"0\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"Values\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"?.\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Select\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"Convert\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"ToSingle\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"ToArray\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" Namespace \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" TopK \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeValues \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"false\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" IncludeMetadata \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"Console\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"WriteLine\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"queryResponse\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" https://api.pinecone.io/embed \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Content-Type: application/json'\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"model\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"multilingual-e5-large\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"parameters\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"input_type\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"query\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"truncate\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"END\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"inputs\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Tell me about the tech company known as Apple.\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\", \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# The `POST` request below uses the unique endpoint for an index.\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"# See https://docs.pinecone.io/guides/data/target-an-index for details.\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"INDEX_HOST\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"INDEX_HOST\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"https://\", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$INDEX_HOST\"\n }), \"/query\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Content-Type: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-d\"\n }), \" '\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), \"EMBEDDING\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"topK\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"3\"\n }), \",\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"includeValues\\\"\"\n }), _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \"'\"]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Notice that the response includes only sentences about the tech company, not the fruit:\"\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'matches'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec2'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'metadata'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'The tech company Apple is known for its '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'innovative products like the iPhone.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'score'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'sparse_values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'indices'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec4'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'metadata'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Inc. has revolutionized the tech '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'industry with its sleek designs and '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'user-friendly interfaces.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'score'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'sparse_values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'indices'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'id'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec6'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'metadata'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'text'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Apple Computer Company was founded on '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'April 1, 1976, by Steve Jobs, Steve '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'Wozniak, and Ronald Wayne as a '\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'partnership.'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'score'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'sparse_values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'indices'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'values'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'usage'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'read_units'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"matches\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec2'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"score\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"sparseValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword nil\",\n children: \"undefined\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec4'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"score\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.852609873\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"sparseValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword nil\",\n children: \"undefined\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"id\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'vec6'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"score\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.84997189\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"values\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"sparseValues\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword nil\",\n children: \"undefined\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"metadata\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token known-class-name class-name\",\n children: \"Object\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"namespace\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"'example-namespace'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"usage\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), \" \", _jsx(_components.span, {\n className: \"token literal-property property\",\n children: \"readUnits\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"class\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"QueryResponseWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" matches\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ScoredVectorWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" score\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" id\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" vec2\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" fields \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" string_value\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \" \", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" sparseValuesWithUnsignedIndices\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"SparseValuesWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" indicesWithUnsigned32Int\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ScoredVectorWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" score\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" id\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" vec4\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" fields \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" string_value\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \" \", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" sparseValuesWithUnsignedIndices\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"SparseValuesWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" indicesWithUnsigned32Int\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token class-name\",\n children: \"ScoredVectorWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" score\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" id\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" vec6\"]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" metadata\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" fields \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" key\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" value \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" string_value\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", \" \", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" sparseValuesWithUnsignedIndices\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token class-name\",\n children: \"SparseValuesWithUnsignedIndices\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" indicesWithUnsigned32Int\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" values\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" namespace\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" usage\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" read_units\", _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"matches\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vector\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"read_units\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"results\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"matches\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.87314725\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8537178\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.84990895\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"values\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"readUnits\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-json\",\n children: _jsxs(_components.code, {\n className: \"language-json\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"matches\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"[\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec2\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8727808\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"The tech company Apple is known for its innovative products like the iPhone.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec4\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8526099\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"id\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"vec6\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"score\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"0.8499719\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"metadata\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Apple Computer Company was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne as a partnership.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"]\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"example-namespace\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"usage\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n }), _jsx(_components.span, {\n className: \"token property\",\n children: \"\\\"read_units\\\"\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \":\"\n }), \" \", _jsx(_components.span, {\n className: \"token number\",\n children: \"6\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"7-clean-up\",\n children: \"7. Clean up\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"When you no longer need the \", _jsx(_components.code, {\n children: \"example-index\"\n }), \", use the \", _jsx(_components.a, {\n href: \"/guides/indexes/delete-an-index\",\n children: _jsx(_components.code, {\n children: \"delete_index\"\n })\n }), \" operation to delete it:\"]\n }), \"\\n\", _jsxs(CodeGroup, {\n children: [_jsx(CodeBlock, {\n filename: \"Python\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [\"pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"delete_index\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"index_name\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"JavaScript\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-javascript\",\n children: _jsxs(_components.code, {\n className: \"language-javascript\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword control-flow\",\n children: \"await\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token method function property-access\",\n children: \"deleteIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Java\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-java\",\n children: _jsxs(_components.code, {\n className: \"language-java\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"deleteIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"Go\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-go\",\n children: _jsxs(_components.code, {\n className: \"language-go\",\n children: [_jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token comment\",\n children: \"// Add to the main function:\"\n })\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\"err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), \" pc\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DeleteIndex\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"ctx\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"if\"\n }), \" err \", _jsx(_components.span, {\n className: \"token operator\",\n children: \"!=\"\n }), \" \", _jsx(_components.span, {\n className: \"token boolean\",\n children: \"nil\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" log\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Fatalf\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Failed to delete index: %v\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" err\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n }), \" \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"else\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"{\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" fmt\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"Println\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Index \\\\\\\"%v\\\\\\\" deleted successfully\\\"\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \",\"\n }), \" indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"\",\n children: _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"C#\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-csharp\",\n children: _jsxs(_components.code, {\n className: \"language-csharp\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"await\"\n }), \" pinecone\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), _jsx(_components.span, {\n className: \"token function\",\n children: \"DeleteIndexAsync\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), \"indexName\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \";\"\n })]\n }), \"\\n\"]\n })\n })\n }), _jsx(CodeBlock, {\n filename: \"curl\",\n expandable: \"false\",\n children: _jsx(_components.pre, {\n className: \"language-shell\",\n children: _jsxs(_components.code, {\n className: \"language-shell\",\n children: [_jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token assign-left variable\",\n children: \"PINECONE_API_KEY\"\n }), _jsx(_components.span, {\n className: \"token operator\",\n children: \"=\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"YOUR_API_KEY\\\"\"\n })]\n }), \"\\n\", \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"curl\"\n }), \" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-X\"\n }), \" DELETE \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"https://api.pinecone.io/indexes/example-index\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"Accept: application/json\\\"\"\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsxs(_components.span, {\n className: \"token string\",\n children: [\"\\\"Api-Key: \", _jsx(_components.span, {\n className: \"token variable\",\n children: \"$PINECONE_API_KEY\"\n }), \"\\\"\"]\n }), \" \", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"\\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"\",\n children: [\" \", _jsx(_components.span, {\n className: \"token parameter variable\",\n children: \"-H\"\n }), \" \", _jsx(_components.span, {\n className: \"token string\",\n children: \"\\\"X-Pinecone-API-Version: 2024-10\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n })]\n }), \"\\n\", _jsx(Tip, {\n children: _jsxs(_components.p, {\n children: [\"For production indexes, consider \", _jsx(_components.a, {\n href: \"/guides/indexes/prevent-index-deletion\",\n children: \"enabling deletion protection\"\n }), \".\"]\n })\n }), \"\\n\", _jsx(Heading, {\n level: \"2\",\n id: \"next-steps\",\n children: \"Next steps\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [\"Learn about \", _jsx(_components.a, {\n href: \"/guides/get-started/key-features\",\n children: \"key features\"\n }), \" to keep in mind as you start building with Pinecone.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [\"Check out \", _jsx(_components.a, {\n href: \"/guides/get-started/build-a-rag-chatbot\",\n children: \"tutorials and sample apps\"\n }), \" for different use cases.\"]\n }), \"\\n\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{"mintConfig":{"$schema":"https://mintlify.com/schema.json","name":"Pinecone Docs","logo":"https://mintlify.s3.us-west-1.amazonaws.com/pinecone-2/logo/light.svg","favicon":"/favicon-512.png","openapi":["openapi/control_2024-10.yaml","openapi/control_2024-07.yaml","openapi/control_2024-04.yaml","openapi/data_2024-10.yaml","openapi/data_2024-07.yaml","openapi/data_2024-04.yaml","openapi/inference_2024-10.yaml","openapi/assistant-data_unstable.yaml","openapi/assistant-control_unstable.yaml","openapi/assistant-data_evaluation_unstable.yaml","openapi/control_unstable.yaml","openapi/data_unstable.yaml"],"api":{"playground":{"mode":"simple"}},"modeToggle":{"default":"light","isHidden":true},"versions":[{"name":"2024-10 (latest)","default":true},{"name":"2024-07"},{"name":"2024-04"}],"metadata":{"og:image":"https://www.pinecone.io/images/docs_og_image.png","twitter:title":"The vector database to build knowledgeable AI | Pinecone","twitter:description":"Search through billions of items for similar matches to any object, in milliseconds. It's the next generation of search, an API call away.","twitter:site":"@pinecone","twitter:image":"https://www.pinecone.io/images/docs_og_image.png"},"colors":{"primary":"#1C17FF","light":"#504CFF","dark":"#1C17FF","background":{"light":"#FBFBFC"}},"topbarCtaButton":{"name":"Sign up free","url":"https://app.pinecone.io/?sessionType=signup"},"topbarLinks":[{"url":"https://status.pinecone.io","name":"Status","_id":"674603e09671c4d550ba39e1"},{"url":"https://app.pinecone.io/organizations/-/settings/support","name":"Support","_id":"674603e09671c4d550ba39e2"},{"url":"https://app.pinecone.io/?sessionType=login","name":"Log In","_id":"674603e09671c4d550ba39e3"}],"navigation":[{"group":"Get started","pages":["guides/get-started/overview","guides/get-started/quickstart","guides/get-started/assistant-quickstart","guides/get-started/key-features",{"group":"Tutorials","pages":["guides/get-started/build-a-rag-chatbot","guides/get-started/implement-multitenancy","guides/get-started/semantic-search","guides/get-started/image-search","guides/get-started/multimodal-search","guides/get-started/recommender","guides/get-started/threat-detection","guides/get-started/examples"]},"guides/get-started/glossary"]},{"group":"Indexes","pages":["guides/indexes/understanding-indexes","guides/indexes/create-an-index","guides/indexes/migrate-a-pod-based-index-to-serverless","guides/indexes/view-index-information",{"group":"Back up and restore","pages":["guides/indexes/understanding-backups-and-collections","guides/indexes/back-up-an-index","guides/indexes/restore-an-index"]},"guides/indexes/delete-an-index","guides/indexes/prevent-index-deletion","guides/indexes/tag-an-index","guides/indexes/use-namespaces","guides/indexes/configure-an-index","guides/indexes/choose-a-pod-type-and-size","guides/indexes/scale-pod-based-indexes"]},{"group":"Data","pages":["guides/data/upsert-data","guides/data/query-data","guides/data/fetch-data","guides/data/update-data","guides/data/delete-data",{"group":"Import data","pages":["guides/data/understanding-imports","guides/data/import-data"]},"guides/data/list-record-ids","guides/data/target-an-index","guides/data/understanding-metadata","guides/data/manage-rag-documents",{"group":"Data freshness","pages":["guides/data/data-freshness/understanding-data-freshness","guides/data/data-freshness/check-data-freshness"]},{"group":"Hybrid search and sparse vectors","pages":["guides/data/understanding-hybrid-search","guides/data/encode-sparse-vectors","guides/data/upsert-sparse-dense-vectors","guides/data/query-sparse-dense-vectors"]}]},{"group":"Inference","pages":["guides/inference/understanding-inference","guides/inference/generate-embeddings","guides/inference/rerank"]},{"group":"Assistant","pages":["guides/assistant/understanding-assistant","guides/assistant/create-assistant","guides/assistant/upload-file","guides/assistant/chat-with-assistant","guides/assistant/manage-assistants","guides/assistant/manage-files",{"group":"Evaluate answers","pages":["guides/assistant/understanding-evaluation","guides/assistant/evaluate-answers"]},{"group":"Retrieve context snippets","pages":["guides/assistant/understanding-context-snippets","guides/assistant/retrieve-context-snippets"]}]},{"group":"Operations","pages":["guides/operations/local-development","guides/operations/automated-testing","guides/operations/move-to-production","guides/operations/performance-tuning",{"group":"Security","pages":["guides/operations/understanding-security","guides/organizations/configure-single-sign-on/okta","guides/operations/configure-cmek","guides/operations/connect-to-aws-privatelink"]},{"group":"Integrate with cloud storage","pages":["guides/operations/integrations/manage-storage-integrations","guides/operations/integrations/integrate-with-amazon-s3"]},"guides/operations/monitoring"]},{"group":"Organizations","pages":["guides/organizations/understanding-organizations",{"group":"Manage billing","pages":["guides/organizations/manage-billing/changing-your-billing-plan","guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace","guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace","guides/organizations/manage-billing/understanding-subscription-status"]},{"group":"Manage cost","pages":["guides/organizations/manage-cost/understanding-cost","guides/organizations/manage-cost/monitor-your-usage","guides/organizations/manage-cost/manage-cost"]},"guides/organizations/manage-organization-members"]},{"group":"Projects","pages":["guides/projects/understanding-projects","guides/projects/create-a-project","guides/projects/manage-api-keys","guides/projects/manage-project-members","guides/projects/rename-a-project"]},{"group":"APIs","pages":["reference/api/introduction","reference/api/authentication","reference/api/errors","reference/api/versioning"]},{"group":"Database","version":"2024-10 (latest)","pages":[{"group":"Indexes","pages":["reference/api/2024-10/control-plane/list_indexes","reference/api/2024-10/control-plane/create_index","reference/api/2024-10/control-plane/describe_index","reference/api/2024-10/control-plane/delete_index","reference/api/2024-10/control-plane/configure_index","reference/api/2024-10/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-10/data-plane/upsert","reference/api/2024-10/data-plane/query","reference/api/2024-10/data-plane/fetch","reference/api/2024-10/data-plane/update","reference/api/2024-10/data-plane/delete","reference/api/2024-10/data-plane/list"]},{"group":"Imports","pages":["reference/api/2024-10/data-plane/start_import","reference/api/2024-10/data-plane/list_imports","reference/api/2024-10/data-plane/describe_import","reference/api/2024-10/data-plane/cancel_import"]},{"group":"Backups","pages":["reference/api/2024-07/control-plane/list_collections","reference/api/2024-07/control-plane/create_collection","reference/api/2024-07/control-plane/describe_collection","reference/api/2024-07/control-plane/delete_collection"]}]},{"group":"Database","version":"2024-07","pages":[{"group":"Indexes","pages":["reference/api/2024-10/control-plane/list_indexes","reference/api/2024-10/control-plane/create_index","reference/api/2024-10/control-plane/describe_index","reference/api/2024-10/control-plane/delete_index","reference/api/2024-10/control-plane/configure_index","reference/api/2024-10/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-07/data-plane/upsert","reference/api/2024-07/data-plane/query","reference/api/2024-07/data-plane/fetch","reference/api/2024-07/data-plane/update","reference/api/2024-07/data-plane/delete","reference/api/2024-07/data-plane/list"]},{"group":"Backups","pages":["reference/api/2024-07/control-plane/list_collections","reference/api/2024-07/control-plane/create_collection","reference/api/2024-07/control-plane/describe_collection","reference/api/2024-07/control-plane/delete_collection"]}]},{"group":"Database","version":"2024-04","pages":[{"group":"Indexes","pages":["reference/api/2024-04/control-plane/list_indexes","reference/api/2024-04/control-plane/create_index","reference/api/2024-04/control-plane/describe_index","reference/api/2024-04/control-plane/delete_index","reference/api/2024-04/control-plane/configure_index","reference/api/2024-04/data-plane/describeindexstats"]},{"group":"Vectors","pages":["reference/api/2024-04/data-plane/upsert","reference/api/2024-04/data-plane/query","reference/api/2024-04/data-plane/fetch","reference/api/2024-04/data-plane/update","reference/api/2024-04/data-plane/delete","reference/api/2024-04/data-plane/list"]},{"group":"Backups","pages":["reference/api/2024-04/control-plane/list_collections","reference/api/2024-04/control-plane/create_collection","reference/api/2024-04/control-plane/describe_collection","reference/api/2024-04/control-plane/delete_collection"]}]},{"group":"Inference","version":"2024-10 (latest)","pages":[{"group":"Embed","pages":["reference/api/2024-10/inference/generate-embeddings"]},{"group":"Rerank","pages":["reference/api/2024-10/inference/rerank"]}]},{"group":"Inference","version":"2024-07","pages":[{"group":"Embed","pages":["reference/api/2024-10/inference/generate-embeddings"]}]},{"group":"Assistant","pages":[{"group":"Assistants","pages":["reference/api/assistant/list_assistants","reference/api/assistant/create_assistant","reference/api/assistant/get_assistant","reference/api/assistant/update_assistant","reference/api/assistant/delete_assistant"]},{"group":"Files","pages":["reference/api/assistant/list_files","reference/api/assistant/create_file","reference/api/assistant/describe_file","reference/api/assistant/delete_file"]},{"group":"Chat","pages":["reference/api/assistant/chat_assistant","reference/api/assistant/chat_completion_assistant"]},{"group":"Evaluation","pages":["reference/api/assistant/metrics_alignment"]},{"group":"Context snippets","pages":["reference/api/assistant/context_assistant"]}]},{"group":"SDKs","pages":["reference/pinecone-sdks","reference/python-sdk","reference/node-sdk","reference/java-sdk","reference/go-sdk","reference/dotnet-sdk","reference/rust-sdk"]},{"group":"Tools","pages":["reference/tools/pinecone-text-client","reference/tools/pinecone-spark-connector"]},{"group":"Architecture","pages":["reference/architecture/serverless-architecture","reference/architecture/pod-based-architecture"]},{"group":"Miscellaneous","pages":["reference/object-identifiers","reference/quotas-and-limits","reference/known-limitations"]},{"group":"Examples","pages":["examples/notebooks","examples/sample-apps","examples/reference-architectures"]},{"group":"Models","pages":["models/overview"]},{"group":"","pages":["integrations/overview"]},{"group":"Connect an integration","pages":[{"group":"Data sources","pages":["integrations/airbyte","integrations/apify","integrations/aryn","integrations/confluent","integrations/databricks","integrations/datavolo","integrations/elasticsearch","integrations/estuary","integrations/fleak","integrations/flowise","integrations/gathr","integrations/matillion","integrations/nexla","integrations/redpanda","integrations/snowflake","integrations/streamnative","integrations/unstructured"]},{"group":"Frameworks","pages":["integrations/amazon-bedrock","integrations/amazon-sagemaker","integrations/context-data","integrations/haystack","integrations/instill","integrations/langchain","integrations/llamaindex","integrations/nuclia","integrations/octoai"]},{"group":"Infrastructure","pages":["integrations/aws","integrations/azure","integrations/gcp","integrations/github-copilot","integrations/pulumi","integrations/terraform","integrations/vercel"]},{"group":"Models","pages":["integrations/anyscale","integrations/cohere","integrations/voyage","integrations/hugging-face-inference-endpoints","integrations/jina","integrations/openai","integrations/twelve-labs"]},{"group":"Observability","pages":["integrations/datadog","integrations/langtrace","integrations/new-relic","integrations/traceloop","integrations/trulens"]}]},{"group":"Build an integration","pages":["integrations/build-integration/become-a-partner","integrations/build-integration/attribute-usage-to-your-integration","integrations/build-integration/connect-your-users-to-pinecone"]},{"group":"","pages":["troubleshooting/contact-support","troubleshooting/how-to-work-with-support","troubleshooting/pinecone-support-slas"]},{"group":"Account management","pages":["troubleshooting/login-code-issues","troubleshooting/custom-data-processing-agreements","troubleshooting/delete-your-organization","troubleshooting/delete-your-account","troubleshooting/billing-disputes-and-refunds"]},{"group":"Indexes","pages":["troubleshooting/available-cloud-regions","troubleshooting/export-indexes","troubleshooting/wait-for-index-creation","troubleshooting/select-index-type-and-size","troubleshooting/how-and-when-to-increase-index-size","troubleshooting/use-namespaces-instead-of-several-indexes","troubleshooting/namespaces-vs-metadata-filtering","troubleshooting/restrictions-on-index-names","troubleshooting/return-all-vectors-in-an-index","troubleshooting/vertically-downscaling","troubleshooting/delete-a-namespace","troubleshooting/pods-are-full"]},{"group":"Data","pages":["troubleshooting/parallel-queries","troubleshooting/minimize-latencies","troubleshooting/embedding-values-changed-when-upserted","troubleshooting/how-and-when-to-add-replicas","troubleshooting/keep-customer-data-separate","troubleshooting/limitations-of-querying-by-id","troubleshooting/create-and-manage-vectors-with-metadata","troubleshooting/handle-deletes-by-metadata","troubleshooting/metadata-reconfiguration","troubleshooting/metadata-string-value-returned-as-datetime","troubleshooting/remove-metadata-field"]},{"group":"Common errors","pages":["troubleshooting/index-creation-error-missing-spec","troubleshooting/index-creation-error-max-serverless","troubleshooting/serverless-index-connection-errors","troubleshooting/error-handshake-read-failed","troubleshooting/pinecone-attribute-errors-with-langchain","troubleshooting/error-cannot-import-name-pinecone","troubleshooting/module-pinecone-has-no-attribute-init"]},{"group":"Miscellaneous","pages":["troubleshooting/best-practices","troubleshooting/differences-between-lexical-semantic-search","troubleshooting/nodejs-troubleshooting","troubleshooting/cors-issues","troubleshooting/debug-model-vs-pinecone-recall-issues","troubleshooting/non-indexed-field-filter-issues","troubleshooting/unable-to-pip-install"]},{"group":"Release notes","pages":["release-notes/2024","release-notes/2023","release-notes/2022"]},{"group":"Policies","pages":["release-notes/feature-availability"]}],"primaryTab":{"name":"Home"},"tabs":[{"name":"Guides","url":"guides","_id":"674603e09671c4d550ba39da"},{"name":"Reference","url":"reference","_id":"674603e09671c4d550ba39db"},{"name":"Examples","url":"examples","_id":"674603e09671c4d550ba39dc"},{"name":"Models","url":"models","_id":"674603e09671c4d550ba39dd"},{"name":"Integrations","url":"integrations","_id":"674603e09671c4d550ba39de"},{"name":"Troubleshooting","url":"troubleshooting","_id":"674603e09671c4d550ba39df"},{"name":"Releases","url":"release-notes","_id":"674603e09671c4d550ba39e0"}],"feedback":{"thumbsRating":true},"analytics":{"gtm":{"tagId":"GTM-5RCSPVG"},"heap":{"appId":"3879495182"},"koala":{"publicApiKey":"pk_dedf7f497457f685cec291ae4d5002e828c1"}},"isWhiteLabeled":true,"redirects":[{"destination":"/guides/assistant/manage-files#delete-a-file","source":"/guides/assistant/delete-file","_id":"674603e09671c4d550ba38d4"},{"destination":"/guides/assistant/manage-files#get-the-status-of-a-file","source":"/guides/assistant/check-file-status","_id":"674603e09671c4d550ba38d5"},{"destination":"/guides/assistant/manage-files#list-files-in-an-assistant","source":"/guides/assistant/list-files","_id":"674603e09671c4d550ba38d6"},{"destination":"/guides/assistant/manage-assistants#update-an-existing-assistant","source":"/guides/assistant/update-an-assistant","_id":"674603e09671c4d550ba38d7"},{"destination":"/guides/assistant/manage-assistants#get-the-status-of-an-assistant","source":"/guides/assistant/check-assistant-status","_id":"674603e09671c4d550ba38d8"},{"destination":"/guides/assistant/manage-assistants#list-assistants-for-a-project","source":"/guides/assistant/list-assistants","_id":"674603e09671c4d550ba38d9"},{"destination":"/guides/assistant/manage-assistants#delete-an-assistant","source":"/guides/assistant/delete-assistant","_id":"674603e09671c4d550ba38da"},{"destination":"/guides/data/understanding-metadata","source":"/guides/data/filter-with-metadata","_id":"674603e09671c4d550ba38db"},{"destination":"/guides/operations/local-development","source":"/guides/operations/local-testing","_id":"674603e09671c4d550ba38dc"},{"destination":"/guides/data/target-an-index","source":"/guides/data/get-an-index-endpoint","_id":"674603e09671c4d550ba38dd"},{"destination":"/reference/api/assistant/*","source":"/reference/api/2024-04/assistant/*","_id":"674603e09671c4d550ba38de"},{"destination":"/reference/api/assistant/*","source":"/reference/api/2024-07/assistant/*","_id":"674603e09671c4d550ba38df"},{"destination":"/guides/get-started/implement-multitenancy","source":"/guides/indexes/implement-multitenancy","_id":"674603e09671c4d550ba38e0"},{"destination":"/reference/api/authentication","source":"/guides/get-started/authentication","_id":"674603e09671c4d550ba38e1"},{"destination":"/guides/get-started/glossary","source":"/guides/get-started/key-concepts","_id":"674603e09671c4d550ba38e2"},{"destination":"/reference/python-sdk#install-the-pinecone-assistant-python-plugin","source":"/guides/assistant/install-assistant-plugin","_id":"674603e09671c4d550ba38e3"},{"destination":"/guides/assistant/chat-with-assistant","source":"/guides/assistant/use-existing-assistant","_id":"674603e09671c4d550ba38e4"},{"destination":"/guides/operations/connect-to-aws-privatelink","source":"/guides/operations/enable-aws-privatelink","_id":"674603e09671c4d550ba38e5"},{"destination":"/guides/operations/understanding-security","source":"/reference/security","_id":"674603e09671c4d550ba38e6"},{"destination":"/guides/indexes/understanding-backups-and-collections","source":"/guides/indexes/understanding-collections","_id":"674603e09671c4d550ba38e7"},{"destination":"/reference/pinecone-sdks","source":"/reference/pinecone-clients","_id":"674603e09671c4d550ba38e8"},{"destination":"/reference/go-sdk","source":"/reference/go-client","_id":"674603e09671c4d550ba38e9"},{"destination":"/reference/python-sdk","source":"/reference/python-client","_id":"674603e09671c4d550ba38ea"},{"destination":"/reference/node-sdk","source":"/reference/node-client","_id":"674603e09671c4d550ba38eb"},{"destination":"/reference/java-sdk","source":"/reference/java-client","_id":"674603e09671c4d550ba38ec"},{"destination":"/release-notes/feature-availability","source":"/release-notes/api-lifecycle-policy","_id":"674603e09671c4d550ba38ed"},{"destination":"/guides/indexes/configure-an-index","source":"/guides/indexes/configure-pod-based-indexes","_id":"674603e09671c4d550ba38ee"},{"destination":"/guides/indexes/migrate-a-pod-based-index-to-serverless","source":"/guides/operations/migrate-to-the-new-api","_id":"674603e09671c4d550ba38ef"},{"destination":"/reference/api/2024-07/control-plane/*","source":"/reference/api/control-plane/*","_id":"674603e09671c4d550ba38f0"},{"destination":"/reference/api/2024-07/data-plane/*","source":"/reference/api/data-plane/*","_id":"674603e09671c4d550ba38f1"},{"destination":"/reference/api/2024-07/assistant/*","source":"/reference/api/assistant/*","_id":"674603e09671c4d550ba38f2"},{"destination":"/reference/api/2024-07/inference/*","source":"/reference/api/inference/*","_id":"674603e09671c4d550ba38f3"},{"destination":"/reference/*","source":"/legacy/reference/*","_id":"674603e09671c4d550ba38f4"},{"destination":"/examples/reference-architectures","source":"/tools/reference-architectures","_id":"674603e09671c4d550ba38f5"},{"destination":"/reference/tools/pinecone-datasets","source":"/tools/pinecone-utilities","_id":"674603e09671c4d550ba38f6"},{"destination":"/guides/inference/understanding-inference","source":"/guides/inference/understanding-inference-api","_id":"674603e09671c4d550ba38f7"},{"destination":"/guides/indexes/migrate-a-pod-based-index-to-serverless","source":"/guides/indexes/migrate-a-legacy-starter-index-to-serverless","_id":"674603e09671c4d550ba38f8"},{"destination":"/guides/data/understanding-metadata","source":"/docs/filter-with-metadata","_id":"674603e09671c4d550ba38f9"},{"destination":"/reference/pinecone-sdks#community-clients","source":"/reference/community-libraries","_id":"674603e09671c4d550ba38fa"},{"destination":"/integrations/build-integration/attribute-usage-to-your-integration","source":"/integrations/build-integration/register-your-integration","_id":"674603e09671c4d550ba38fb"},{"destination":"/integrations/build-integration/connect-your-users-to-pinecone","source":"/integrations/build-integration/connect-to-pinecone-with-embedded-widget","_id":"674603e09671c4d550ba38fc"},{"destination":"/examples/notebooks","source":"/guides/get-started/examples","_id":"674603e09671c4d550ba38fd"},{"destination":"/reference/quotas-and-limits","source":"/reference/quotas-and-rate-limits","_id":"674603e09671c4d550ba38fe"},{"destination":"/troubleshooting/wait-for-index-creation","source":"/troubleshooting/waiting-for-index-creation","_id":"674603e09671c4d550ba38ff"},{"destination":"/troubleshooting/namespaces-vs-metadata-filtering","source":"/troubleshooting/using-namespaces-vs-metadata-filtering","_id":"674603e09671c4d550ba3900"},{"destination":"/troubleshooting/use-namespaces-instead-of-several-indexes","source":"/troubleshooting/using-namespaces-instead-of-several-indexes","_id":"674603e09671c4d550ba3901"},{"destination":"/troubleshooting/pinecone-support-slas","source":"/troubleshooting/support-slas","_id":"674603e09671c4d550ba3902"},{"destination":"/troubleshooting/select-index-type-and-size.mdx","source":"/troubleshooting/selecting-index-type-and-size","_id":"674603e09671c4d550ba3903"},{"destination":"/troubleshooting/return-all-vectors-in-an-index","source":"/troubleshooting/returning-all-vectors-in-an-index","_id":"674603e09671c4d550ba3904"},{"destination":"/troubleshooting/remove-metadata-field","source":"/troubleshooting/removing-metadata-field","_id":"674603e09671c4d550ba3905"},{"destination":"/troubleshooting/limitations-of-querying-by-id","source":"/troubleshooting/querying-by-id","_id":"674603e09671c4d550ba3906"},{"destination":"/troubleshooting/keep-customer-data-separate","source":"/troubleshooting/keeping-customer-data-separate","_id":"674603e09671c4d550ba3907"},{"destination":"/troubleshooting/index-creation-error-missing-spec","source":"/troubleshooting/index-creation-error-spec","_id":"674603e09671c4d550ba3908"},{"destination":"/troubleshooting/how-and-when-to-increase-index-size","source":"/troubleshooting/increasing-index-size","_id":"674603e09671c4d550ba3909"},{"destination":"/troubleshooting/delete-your-account","source":"/troubleshooting/how-to-delete-account","_id":"674603e09671c4d550ba390a"},{"destination":"/troubleshooting/contact-support","source":"/troubleshooting/how-to-contact-support","_id":"674603e09671c4d550ba390b"},{"destination":"/troubleshooting/handle-deletes-by-metadata","source":"/troubleshooting/handling-deletes-by-metadata","_id":"674603e09671c4d550ba390c"},{"destination":"/troubleshooting/export-indexes","source":"/troubleshooting/exporting-indexes","_id":"674603e09671c4d550ba390d"},{"destination":"/troubleshooting/error-cannot-import-name-pinecone","source":"/troubleshooting/cannot-import-name-pinecone","_id":"674603e09671c4d550ba390e"},{"destination":"/troubleshooting/delete-a-namespace","source":"/troubleshooting/deleting-a-namespace","_id":"674603e09671c4d550ba390f"},{"destination":"/troubleshooting/debug-model-vs-pinecone-recall-issues","source":"/troubleshooting/debugging-recall-issues","_id":"674603e09671c4d550ba3910"},{"destination":"/troubleshooting/how-and-when-to-add-replicas","source":"/troubleshooting/adding-replicas","_id":"674603e09671c4d550ba3911"},{"destination":"/troubleshooting/create-and-manage-vectors-with-metadata","source":"/troubleshooting/creating-and-managing-vectors-with-metadata","_id":"674603e09671c4d550ba3912"},{"destination":"/guides/organizations/manage-cost/manage-cost","source":"/guides/organizations/manage-cost/managing-cost","_id":"674603e09671c4d550ba3913"},{"destination":"/guides/organizations/manage-cost/monitor-your-usage","source":"/guides/organizations/manage-cost/monitoring-your-usage","_id":"674603e09671c4d550ba3914"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/guides/data/using-public-pinecone-datasets","_id":"674603e09671c4d550ba3915"},{"destination":"/guides/data/create-and-load-private-datasets","source":"/guides/data/creating-and-loading-private-datasets","_id":"674603e09671c4d550ba3916"},{"destination":"/guides/operations/move-to-production","source":"/guides/operations/moving-to-production","_id":"674603e09671c4d550ba3917"},{"destination":"/guides/data/understanding-metadata","source":"/guides/data/filtering-with-metadata","_id":"674603e09671c4d550ba3918"},{"destination":"/guides/indexes/choose-a-pod-type-and-size","source":"/guides/indexes/choosing-a-pod-type-and-size","_id":"674603e09671c4d550ba3919"},{"destination":"/guides/indexes/use-namespaces","source":"/guides/indexes/using-namespaces","_id":"674603e09671c4d550ba391a"},{"destination":"/guides/get-started/quickstart","source":"/guides/getting-started/overview","_id":"674603e09671c4d550ba391b"},{"destination":"/guides/indexes/convert-a-gcp-starter-index-to-serverless","source":"/guides/indexes/convert-a-starter-index-to-serverless","_id":"674603e09671c4d550ba391c"},{"destination":"/guides/data/*","source":"/legacy/data/*","_id":"674603e09671c4d550ba391d"},{"destination":"/guides/get-started/quickstart","source":"/guides/getting-started/quickstart","_id":"674603e09671c4d550ba391e"},{"destination":"/guides/get-started/authentication","source":"/guides/getting-started/authentication","_id":"674603e09671c4d550ba391f"},{"destination":"/guides/get-started/quickstart","source":"/legacy/getting-started/quickstart","_id":"674603e09671c4d550ba3920"},{"destination":"/guides/get-started/authentication","source":"/legacy/getting-started/authentication","_id":"674603e09671c4d550ba3921"},{"destination":"/guides/indexes/*","source":"/legacy/indexes/*","_id":"674603e09671c4d550ba3922"},{"destination":"/integrations/*","source":"/legacy/integrations/*","_id":"674603e09671c4d550ba3923"},{"destination":"/tools/*","source":"/legacy/libraries/*","_id":"674603e09671c4d550ba3924"},{"destination":"/guides/operations/*","source":"/legacy/operations/*","_id":"674603e09671c4d550ba3925"},{"destination":"/guides/organizations/*","source":"/legacy/organizations/*","_id":"674603e09671c4d550ba3926"},{"destination":"/guides/projects/*","source":"/legacy/projects/*","_id":"674603e09671c4d550ba3927"},{"destination":"/reference/architecture/pod-based-architecture","source":"/legacy/architecture","_id":"674603e09671c4d550ba3928"},{"destination":"/reference/quotas-and-limits","source":"/legacy/limits","_id":"674603e09671c4d550ba3929"},{"destination":"/operations/understanding-security","source":"/legacy/security","_id":"674603e09671c4d550ba392a"},{"destination":"/integrations/build-integration/register-your-integration","source":"/integrations/build-integration/attribute-api-activity","_id":"674603e09671c4d550ba392b"},{"destination":"/guides/organization/manage-billing/change-your-billing-plan","source":"/troubleshooting/downgrade-your-organization","_id":"674603e09671c4d550ba392c"},{"destination":"/troubleshooting/pinecone-attribute-errors-with-langchain","source":"/troubleshooting/pinecone-has-no-attribute-from-texts","_id":"674603e09671c4d550ba392d"},{"destination":"/reference/quotas-and-limits","source":"/reference/limits","_id":"674603e09671c4d550ba392e"},{"destination":"/troubleshooting/","source":"/guides/operations/troubleshooting","_id":"674603e09671c4d550ba392f"},{"destination":"/guides/projects/manage-project-members","source":"/guides/projects/add-members-to-projects-and-organizations","_id":"674603e09671c4d550ba3930"},{"destination":"https://docs.pinecone.io/get-started/overview","source":"https://docs.pinecone.io/","_id":"674603e09671c4d550ba3931"},{"destination":"https://docs.pinecone.io/get-started/overview","source":"https://docs.pinecone.io/home","_id":"674603e09671c4d550ba3932"},{"destination":"/guides/organizations/configure-single-sign-on/okta","source":"/guides/organizations/configure-single-sign-on/overview","_id":"674603e09671c4d550ba3933"},{"destination":"/guides/get-started/quickstart","source":"/docs/quickstart","_id":"674603e09671c4d550ba3934"},{"destination":"/guides/get-started/quickstart","source":"/docs/overview","_id":"674603e09671c4d550ba3935"},{"destination":"/guides/get-started/authentication","source":"/docs/authentication","_id":"674603e09671c4d550ba3936"},{"destination":"/reference/api","source":"/docs/new-api","_id":"674603e09671c4d550ba3937"},{"destination":"/guides/organizations/understanding-organizations","source":"/docs/organizations","_id":"674603e09671c4d550ba3938"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","source":"/docs/manage-billing","_id":"674603e09671c4d550ba3939"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-aws-marketplace","source":"/docs/setting-up-aws-marketplace-billing","_id":"674603e09671c4d550ba393a"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-azure-marketplace","source":"/docs/setting-up-azure-marketplace-billing","_id":"674603e09671c4d550ba393b"},{"destination":"/guides/organizations/manage-billing/setting-up-billing-through-gcp-marketplace","source":"/docs/setting-up-gcp-marketplace-billing","_id":"674603e09671c4d550ba393c"},{"destination":"/guides/organizations/manage-billing/changing-your-billing-plan","source":"/docs/changing-your-billing-plan","_id":"674603e09671c4d550ba393d"},{"destination":"/guides/organizations/manage-billing/understanding-subscription-status","source":"/docs/subscription-status","_id":"674603e09671c4d550ba393e"},{"destination":"/guides/organizations/manage-cost/understanding-cost","source":"/docs/manage-cost","_id":"674603e09671c4d550ba393f"},{"destination":"/guides/organizations/manage-cost/understanding-cost","source":"/docs/understanding-cost","_id":"674603e09671c4d550ba3940"},{"destination":"/guides/organizations/manage-cost/monitor-your-usage","source":"/docs/monitoring-usage","_id":"674603e09671c4d550ba3941"},{"destination":"/guides/organizations/manage-cost/manage-cost","source":"/docs/managing-cost","_id":"674603e09671c4d550ba3942"},{"destination":"/guides/organizations/configure-single-sign-on/okta","source":"/docs/configure-single-sign-on","_id":"674603e09671c4d550ba3943"},{"destination":"/guides/projects/understanding-projects","source":"/docs/projects","_id":"674603e09671c4d550ba3944"},{"destination":"/guides/projects/create-a-project","source":"/docs/create-project","_id":"674603e09671c4d550ba3945"},{"destination":"/guides/projects/add-members-to-projects-and-organizations","source":"/docs/add-users-to-projects-and-organizations","_id":"674603e09671c4d550ba3946"},{"destination":"/guides/projects/rename-a-project","source":"/docs/rename-project","_id":"674603e09671c4d550ba3947"},{"destination":"/reference/quotas-and-limits#pods-per-project","source":"/guides/projects/set-a-project-pod-limit","_id":"674603e09671c4d550ba3948"},{"destination":"/reference/quotas-and-limits#pods-per-project","source":"/docs/change-project-pod-limit","_id":"674603e09671c4d550ba3949"},{"destination":"/guides/indexes/understanding-indexes","source":"/docs/indexes","_id":"674603e09671c4d550ba394a"},{"destination":"/guides/indexes/create-an-index","source":"/docs/create-an-index","_id":"674603e09671c4d550ba394b"},{"destination":"/guides/indexes/view-index-information","source":"/docs/view-index-information","_id":"674603e09671c4d550ba394c"},{"destination":"/guides/indexes/back-up-an-index","source":"/docs/back-up-an-index","_id":"674603e09671c4d550ba394d"},{"destination":"/guides/indexes/delete-an-index","source":"/docs/delete-an-index","_id":"674603e09671c4d550ba394e"},{"destination":"/guides/indexes/use-namespaces","source":"/docs/namespaces","_id":"674603e09671c4d550ba394f"},{"destination":"/guides/indexes/choose-a-pod-type-and-size","source":"/docs/choosing-index-type-and-size","_id":"674603e09671c4d550ba3950"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/configure-pod-based-indexes","_id":"674603e09671c4d550ba3951"},{"destination":"/guides/indexes/scale-pod-based-indexes","source":"/docs/scaling-indexes","_id":"674603e09671c4d550ba3952"},{"destination":"/guides/indexes/understanding-backups-and-collections","source":"/docs/collections","_id":"674603e09671c4d550ba3953"},{"destination":"/guides/indexes/convert-a-starter-index-to-serverless","source":"/docs/convert-starter-to-serverless","_id":"674603e09671c4d550ba3954"},{"destination":"/guides/data/upsert-data","source":"/docs/upsert-data","_id":"674603e09671c4d550ba3955"},{"destination":"/guides/data/query-data","source":"/docs/query-data","_id":"674603e09671c4d550ba3956"},{"destination":"/guides/data/fetch-data","source":"/docs/fetch-data","_id":"674603e09671c4d550ba3957"},{"destination":"/guides/data/update-data","source":"/docs/update-data","_id":"674603e09671c4d550ba3958"},{"destination":"/guides/data/delete-data","source":"/docs/delete-data","_id":"674603e09671c4d550ba3959"},{"destination":"/guides/data/list-record-ids","source":"/docs/get-record-ids","_id":"674603e09671c4d550ba395a"},{"destination":"/guides/data/get-an-index-endpoint","source":"/docs/get-index-endpoint","_id":"674603e09671c4d550ba395b"},{"destination":"/guides/data/understanding-metadata","source":"/docs/metadata-filtering","_id":"674603e09671c4d550ba395c"},{"destination":"/guides/data/manage-rag-documents","source":"/docs/manage-rag-documents","_id":"674603e09671c4d550ba395d"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/hybrid-search-and-sparse-vectors","_id":"674603e09671c4d550ba395e"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/hybrid-search","_id":"674603e09671c4d550ba395f"},{"destination":"/guides/data/encode-sparse-vectors","source":"/docs/encode-sparse-vectors","_id":"674603e09671c4d550ba3960"},{"destination":"/guides/data/upsert-sparse-dense-vectors","source":"/docs/upsert-sparse-dense-vectors","_id":"674603e09671c4d550ba3961"},{"destination":"/guides/data/query-sparse-dense-vectors","source":"/docs/query-sparse-dense-vectors","_id":"674603e09671c4d550ba3962"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/datasets","_id":"674603e09671c4d550ba3963"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/using-public-datasets","_id":"674603e09671c4d550ba3964"},{"destination":"/guides/data/create-and-load-private-datasets","source":"/docs/creating-datasets","_id":"674603e09671c4d550ba3965"},{"destination":"/guides/operations/move-to-production","source":"/docs/moving-to-production","_id":"674603e09671c4d550ba3966"},{"destination":"/guides/operations/performance-tuning","source":"/docs/performance-tuning","_id":"674603e09671c4d550ba3967"},{"destination":"/guides/operations/monitoring","source":"/docs/monitoring","_id":"674603e09671c4d550ba3968"},{"destination":"/guides/operations/troubleshooting","source":"/docs/troubleshooting","_id":"674603e09671c4d550ba3969"},{"destination":"/guides/operations/understanding-multitenancy","source":"/docs/multitenancy","_id":"674603e09671c4d550ba396a"},{"destination":"/troubleshooting","source":"/docs/common-errors","_id":"674603e09671c4d550ba396b"},{"destination":"/troubleshooting","source":"guides/operations/common-errors","_id":"674603e09671c4d550ba396c"},{"destination":"/integrations/amazon-bedrock","source":"/docs/amazon-bedrock","_id":"674603e09671c4d550ba396d"},{"destination":"/integrations/amazon-bedrock","source":"/guides/integrations/setting-up-amazon-bedrock","_id":"674603e09671c4d550ba396e"},{"destination":"/integrations/sagemaker","source":"/docs/sagemaker","_id":"674603e09671c4d550ba396f"},{"destination":"/integrations/cohere","source":"/docs/cohere","_id":"674603e09671c4d550ba3970"},{"destination":"/integrations/cohere","source":"/guides/integrations/setting-up-cohere","_id":"674603e09671c4d550ba3971"},{"destination":"/integrations/databricks","source":"/docs/databricks","_id":"674603e09671c4d550ba3972"},{"destination":"/integrations/databricks","source":"/guides/integrations/setting-up-databricks","_id":"674603e09671c4d550ba3973"},{"destination":"/integrations/datadog","source":"/docs/datadog","_id":"674603e09671c4d550ba3974"},{"destination":"/integrations/datadog","source":"/guides/integrations/setting-up-datadog","_id":"674603e09671c4d550ba3975"},{"destination":"/integrations/elastic","source":"/docs/elastic","_id":"674603e09671c4d550ba3976"},{"destination":"/integrations/haystack","source":"/docs/haystack","_id":"674603e09671c4d550ba3977"},{"destination":"integrations/haystack","source":"/guides/integrations/setting-up-haystack","_id":"674603e09671c4d550ba3978"},{"destination":"/integrations/hugging-face-inference-endpoints","source":"/docs/hugging-face-endpoints","_id":"674603e09671c4d550ba3979"},{"destination":"/integrations/hugging-face-inference-endpoints","source":"/guides/integrations/setting-up-hugging-face-endpoints","_id":"674603e09671c4d550ba397a"},{"destination":"/guides/integrations/langchain","source":"/guides/integrations/setting-up-langchain","_id":"674603e09671c4d550ba397b"},{"destination":"/integrations/llamaindex","source":"/docs/llamaindex","_id":"674603e09671c4d550ba397c"},{"destination":"/integratations/llamaindex","source":"/guides/integrations/setting-up-llamaindex","_id":"674603e09671c4d550ba397d"},{"destination":"/integratations/openai","source":"/docs/openai","_id":"674603e09671c4d550ba397e"},{"destination":"/integratations/openai","source":"/guides/integrations/setting-up-openai","_id":"674603e09671c4d550ba397f"},{"destination":"/integratations/trulens","source":"/docs/trulens","_id":"674603e09671c4d550ba3980"},{"destination":"/integratations/trulens","source":"/guides/integrations/setting-up-trulens","_id":"674603e09671c4d550ba3981"},{"destination":"release-notes/2024","source":"/docs/release-notes","_id":"674603e09671c4d550ba3982"},{"destination":"/reference/python-client","source":"/docs/python-client","_id":"674603e09671c4d550ba3983"},{"destination":"/reference/node-client","source":"/docs/node-client","_id":"674603e09671c4d550ba3984"},{"destination":"/reference/architecture/serverless-architecture","source":"/docs/architecture","_id":"674603e09671c4d550ba3985"},{"destination":"/operations/understanding-security","source":"/docs/security","_id":"674603e09671c4d550ba3986"},{"destination":"/reference/quotas-and-limits","source":"/docs/limits","_id":"674603e09671c4d550ba3987"},{"destination":"/reference/api/data-plane/upsert","source":"/reference/upsert","_id":"674603e09671c4d550ba3988"},{"destination":"/reference/api/data-plane/query","source":"/reference/query","_id":"674603e09671c4d550ba3989"},{"destination":"/reference/api/data-plane/fetch","source":"/reference/fetch","_id":"674603e09671c4d550ba398a"},{"destination":"/reference/api/data-plane/update","source":"/reference/update","_id":"674603e09671c4d550ba398b"},{"destination":"/reference/api/data-plane/delete","source":"/reference/delete","_id":"674603e09671c4d550ba398c"},{"destination":"/reference/api/data-plane/delete","source":"/reference/alt_delete","_id":"674603e09671c4d550ba398d"},{"destination":"/reference/api/data-plane/list","source":"/reference/list","_id":"674603e09671c4d550ba398e"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/describe_index_stats","_id":"674603e09671c4d550ba398f"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/alt_describe_index_stats","_id":"674603e09671c4d550ba3990"},{"destination":"/reference/api/control-plane/list_indexes","source":"/reference/list_indexes","_id":"674603e09671c4d550ba3991"},{"destination":"/reference/api/control-plane/create_index","source":"/reference/create_index","_id":"674603e09671c4d550ba3992"},{"destination":"/reference/api/control-plane/describe_index","source":"/reference/describe_index","_id":"674603e09671c4d550ba3993"},{"destination":"/reference/api/control-plane/delete_index","source":"/reference/delete_index","_id":"674603e09671c4d550ba3994"},{"destination":"/reference/api/control-plane/configure_index","source":"/reference/configure_index","_id":"674603e09671c4d550ba3995"},{"destination":"/reference/api/control-plane/list_collections","source":"/reference/list_collections","_id":"674603e09671c4d550ba3996"},{"destination":"/reference/api/control-plane/create_collection","source":"/reference/create_collection","_id":"674603e09671c4d550ba3997"},{"destination":"/reference/api/control-plane/describe_collection","source":"/reference/describe_collection","_id":"674603e09671c4d550ba3998"},{"destination":"/reference/api/control-plane/delete_collection","source":"/reference/delete_collection","_id":"674603e09671c4d550ba3999"},{"destination":"/examples/notebooks","source":"/page/examples","_id":"674603e09671c4d550ba399a"},{"destination":"/tools/pinecone-utilities","source":"/page/libraries","_id":"674603e09671c4d550ba399b"},{"destination":"/legacy/overview","source":"/v1/*","_id":"674603e09671c4d550ba399c"},{"destination":"/guides/indexes/understanding-indexes","source":"/docs/manage-indexes","_id":"674603e09671c4d550ba399d"},{"destination":"/guides/indexes/view-index-information#list-all-indexes-in-a-project","source":"/docs/manage-indexes#list-all-indexes-in-a-project","_id":"674603e09671c4d550ba399e"},{"destination":"/guides/indexes/view-index-information#get-information-about-an-index","source":"/docs/manage-indexes#get-information-about-an-index","_id":"674603e09671c4d550ba399f"},{"destination":"/guides/indexes/create-an-index#create-a-serverless-index","source":"/docs/manage-indexes#create-a-serverless-index","_id":"674603e09671c4d550ba39a0"},{"destination":"/guides/indexes/create-an-index#create-a-pod-based-index","source":"/docs/manage-indexes#create-a-pod-based-index","_id":"674603e09671c4d550ba39a1"},{"destination":"/guides/indexes/create-an-index#create-a-starter-index","source":"/docs/manage-indexes#create-a-starter-index","_id":"674603e09671c4d550ba39a2"},{"destination":"/guides/indexes/create-an-index#create-an-index-from-a-collection","source":"/docs/manage-indexes#create-an-index-from-a-collection","_id":"674603e09671c4d550ba39a3"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#configure-pod-based-indexes","_id":"674603e09671c4d550ba39a4"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#change-pod-sizes","_id":"674603e09671c4d550ba39a5"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#check-the-status-of-a-pod-size-change","_id":"674603e09671c4d550ba39a6"},{"destination":"/guides/indexes/configure-an-index","source":"/docs/manage-indexes#add-replicas","_id":"674603e09671c4d550ba39a7"},{"destination":"/guides/indexes/configure-an-index#selective-metadata-indexing","source":"/docs/manage-indexes#selective-metadata-indexing","_id":"674603e09671c4d550ba39a8"},{"destination":"/guides/indexes/delete-an-index","source":"/docs/manage-indexes#delete-an-index","_id":"674603e09671c4d550ba39a9"},{"destination":"/guides/indexes/convert-a-starter-index-to-serverless","source":"/docs/convert-to-severless","_id":"674603e09671c4d550ba39aa"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/pinecone-public-datasets","_id":"674603e09671c4d550ba39ab"},{"destination":"/guides/data/understanding-metadata","source":"/docs/metadata-filtered-search","_id":"674603e09671c4d550ba39ac"},{"destination":"/guides/data/upsert-data","source":"/docs/insert-data","_id":"674603e09671c4d550ba39ad"},{"destination":"/guides/get-started/quickstart","source":"/docs/global-api-quickstart","_id":"674603e09671c4d550ba39ae"},{"destination":"/guides/indexes/understanding-indexes#starter-indexes","source":"/docs/starter-environment","_id":"674603e09671c4d550ba39af"},{"destination":"/reference/api/data-plane/describeindexstats","source":"/reference/describe_index_stats_post","_id":"674603e09671c4d550ba39b0"},{"destination":"/guides/data/upsert-data","source":"/docs/manage-data","_id":"674603e09671c4d550ba39b1"},{"destination":"/guides/projects/understanding-projects","source":"/docs/manage-projects","_id":"674603e09671c4d550ba39b2"},{"destination":"/reference/python-clients","source":"/installation","_id":"674603e09671c4d550ba39b3"},{"destination":"/examples/notebooks","source":"/page/example-applications","_id":"674603e09671c4d550ba39b4"},{"destination":"/tools/pinecone-utilities","source":"/docs/libraries","_id":"674603e09671c4d550ba39b5"},{"destination":"/integrations/overview","source":"/integrations","_id":"674603e09671c4d550ba39b6"},{"destination":"/guides/data/use-public-pinecone-datasets","source":"/docs/manage-datasets","_id":"674603e09671c4d550ba39b7"},{"destination":"/guides/data/understanding-hybrid-search","source":"/docs/basic-hybrid-search","_id":"674603e09671c4d550ba39b8"},{"destination":"/guides/data/understanding-hybrid-search","source":"basic-hybrid-search","_id":"674603e09671c4d550ba39b9"},{"destination":"/reference/node-client","source":"/node-client","_id":"674603e09671c4d550ba39ba"},{"destination":"/reference/api/introduction","source":"/docs/api-reference","_id":"674603e09671c4d550ba39bb"},{"destination":"/reference/python-clients","source":"/docs/sdk","_id":"674603e09671c4d550ba39bc"},{"destination":"/examples/notebooks","source":"/docs/image-similarity-search","_id":"674603e09671c4d550ba39bd"},{"destination":"/examples/sample-apps","source":"/docs/semantic-search-text-typescript","_id":"674603e09671c4d550ba39be"},{"destination":"/examples/notebooks","source":"/docs/gen-qa-openai","_id":"674603e09671c4d550ba39bf"},{"destination":"/examples/notebooks","source":"/docs/personalized-content-recommendations-typescript","_id":"674603e09671c4d550ba39c0"},{"destination":"/examples/notebooks","source":"/docs/langchain-retrieval-agent","_id":"674603e09671c4d550ba39c1"},{"destination":"/examples/sample-apps","source":"/docs/langchain-retrieval-agent-typescript","_id":"674603e09671c4d550ba39c2"},{"destination":"/examples/notebooks","source":"/docs/langchain-retrieval-augmentation","_id":"674603e09671c4d550ba39c3"},{"destination":"/examples/notebooks","source":"/docs/gpt-4-langchain-docs","_id":"674603e09671c4d550ba39c4"},{"destination":"/examples/notebooks","source":"/docs/extractive-question-answering","_id":"674603e09671c4d550ba39c5"},{"destination":"/examples/notebooks","source":"/docs/abstractive-question-answering","_id":"674603e09671c4d550ba39c6"},{"destination":"/examples/notebooks","source":"/docs/table-qa","_id":"674603e09671c4d550ba39c7"},{"destination":"/examples/notebooks","source":"/docs/ecommerce-search","_id":"674603e09671c4d550ba39c8"},{"destination":"/examples/notebooks","source":"/docs/ner-search","_id":"674603e09671c4d550ba39c9"},{"destination":"/examples/notebooks","source":"/docs/video-search","_id":"674603e09671c4d550ba39ca"},{"destination":"/examples/notebooks","source":"/docs/satellite-image-search","_id":"674603e09671c4d550ba39cb"},{"destination":"/examples/notebooks","source":"/docs/it-threat-detection","_id":"674603e09671c4d550ba39cc"},{"destination":"/examples/notebooks","source":"/docs/document-deduplication","_id":"674603e09671c4d550ba39cd"},{"destination":"/examples/notebooks","source":"/docs/movie-recommender","_id":"674603e09671c4d550ba39ce"},{"destination":"/examples/notebooks","source":"/docs/audio-search","_id":"674603e09671c4d550ba39cf"},{"destination":"/examples/notebooks","source":"/docs/time-series","_id":"674603e09671c4d550ba39d0"},{"destination":"/examples/notebooks","source":"/docs/product-recommendation-engine","_id":"674603e09671c4d550ba39d1"},{"destination":"/guides/data/upsert-sparse-dense-vectors","source":"/docs/upserting-sparse-dense-records","_id":"674603e09671c4d550ba39d2"},{"destination":"/guides/data/understanding-hybrid-search","source":"/reference/manage-indexes/hybrid-search","_id":"674603e09671c4d550ba39d3"},{"destination":"/guides/data/query-sparse-dense-vectors","source":"/docs/weighting-sparse-and-dense-vectors","_id":"674603e09671c4d550ba39d4"},{"destination":"/troubleshooting/serverless-index-connection-errors","source":"/troubleshooting/serverless-controller-error","_id":"674603e09671c4d550ba39d5"},{"destination":"/reference/api","source":"/new-api","_id":"674603e09671c4d550ba39d6"},{"destination":"/guides/indexes/implement-multitenancy","source":"/guides/operations/understanding-multitenancy","_id":"674603e09671c4d550ba39d7"},{"destination":"/troubleshooting/delete-your-organization","source":"troubleshooting/delete-your-account","_id":"674603e09671c4d550ba39d8"},{"destination":"/guides/inference/understanding-inference#rerank-2","source":"/guides/inference/understanding-reranking","_id":"674603e09671c4d550ba39d9"}],"seo":{"indexHiddenPages":true},"footerSocials":{"twitter":"https://twitter.com/pinecone?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor","linkedin":"https://www.linkedin.com/company/pinecone-io/"},"repo":{"github":{"owner":"pinecone-io","repo":"docs","contentDirectory":"","deployBranch":"main","isPrivate":false}}},"pageMetadata":{"title":"Pinecone Database quickstart","description":null,"sidebarTitle":"Database quickstart","og:image":"https://www.pinecone.io/api/og/?title=Pinecone Database quickstart","href":"/guides/get-started/quickstart"}}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"}}},"__N_SSG":true},"page":"/_sites/[subdomain]/[[...slug]]","query":{"subdomain":"docs.pinecone.io","slug":["guides","get-started","quickstart"]},"buildId":"8gqtPLLVbn-oaWMik8oUY","isFallback":false,"isExperimentalCompile":false,"gsp":true,"scriptLoader":[]}</script></html></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10