CINXE.COM
Cohere Documentation — Cohere
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" href="/api/fern-docs/search/v1/key" as="fetch" crossorigin="anonymous"/><link rel="preload" href="/api/fern-docs/auth/api-key-injection" as="fetch" crossorigin="anonymous"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><title>Cohere Documentation — Cohere</title><meta name="robots" content="index,follow"/><meta name="description" content="Cohere's API documentation helps developers easily integrate natural language processing and generation into their products."/><meta name="theme-color" content="#fafafa"/><meta property="og:title" content="Cohere Documentation — Cohere"/><meta property="og:description" content="Cohere's API documentation helps developers easily integrate natural language processing and generation into their products."/><meta property="og:url" content="https://docs.cohere.com/cohere-documentation"/><meta property="og:site_name" content="Cohere"/><link rel="canonical" href="https://docs.cohere.com/cohere-documentation"/><meta name="generator" content="buildwithfern.com"/><link rel="icon" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/favicon.png" crossorigin="anonymous"/><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereText-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereMono-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><script type="application/ld+json" id="jsonld-breadcrumb">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Cohere","item":"https://docs.cohere.com/"},{"@type":"ListItem","position":2,"name":"Cohere Documentation","item":"https://docs.cohere.com/cohere-documentation"}]}</script><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/logo.svg" as="image" fetchpriority="high"/><link rel="preload" href="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/logo-dark.svg" as="image" fetchpriority="high"/><meta name="next-head-count" content="23"/><link href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css" rel="stylesheet"/><script id="theme-script" data-nscript="beforeInteractive">(e=>{let t=document.documentElement;function n(e){t.classList.remove("light","dark"),t.classList.add(e),t.style.colorScheme=e}if(1===e.length)n(e[0]);else try{let t=localStorage.getItem("theme")??"system",r=e.length>0&&"system"===t?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t;n(r)}catch{}})(["light","dark"])</script><link rel="preload" href="https://legacy.ferndocs.com/_next/static/css/9f4cc0316546ae71.css?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" as="style"/><link rel="stylesheet" href="https://legacy.ferndocs.com/_next/static/css/9f4cc0316546ae71.css?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" data-n-g=""/><link rel="preload" href="https://legacy.ferndocs.com/_next/static/css/80bca615e6d01b34.css?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" as="style"/><link rel="stylesheet" href="https://legacy.ferndocs.com/_next/static/css/80bca615e6d01b34.css?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="https://legacy.ferndocs.com/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/8494.89309af69f67ac9d.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/7191.7664a652cf78e25c.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/31de4f4b.9d446694d09b6f7d.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/92e66809.393f81705c519a34.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/118f301d.0a7382916ef4ac18.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/52d2be3c.b954481fe5a6d824.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/f29dc6a8.0d3c3c8683df2eda.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/3472.6a23330e134e1d65.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/8950.c9e255a07da990ce.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/5717.1f001a5a15b5dcb1.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/3970.dc471052abb87bed.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/600.2b454986c44328ef.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/3551.051004b9df174261.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/f136264b.fe05aaa57e22d479.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/4217.08fff909190d4e30.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/2729.42c77bdb2d91a65d.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/9042.d9f33826585f5b1f.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/8326.bde182ef6c372b2f.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/6318.dce22eba9bac2e42.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/2132.61599219f72d2768.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/5119.7fbcb17fea114486.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/5438.9dfc11fa11c8ee42.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/6770.7f324a0184155c4e.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/7708.02439b5d10c76bde.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/a20b1002.4488a96695dd3fd2.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/6392.71c77b159b8865ca.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/4471.6e794c1da353a5be.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/7679.c0f761d39aecdc07.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/4938.489164d384c333e2.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/1017.8ca9eff971d1c5d5.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/722.b21bddbd42b6ccc2.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script defer="" src="https://legacy.ferndocs.com/_next/static/chunks/7575.547352741fc2eab1.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ"></script><script src="https://legacy.ferndocs.com/_next/static/chunks/webpack-d3c9a25c351e8777.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/chunks/framework-66d89474ad83799b.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/chunks/main-6c689a64bb578d63.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/chunks/pages/_app-83c20f336c035373.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/chunks/2709-cda5da4a8db8de58.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/chunks/6053-8980ccfef23ce08d.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/chunks/pages/static/%5Bdomain%5D/%5B%5B...slug%5D%5D-31f428dae64597dc.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/ti4C_PHmU--yyDNVgChyT/_buildManifest.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><script src="https://legacy.ferndocs.com/_next/static/ti4C_PHmU--yyDNVgChyT/_ssgManifest.js?dpl=dpl_4nebJkZi7A8eYsujHn4i2Y6bLvMZ" defer=""></script><style id="__jsx-3165126854"> :root { --typography-body-font-family: 'CohereText', -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; --typography-heading-font-family: 'CohereHeadline', -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; --typography-code-font-family: 'CohereMono', ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace; --spacing-page-width: 100%; --spacing-content-width: 44rem; --spacing-content-wide-width: 66.5rem; --spacing-sidebar-width: 298px; --spacing-header-height: 5.875rem; --spacing-header-height-padded: 66px; --spacing-header-height-real: 3.125rem; --grayscale-1: var(--sand-1); --grayscale-2: var(--sand-2); --grayscale-3: var(--sand-3); --grayscale-4: var(--sand-4); --grayscale-5: var(--sand-5); --grayscale-6: var(--sand-6); --grayscale-7: var(--sand-7); --grayscale-8: var(--sand-8); --grayscale-9: var(--sand-9); --grayscale-10: var(--sand-10); --grayscale-11: var(--sand-11); --grayscale-12: var(--sand-12); --grayscale-a1: var(--sand-a1); --grayscale-a2: var(--sand-a2); --grayscale-a3: var(--sand-a3); --grayscale-a4: var(--sand-a4); --grayscale-a5: var(--sand-a5); --grayscale-a6: var(--sand-a6); --grayscale-a7: var(--sand-a7); --grayscale-a8: var(--sand-a8); --grayscale-a9: var(--sand-a9); --grayscale-a10: var(--sand-a10); --grayscale-a11: var(--sand-a11); --grayscale-a12: var(--sand-a12); --accent-1: #e0e2e1; --accent-2: #d9dddb; --accent-3: #cad5d0; --accent-4: #bcccc5; --accent-5: #aec3ba; --accent-6: #9fb8ae; --accent-7: #8daa9e; --accent-8: #729687; --accent-9: #39594d; --accent-10: #2a4a3e; --accent-11: #2c4c40; --accent-12: #1e2f28; --accent-a1: #94bcfe18; --accent-a2: #0760b111; --accent-a3: #01637221; --accent-a4: #045f5c31; --accent-a5: #015b4f40; --accent-a6: #03564751; --accent-a7: #034f3d65; --accent-a8: #00493382; --accent-a9: #012c1fc1; --accent-a10: #00281bd1; --accent-a11: #00291bcf; --accent-a12: #01150edf; --accent-surface: #d6dbdbcc; --gray-surface: #ffffffcc; --accent: 57, 89, 77; --accent-aa: 57, 89, 77; --accent-aaa: 51, 80, 69; --accent-tinted: 47, 73, 64; --background: 232, 230, 222; --accent-contrast: rgb(255, 255, 255); --bg-color-card: rgb(232, 230, 222); --sidebar-background: rgb(250, 250, 250); --header-background: rgb(250, 250, 250); --border: rgb(224, 224, 224); --border-concealed: rgb(224, 224, 224); --body-text: 0, 0, 0; --body-text-inverted: 255, 255, 255; } @media (max-width: 1024px) { :root { --spacing-header-height: 5.875rem; --spacing-header-height-padded: 66px; } } :is(.dark) { --grayscale-1: var(--gray-1); --grayscale-2: var(--gray-2); --grayscale-3: var(--gray-3); --grayscale-4: var(--gray-4); --grayscale-5: var(--gray-5); --grayscale-6: var(--gray-6); --grayscale-7: var(--gray-7); --grayscale-8: var(--gray-8); --grayscale-9: var(--gray-9); --grayscale-10: var(--gray-10); --grayscale-11: var(--gray-11); --grayscale-12: var(--gray-12); --grayscale-a1: var(--gray-a1); --grayscale-a2: var(--gray-a2); --grayscale-a3: var(--gray-a3); --grayscale-a4: var(--gray-a4); --grayscale-a5: var(--gray-a5); --grayscale-a6: var(--gray-a6); --grayscale-a7: var(--gray-a7); --grayscale-a8: var(--gray-a8); --grayscale-a9: var(--gray-a9); --grayscale-a10: var(--gray-a10); --grayscale-a11: var(--gray-a11); --grayscale-a12: var(--gray-a12); --accent-1: #0c100e; --accent-2: #131917; --accent-3: #1a2a23; --accent-4: #1e372d; --accent-5: #284439; --accent-6: #335246; --accent-7: #416355; --accent-8: #4f7968; --accent-9: #517b6a; --accent-10: #496c5e; --accent-11: #9bc7b4; --accent-12: #ceefe0; --accent-a1: #008f0002; --accent-a2: #6cf7c90b; --accent-a3: #70fdbf1d; --accent-a4: #68fdc12b; --accent-a5: #7ffccb39; --accent-a6: #8ffdd248; --accent-a7: #9dfdd55a; --accent-a8: #a0ffd871; --accent-a9: #a2ffd973; --accent-a10: #a5ffdb63; --accent-a11: #c6ffe6c4; --accent-a12: #dcffefee; --accent-surface: color(display-p3 0.0941 0.1333 0.1176 / 0.5); --gray-surface: color(display-p3 0 0 0 / 5%); --accent: 81, 123, 106; --accent-aa: 87, 132, 114; --accent-aaa: 120, 166, 147; --accent-tinted: 71, 108, 93; --background: 15, 15, 15; --accent-contrast: rgb(255, 255, 255); --bg-color-card: rgb(26, 26, 26); --bg-color-card-solid: rgb(26, 26, 26); --sidebar-background: rgb(28, 28, 28); --header-background: rgb(28, 28, 28); --border: rgb(41, 41, 41); --border-concealed: rgb(41, 41, 41); --body-text: 255, 255, 255; --body-text-inverted: 0, 0, 0; } @font-face { font-family: 'CohereText'; src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereText-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'CohereText'; src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'CohereHeadline'; src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'CohereHeadline'; src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Bold.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'CohereMono'; src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'CohereMono'; src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; } html { background-color: #e8e6de; } html.dark { background-color: #0f0f0f; } .container { width: 100%; } @media (min-width: 640px) { .container { max-width: 640px; } } @media (min-width: 768px) { .container { max-width: 768px; } } @media (min-width: 1024px) { .container { max-width: 1024px; } } @media (min-width: 1280px) { .container { max-width: 1280px; } } @media (min-width: 1536px) { .container { max-width: 1536px; } } .small-tag-light { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 4px 12px; width: 90px; height: 22px; background: #ebebf8; border: 1px solid rgba(43, 38, 73, 0.2); border-radius: 30px; font-size: 10.5px; color: #333293; white-space: nowrap; } .small-tag-dark { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 4px 12px; width: 72px; height: 22px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #2b2649; border: 1px solid rgba(46, 78, 74, 0.5); border-radius: 30px; font-size: 10.5px; color: #ebebf8; white-space: nowrap; } .visible { visibility: visible; } .collapse { visibility: collapse; } .static { position: static; } .fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; } .sticky { position: sticky; } .inset-0 { inset: 0px; } .-right-4 { right: -1rem; } .-top-6 { top: -1.5rem; } .top-3 { top: 0.75rem; } .isolate { isolation: isolate; } .-z-10 { z-index: -10; } .order-first { order: -9999; } .order-last { order: 9999; } .col-span-2 { grid-column: span 2 / span 2; } .col-span-4 { grid-column: span 4 / span 4; } .col-span-8 { grid-column: span 8 / span 8; } .col-span-full { grid-column: 1 / -1; } .col-start-1 { grid-column-start: 1; } .col-start-2 { grid-column-start: 2; } .col-start-5 { grid-column-start: 5; } .col-start-9 { grid-column-start: 9; } .row-span-full { grid-row: 1 / -1; } .clear-none { clear: none; } .m-auto { margin: auto; } .\!my-0 { margin-top: 0px !important; margin-bottom: 0px !important; } .-mx-6 { margin-left: -1.5rem; margin-right: -1.5rem; } .mx-auto { margin-left: auto; margin-right: auto; } .my-auto { margin-top: auto; margin-bottom: auto; } .\!mb-10 { margin-bottom: 2.5rem !important; } .\!mt-0 { margin-top: 0px !important; } .mb-1 { margin-bottom: 0.25rem; } .mb-28 { margin-bottom: 7rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-auto { margin-bottom: auto; } .ml-2 { margin-left: 0.5rem; } .ml-5 { margin-left: 1.25rem; } .mt-0 { margin-top: 0px; } .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-auto { margin-top: auto; } .block { display: block; } .inline-block { display: inline-block; } .inline { display: inline; } .flex { display: flex; } .table { display: table; } .inline-table { display: inline-table; } .flow-root { display: flow-root; } .grid { display: grid; } .inline-grid { display: inline-grid; } .contents { display: contents; } .list-item { display: list-item; } .hidden { display: none; } .h-32 { height: 8rem; } .h-7 { height: 1.75rem; } .h-\[400px\] { height: 400px; } .h-full { height: 100%; } .w-7 { width: 1.75rem; } .w-\[420px\] { width: 420px; } .w-full { width: 100%; } .max-w-\[1100px\] { max-width: 1100px; } .max-w-\[1195px\] { max-width: 1195px; } .max-w-none { max-width: none; } .max-w-prose { max-width: 65ch; } .flex-1 { flex: 1 1 0%; } .flex-shrink { flex-shrink: 1; } .flex-grow { flex-grow: 1; } .grow { flex-grow: 1; } .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } .transform-gpu { transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } .cursor-help { cursor: help; } .cursor-move { cursor: move; } .cursor-pointer { cursor: pointer; } .cursor-text { cursor: text; } .cursor-wait { cursor: wait; } .select-all { -webkit-user-select: all; -moz-user-select: all; user-select: all; } .select-auto { -webkit-user-select: auto; -moz-user-select: auto; user-select: auto; } .appearance-auto { -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; } .grid-flow-dense { grid-auto-flow: dense; } .grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flex-row { flex-direction: row; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .flex-nowrap { flex-wrap: nowrap; } .place-content-baseline { place-content: baseline; } .place-items-baseline { place-items: baseline; } .content-normal { align-content: normal; } .content-start { align-content: flex-start; } .content-end { align-content: flex-end; } .content-baseline { align-content: baseline; } .content-stretch { align-content: stretch; } .items-start { align-items: flex-start; } .items-center { align-items: center; } .justify-normal { justify-content: normal; } .justify-end { justify-content: flex-end; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .justify-evenly { justify-content: space-evenly; } .justify-stretch { justify-content: stretch; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-5 { gap: 1.25rem; } .gap-9 { gap: 2.25rem; } .space-x-0 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(0px * var(--tw-space-x-reverse)); margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse))); } .space-y-reverse > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 1; } .space-x-reverse > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 1; } .self-baseline { align-self: baseline; } .overflow-clip { overflow: clip; } .overflow-y-auto { overflow-y: auto; } .overflow-x-clip { overflow-x: clip; } .overflow-y-clip { overflow-y: clip; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .overflow-ellipsis { text-overflow: ellipsis; } .text-ellipsis { text-overflow: ellipsis; } .text-clip { text-overflow: clip; } .whitespace-nowrap { white-space: nowrap; } .whitespace-break-spaces { white-space: break-spaces; } .text-wrap { text-wrap: wrap; } .text-balance { text-wrap: balance; } .text-pretty { text-wrap: pretty; } .break-all { word-break: break-all; } .break-keep { word-break: keep-all; } .rounded { border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } .rounded-md { border-radius: 0.375rem; } .border { border-width: 1px; } .border-2 { border-width: 2px; } .border-x { border-left-width: 1px; border-right-width: 1px; } .border-y { border-top-width: 1px; border-bottom-width: 1px; } .border-double { border-style: double; } .border-hidden { border-style: hidden; } .bg-\[\#F5F4F2\] { --tw-bg-opacity: 1; background-color: rgb(245 244 242 / var(--tw-bg-opacity, 1)); } .bg-neutral-200 { --tw-bg-opacity: 1; background-color: rgb(229 229 229 / var(--tw-bg-opacity, 1)); } .bg-none { background-image: none; } .decoration-slice { -webkit-box-decoration-break: slice; box-decoration-break: slice; } .box-decoration-slice { -webkit-box-decoration-break: slice; box-decoration-break: slice; } .bg-auto { background-size: auto; } .bg-cover { background-size: cover; } .bg-\[right_center\] { background-position: right center; } .bg-right-bottom { background-position: right bottom; } .bg-no-repeat { background-repeat: no-repeat; } .bg-repeat-round { background-repeat: round; } .bg-repeat-space { background-repeat: space; } .fill-none { fill: none; } .stroke-none { stroke: none; } .object-contain { -o-object-fit: contain; object-fit: contain; } .p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-6 { padding: 1.5rem; } .\!py-0 { padding-top: 0px !important; padding-bottom: 0px !important; } .px-1 { padding-left: 0.25rem; padding-right: 0.25rem; } .px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; } .px-24 { padding-left: 6rem; padding-right: 6rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; } .py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; } .pl-1 { padding-left: 0.25rem; } .pr-1 { padding-right: 0.25rem; } .pr-12 { padding-right: 3rem; } .pt-10 { padding-top: 2.5rem; } .text-start { text-align: start; } .text-end { text-align: end; } .align-sub { vertical-align: sub; } .align-super { vertical-align: super; } .font-sans { font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .text-6xl { font-size: 3.75rem; line-height: 1; } .text-sm { font-size: 0.875rem; line-height: 1.25rem; } .\!font-normal { font-weight: 400 !important; } .font-extralight { font-weight: 200; } .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .font-thin { font-weight: 100; } .uppercase { text-transform: uppercase; } .lowercase { text-transform: lowercase; } .capitalize { text-transform: capitalize; } .italic { font-style: italic; } .not-italic { font-style: normal; } .ordinal { --tw-ordinal: ordinal; font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction); } .\!text-\[\#2D4CB9\] { --tw-text-opacity: 1 !important; color: rgb(45 76 185 / var(--tw-text-opacity, 1)) !important; } .\!text-white { --tw-text-opacity: 1 !important; color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important; } .text-\[\#2D4CB9\] { --tw-text-opacity: 1; color: rgb(45 76 185 / var(--tw-text-opacity, 1)); } .text-\[\#39594D\] { --tw-text-opacity: 1; color: rgb(57 89 77 / var(--tw-text-opacity, 1)); } .mix-blend-plus-darker { mix-blend-mode: plus-darker; } .mix-blend-plus-lighter { mix-blend-mode: plus-lighter; } .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .shadow-sm { --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .outline-none { outline: 2px solid transparent; outline-offset: 2px; } .outline { outline-style: solid; } .outline-black { outline-color: #000; } .outline-white { outline-color: #fff; } .ring { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } .ring-inset { --tw-ring-inset: inset; } .ring-offset-0 { --tw-ring-offset-width: 0px; } .blur { --tw-blur: blur(8px); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } .blur-0 { --tw-blur: blur(0); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } .blur-none { --tw-blur: ; filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } .filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } .backdrop-blur-none { --tw-backdrop-blur: ; -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); } .backdrop-filter { -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); } .transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } .transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } .delay-0 { transition-delay: 0s; } .duration-0 { transition-duration: 0s; } .ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } .image-desktop { display: none; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; } @media (min-width: 768px) { .image-desktop { display: block; } } .image-mobile { display: block; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; } @media (min-width: 768px) { .image-mobile { display: none; } } .\[i\:i\+BATCH_SIZE\] { i: i+BATCH SIZE; } .\[i\:i_end\] { i: i end; } .\[start\:end\] { start: end; } .fern-changelog>main { width: 100%; } h1, h2, h3, h4, h5, h6 { font-weight: 400 !important; font-family: CohereText !important; } h1 { font-size: 35px !important; } h2 { letter-spacing: -0.01em; font-style: normal; font-size: 24px !important; line-height: 110%; } .fern-sidebar-heading-content { font-weight: 500 !important; } .fern-header-tab-button .font-medium { font-weight: 400 !important; } .fern-mdx-link { font-weight: 400 !important; } .fern-announcement .fern-mdx-link, .fern-announcement svg.external-link-icon { color: #fff !important; } .font-semibold { font-weight: 500 !important; } .fern-api-property-key { font-weight: 500 !important; } th { font-weight: 500 !important; } /*! BEGIN STYLESHEET_HUB2 */ button[class^="Sidebar-link-buttonWrapper"] { display: none !important; } .flex-col-to-row { flex-direction: column; } .flex-row-to-col { flex-direction: row; } .w-100-to-50 { max-width: 100%; } .w-100-to-75-to-50 { max-width: 100%; } .h1-title { font-family: CohereText !important; letter-spacing: -0.01em; font-style: normal; font-weight: 400; font-size: 35px !important; line-height: 100%; } .h2-title { font-family: CohereText !important; letter-spacing: -0.01em; font-style: normal; font-weight: 400 !important; font-size: 24px !important; line-height: 110%; } .h3-title { font-family: CohereText !important; font-style: normal; font-weight: 500; font-size: 16.8px !important; line-height: 124%; margin-block-start: 1em !important; margin-block-end: 1em !important; } .h4-title { font-family: CohereText !important; font-style: normal; font-weight: 500; font-size: 16px !important; line-height: 150%; margin-block-start: 1em !important; margin-block-end: 1em !important; } .p-base { font-family: CohereText !important; font-style: normal; font-weight: 400; font-size: 14px !important; line-height: 150%; letter-spacing: 0.03em; } @media only screen and (min-width: 768px) { .flex-col-to-row { flex-direction: row; } .flex-row-to-col { flex-direction: column; } .w-100-to-50 { max-width: 45%; } .w-100-to-75-to-50 { max-width: 75%; } } @media only screen and (min-width: 1024px) { .w-100-to-75-to-50 { max-width: 50%; } .p-base { font-size: 16px; } } @media (max-width: 1024px) { .fern-body { gap: 0px !important; } } /*! END STYLESHEET_HUB2 */ /*~~~~~~~~~GENERAL STYLES~~~~~~~~~~~*/ .grid-container-fluid { margin: 0 !important; } #content-container { max-width: 100% !important; } #content-head h1 { display: none; } .page-title { margin-bottom: 24px !important; } /* Mobile First Design */ :root { --simple-card-bg-color: #f5f4f2; --divider-border-color: #bdbdbd; } .dark { --simple-card-bg-color: #1a1a1a; --divider-border-color: #1a1a1a; } .divider { border: solid var(--divider-border-color); border-width: 1px 0px 0px 0px; margin-bottom: 40px; } .page-title-container { display: flex; flex-direction: column; justify-content: start; height: 100%; padding-top: 40px; } .page-secondary-title-container { margin-top: 48px; margin-bottom: 32px; } .page-blurb { width: 100%; } .all-cards-container { padding-left: 16px; padding-right: 16px; padding-bottom: 40px; } .cards-container { display: flex; flex-direction: column; gap: 24px; } .small-tag-container { display: flex; flex-direction: row; gap: 12px; } .simple-card-container { width: 100%; display: flex; flex-direction: column; border: 1px solid var(--divider-border-color); border-radius: 10px; } .simple-card-text-and-link-container { background: var(--simple-card-bg-color); border-top: 1px solid var(--divider-border-color); border-radius: 0px 0px 10px 10px; flex-grow: 1; display: flex; flex-direction: column; } .simple-card-text-container { display: flex; flex-direction: column; /* padding: 0px 24px 0px 24px; */ /* if there is a tag or time data exists on the card */ padding: 32px 24px 16px 24px; } .simple-card-link-container { display: flex; flex-direction: column; padding: 14px 24px 17px 24px; text-decoration: none; margin-top: auto; } .toc-list { display: flex; flex-direction: column; flex-wrap: wrap; } .toc-item { padding: 8px 16px 8px 0px; border-radius: 10px; margin-right: 8px; white-space: nowrap; } /* MD and above */ @media only screen and (min-width: 768px) { .page-blurb { width: 60%; } .all-cards-container { padding-left: 0px; padding-right: 0px; padding-bottom: 0px; } .page-title-container { min-height: 260px; background-image: none !important; height: auto; padding-top: 0px; justify-content: center; } .page-secondary-title-container { margin-top: 70px; } .cards-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 40px; } .p-title { min-height: 72px; } .simple-card-link-container { padding-top: 0px; } .toc-list { flex-direction: row; } } /* LG and higher */ @media only screen and (min-width: 1024px) { .page-title-container { padding-top: 0px; } .page-blurb { width: 50%; } .cards-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 40px; } .p-title { min-height: 72px; } } .header { padding: 9px 0 17px 0; display: flex; flex-direction: column; } .fern-header .fern-button-text { font-family: CohereText,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif !important; -webkit-font-smoothing: unset !important; } .fern-sidebar-content .fern-button-text { font-family: CohereText,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif !important; -webkit-font-smoothing: unset !important; } #content { padding: 0 32px; } #content-head { display: none; } .guide-page-title { font-size: 29px !important; } .back-button .github-button { border-radius: 0 !important; border-width: 0 !important; background-color: inherit !important; } .cookbook-nav-container { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .authors-container { display: flex; flex-direction: row; flex-flow: row wrap; gap: 2px 14px; } .author-container:not(:is(.simple-card-container *)) { margin-bottom: 10px; margin-top: -10px; } .author-container:is(.simple-card-container *) { margin-top: 20px; } .author-container { line-height: 1.5em; display: flex; flex-direction: row; vertical-align: middle; flex-shrink: 0; } .author-image { height: 1.5em; margin: 0px 6px 6px 0px !important; border-radius: 50%; } .author-name { white-space: nowrap; vertical-align: middle; } @media only screen and (min-width: 620px) { .guide-page-title { width: 70%; } .header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 9px 0 17px 0; } .git--button { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 16px; width: 154px; height: 35px; background: #d4d9d4; border: 1px solid #9daaa4; border-radius: 6px; } } @media only screen and (min-width: 1024px) { .guide-page-title { font-size: 46px !important; } .header { padding: 9px 0 32px 0; } } .side { width: 40% !important; float: right !important; margin-left: .75rem !important; } .light-bg { background-color: #f7f7f7 !important; border-color: #e0e0e0 !important; border-radius: .5rem !important; border-width: 1px !important; padding: 15px !important; } .dark-text { color: #1a1a1a !important; } .dataframe { display: block !important; overflow: auto !important; border-color: #e0e0e0 !important; border-radius: .5rem !important; border-width: 1px !important; } :is(.dark) .dataframe { border-color: #ffffff22 !important; } .fern-table td { max-width: 400px !important; overflow: wrap !important; } .fern-table th { max-width: 400px !important; overflow: wrap !important; } .orange-text { color: #e69138 !important; white-space : pre-wrap !important; } .dark-orange-text{ color: #b45f06 !important; } .dark-red-text { color: #a20302 !important; white-space : pre-wrap !important; } .red-text { color: #cc0100 !important; } .bloody-red-text { color: #a31515 !important; } .dark-pink-text { color: #b80672 !important; } .magenta-text { color: #cc669f !important; white-space : pre-wrap !important; } .dark-magenta-text { color: #78345a !important; } .sangria-text { color: #981ea0 !important; } .dark-sangria-text { color: #6b1570 !important; } .brown-text { color: #5b0f00 !important; } .green-text { color: #6aa84f !important; white-space : pre-wrap !important; } .grass-green-text { color: #38761d !important; } .dark-green-text { color: #284e13 !important; } .quartz-text { color: #a64d79 !important; } .blue-text { color: #4078f2 !important; } .dark-blue-text { color: #1255cc !important; } .purple-text { color: #674ea7 !important; } .dark-purple-text { color: #361c75 !important; } .markdown-body code { color: inherit !important; } .cm-s-neo .cm-keyword { color: inherit !important; } .cm-s-neo .cm-variable { color: inherit !important; } .cm-s-neo .cm-string { color: inherit !important; } .cm-s-neo .cm-property { color: inherit !important; } .theme-light { color: #cc669f !important; } .override { line-height:100% !important; } .yellow-highlight{ background-color: yellow !important; display: inline-block !important; width: 100px !important; /* Adjust the width as needed */ /*height: 20px !important;*/ /* Adjust the height as needed */ } .extra-yellow { color: #a31515 !important; background-color: #ffff00 !important; } .extra-green { color: #38761d !important; } /* This is hacky fix for the code block comment color */ .code-block-line-content span[style*="color: rgb(194, 195, 197)"] { color: rgb(155, 156, 158) !important; } :is(.dark) .simple-card-container { --divider-border-color: #2c2c2c; } .dark\:small-tag-dark:is(.dark *) { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 4px 12px; width: 72px; height: 22px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #2b2649; border: 1px solid rgba(46, 78, 74, 0.5); border-radius: 30px; font-size: 10.5px; color: #ebebf8; white-space: nowrap; } @media (hover: hover) and (pointer: fine) { .hover\:bg-\[\#E9E6DE\]:hover { --tw-bg-opacity: 1; background-color: rgb(233 230 222 / var(--tw-bg-opacity, 1)); } .hover\:text-black:hover { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity, 1)); } .group:hover .group-hover\:pl-1 { padding-left: 0.25rem; } .group:hover .group-hover\:pr-2 { padding-right: 0.5rem; } .group:hover .group-hover\:no-underline { text-decoration-line: none; } } .dark\:bg-\[\#0F0F0F\]:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(15 15 15 / var(--tw-bg-opacity, 1)); } .dark\:text-\[\#4C6EE6\]:is(.dark *) { --tw-text-opacity: 1; color: rgb(76 110 230 / var(--tw-text-opacity, 1)); } .dark\:text-\[\#517B6A\]:is(.dark *) { --tw-text-opacity: 1; color: rgb(81 123 106 / var(--tw-text-opacity, 1)); } @media (hover: hover) and (pointer: fine) { .dark\:hover\:bg-\[\#292929\]:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(41 41 41 / var(--tw-bg-opacity, 1)); } .dark\:hover\:text-white:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); } } @media not all and (min-width: 768px) { .max-md\:hidden { display: none; } } @media (min-width: 768px) { .md\:mt-0 { margin-top: 0px; } .md\:\!block { display: block !important; } .md\:block { display: block; } .md\:\!grid { display: grid !important; } .md\:hidden { display: none; } .md\:h-\[190px\] { height: 190px; } .md\:h-\[300px\] { height: 300px; } .md\:w-1\/2 { width: 50%; } .md\:w-\[260px\] { width: 260px; } .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md\:\!flex-row { flex-direction: row !important; } .md\:items-end { align-items: flex-end; } .md\:gap-10 { gap: 2.5rem; } .md\:gap-16 { gap: 4rem; } .md\:self-end { align-self: flex-end; } .md\:p-10 { padding: 2.5rem; } .md\:p-8 { padding: 2rem; } .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .md\:pb-14 { padding-bottom: 3.5rem; } .md\:pb-7 { padding-bottom: 1.75rem; } } @media (min-width: 1024px) { .lg\:h-10 { height: 2.5rem; } .lg\:h-\[230px\] { height: 230px; } .lg\:min-h-20 { min-height: 5rem; } .lg\:w-1\/3 { width: 33.333333%; } .lg\:w-10 { width: 2.5rem; } .lg\:w-\[400px\] { width: 400px; } .lg\:\!grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .lg\:gap-10 { gap: 2.5rem; } .lg\:gap-8 { gap: 2rem; } .lg\:gap-x-8 { -moz-column-gap: 2rem; column-gap: 2rem; } .lg\:gap-y-10 { row-gap: 2.5rem; } .lg\:px-9 { padding-left: 2.25rem; padding-right: 2.25rem; } .lg\:pb-16 { padding-bottom: 4rem; } @media (hover: hover) and (pointer: fine) { .lg\:hover\:bg-blue-500:hover { --tw-bg-opacity: 1; background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1)); } } } @media(min-width:1181px) { .\[\@media\(min-width\:1181px\)\]\:min-h-0 { min-height: 0px; } } </style><style id="__jsx-4232958396">:root{ --header-offset: 0px;--border-color-card:#d8cfc1;--bg-color-search-dialog:#fafafa;--bg-color-header-tab-inactive-hover:#f5f5f5;--border-color-header-tab-active:#d8cfc1;--bg-color-header-tab-active:#e8e6de}.dark{--bg-color-card:#0f0f0f;--border-color-card:#4d4d4d;--bg-color-search-dialog:#1e1e1e;--bg-color-header-tab-inactive-hover:#292929;--border-color-header-tab-active:#4d4d4d;--bg-color-header-tab-active:#2a2a2a}</style></head><body class="antialiased"><div id="__next"><div class="fern-background dark:from-transparent"></div><div id="fern-docs" class="fern-container fern-theme-cohere" style="top:0"><header id="fern-header"><div class="fern-header-container width-before-scroll-bar"><div class="fern-header"><nav aria-label="primary" class="fern-header-content max-w-page-width mx-auto"><div class="relative flex h-full min-w-fit flex-1 shrink-0 items-center gap-2 py-1"><div class="flex items-center gap-2"><a href="/cohere-documentation"><div class="fern-logo-container"><img alt="Cohere" fetchpriority="high" loading="eager" width="96" height="16" decoding="async" data-nimg="1" class="fern-logo-light" style="color:transparent;aspect-ratio:6;height:16px;width:auto" src="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/logo.svg"/><img alt="Cohere" fetchpriority="high" loading="eager" width="96" height="16" decoding="async" data-nimg="1" class="fern-logo-dark" style="color:transparent;aspect-ratio:6;height:16px;width:auto" src="https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/logo-dark.svg"/><span class="font-heading text-accent ml-1 text-[1.5rem] font-light lowercase">docs</span></div></a><div><div class="flex max-w-32"><button tabindex="0" data-state="closed" aria-disabled="false" data-testid="version-dropdown" type="button" id="radix-:R15mum:" aria-haspopup="menu" aria-expanded="false" class="fern-button outlined normal primary"><span class="fern-button-content"><span class="fern-button-text">v2 API</span><svg width="1.5em" height="1.5em" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="transition-transform data-[state=open]:rotate-180"><path d="M6 9L12 15L18 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button></div></div></div></div><div class="fern-header-right-menu"><div class="lg-menu"><span class="fern-button-group"><a tabindex="0" aria-disabled="false" data-state="off" class="group cursor-pointer fern-button minimal normal" target="_blank" rel="noreferrer" href="https://coral.cohere.com/"><span class="fern-button-content"><span class="fern-button-text">CHAT</span></span></a><a tabindex="0" aria-disabled="false" data-state="off" class="group cursor-pointer fern-button minimal normal" target="_blank" rel="noreferrer" href="https://dashboard.cohere.com/"><span class="fern-button-content"><span class="fern-button-text">DASHBOARD</span></span></a><a tabindex="0" aria-disabled="false" data-state="off" class="group cursor-pointer fern-button minimal normal" target="_blank" rel="noreferrer" href="https://dashboard.cohere.com/playground/generate"><span class="fern-button-content"><span class="fern-button-text">PLAYGROUND</span></span></a><a tabindex="0" aria-disabled="false" data-state="off" class="group cursor-pointer fern-button minimal normal" href="/"><span class="fern-button-content"><span class="fern-button-text">DOCS</span></span></a><a tabindex="0" aria-disabled="false" data-state="off" class="group cursor-pointer fern-button minimal normal" target="_blank" rel="noreferrer" href="https://discord.com/invite/co-mmunity"><span class="fern-button-content"><span class="fern-button-text">COMMUNITY</span></span></a><a tabindex="0" aria-disabled="false" data-state="off" class="group cursor-pointer fern-button outlined normal primary" target="_blank" rel="noreferrer" href="https://dashboard.cohere.com/login"><span class="fern-button-content"><span class="fern-button-text">LOG IN</span><svg width="1.5em" height="1.5em" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="!size-icon transition-transform group-hover:translate-x-0.5"><path d="M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></a><button tabindex="0" data-state="closed" aria-disabled="false" title="toggle theme" type="button" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-:R4tmum:" class="fern-theme-button fern-button minimal normal primary rounded square"><span class="fern-button-content"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="fern-theme-button-icon !size-icon max-lg:!size-icon-md"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg></span></button></span></div><div class="max-lg-menu"><button tabindex="0" data-state="closed" aria-disabled="false" title="toggle theme" type="button" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-:R5dmum:" class="fern-theme-button fern-button minimal large primary rounded square"><span class="fern-button-content"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="fern-theme-button-icon !size-icon max-lg:!size-icon-md"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg></span></button><button tabindex="0" disabled="" data-state="off" aria-disabled="true" data-selected="false" id="fern-search-button" class="max-sm:block fern-button minimal large disabled rounded square"><span class="fern-button-content"><svg width="1.5em" height="1.5em" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="!size-icon-md"><path d="M17 17L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 11C3 15.4183 6.58172 19 11 19C13.213 19 15.2161 18.1015 16.6644 16.6493C18.1077 15.2022 19 13.2053 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button><button tabindex="0" data-state="off" aria-disabled="false" class="fern-button minimal large rounded square"><span class="fern-button-content"><svg width="1.5em" height="1.5em" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="!size-icon-md"><path d="M3 5H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 12H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 19H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button></div></div></nav></div><nav aria-label="tabs" class="fern-header-tabs"><ul class="fern-header-tabs-list"><li class="fern-header-tabs-list-item"><a class="fern-header-tab-button" data-state="inactive" href="/docs/the-cohere-platform"><div class="flex min-w-0 items-center justify-start space-x-2"><span class="truncate font-medium">Guides and concepts</span></div></a></li><li class="fern-header-tabs-list-item"><a class="fern-header-tab-button" data-state="inactive" href="/reference/about"><div class="flex min-w-0 items-center justify-start space-x-2"><span class="truncate font-medium">API Reference</span></div></a></li><li class="fern-header-tabs-list-item"><a class="fern-header-tab-button" data-state="inactive" href="/changelog"><div class="flex min-w-0 items-center justify-start space-x-2"><span class="truncate font-medium">Release Notes</span></div></a></li><li class="fern-header-tabs-list-item"><a class="fern-header-tab-button" data-state="inactive" target="_blank" rel="noreferrer" href="https://cohere.com/llmu"><div class="flex min-w-0 items-center justify-start space-x-2"><span class="truncate font-medium">LLMU</span></div></a></li><li class="fern-header-tabs-list-item"><a class="fern-header-tab-button" data-state="inactive" href="/page/cookbooks"><div class="flex min-w-0 items-center justify-start space-x-2"><span class="truncate font-medium">Cookbooks</span></div></a></li></ul><button id="fern-search-button" class="fern-search-bar w-96 shrink" disabled=""><span class="search-placeholder"><svg width="1.5em" height="1.5em" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="size-icon-md"><path d="M17 17L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 11C3 15.4183 6.58172 19 11 19C13.213 19 15.2161 18.1015 16.6644 16.6493C18.1077 15.2022 19 13.2053 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>Search...</span></span><kbd class="keyboard-shortcut-hint">/</kbd></button></nav></div></header><div class="fern-body"><div dir="ltr" class="fern-scroll-area fern-main" style="position:relative;--radix-scroll-area-corner-width:0px;--radix-scroll-area-corner-height:0px"><style>[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}</style><div data-radix-scroll-area-viewport="" class="fern-scroll-area-viewport fern-sidebar-hidden" data-scrollbars="vertical" style="overflow-x:hidden;overflow-y:hidden"><div style="min-width:100%;display:table"><main><style> /*Custom Styles*/ .rm-Header { position: sticky; top: 0; --Header-background: none; } #enterprise .container { margin-bottom: 0; } .rm-Flyout { background: #fbfbfb; } </style> <!-- --> <!-- --> <!-- --> <!-- --> <div class="m-auto max-w-[1195px] flex-grow overflow-y-auto px-8 pt-10 md:p-10 md:pb-14"><div class="flex flex-col gap-5 md:!grid md:grid-cols-2 md:gap-10 md:pb-7 lg:!grid-cols-3 lg:gap-x-8 lg:gap-y-10 lg:pb-16"><div class="rounded-lg bg-[#F5F4F2] dark:bg-[#0F0F0F] px-6 py-5 hover:bg-[#E9E6DE] dark:hover:bg-[#292929] md:p-8"><a class="fern-mdx-link flex h-full flex-col justify-between" target="_self" style="text-decoration:none" href="/docs"><div class="mb-5 flex flex-col justify-between gap-5"><h2 class="lg:min-h-20 [@media(min-width:1181px)]:min-h-0" data-state="closed">Guides and concepts</h2><img src="https://fern-image-hosting.s3.amazonaws.com/cohere/8da77c9-Frame_138972.png" alt="Guides and concepts"/><p class="p-lg">Understand how to use our API on a deeper level. Train and customize the model to work for you.</p></div><div class="mt-2 text-sm text-[#2D4CB9] dark:text-[#4C6EE6] md:mt-0 md:self-end">GET STARTED<div class="ml-2 inline-block group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></div></a></div><div class="rounded-lg bg-[#F5F4F2] dark:bg-[#0F0F0F] px-6 py-5 hover:bg-[#E9E6DE] dark:hover:bg-[#292929] md:p-8"><a class="fern-mdx-link flex h-full flex-col justify-between" target="_self" style="text-decoration:none" href="/reference/about"><div class="mb-5 flex flex-col justify-between gap-5"><h2 class="lg:min-h-20 [@media(min-width:1181px)]:min-h-0" data-state="closed">API reference</h2><img src="https://fern-image-hosting.s3.amazonaws.com/cohere/8ff146a-Group_138977.png" alt="API reference"/><p class="p-lg">Integrate natural language processing and generation into your products with a few lines of code.</p></div><div class="mt-2 text-sm text-[#2D4CB9] dark:text-[#4C6EE6] md:mt-0 md:self-end">GET STARTED<div class="ml-2 inline-block group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></div></a></div><div class="rounded-lg bg-[#F5F4F2] dark:bg-[#0F0F0F] px-6 py-5 hover:bg-[#E9E6DE] dark:hover:bg-[#292929] md:p-8"><a class="fern-mdx-link flex h-full flex-col justify-between" target="_self" style="text-decoration:none" href="/release-notes"><div class="mb-5 flex flex-col justify-between gap-5"><h2 class="lg:min-h-20 [@media(min-width:1181px)]:min-h-0" data-state="closed">Release notes</h2><img src="https://fern-image-hosting.s3.amazonaws.com/cohere/d51d176-Group_138977_1.png" alt="Release notes"/><p class="p-lg">Keep up with the latest releases and platform updates from Cohere.</p></div><div class="mt-2 text-sm text-[#2D4CB9] dark:text-[#4C6EE6] md:mt-0 md:self-end">GET STARTED<div class="ml-2 inline-block group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></div></a></div><div class="rounded-lg bg-[#F5F4F2] dark:bg-[#0F0F0F] px-6 py-5 hover:bg-[#E9E6DE] dark:hover:bg-[#292929] md:p-8"><a class="fern-mdx-link flex h-full flex-col justify-between" target="_self" style="text-decoration:none" href="/page/cookbooks"><div class="mb-5 flex flex-col justify-between gap-5"><h2 class="lg:min-h-20 [@media(min-width:1181px)]:min-h-0" data-state="closed">Cookbooks</h2><img src="https://fern-image-hosting.s3.amazonaws.com/cohere/7fca92c-Group_138977_2.png" alt="Cookbooks"/><p class="p-lg">A collection of resources to help developers get up and running with Cohere.</p></div><div class="mt-2 text-sm text-[#2D4CB9] dark:text-[#4C6EE6] md:mt-0 md:self-end">GET STARTED<div class="ml-2 inline-block group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></div></a></div><div class="col-span-2"><div class="mb-8 flex flex-col gap-9 px-6 py-5 md:!flex-row md:items-end md:gap-16 md:p-8 lg:gap-10"><div class="md:w-1/2"><h2 class="mb-8 mt-4 md:mt-0" id="endpoints">Endpoints</h2><p class="p-lg w-full">Our endpoints offer different ways to interact with our models and offer additional value on top of them</p></div><div class="grid grid-cols-2 gap-5 md:w-1/2 md:gap-10 lg:w-1/3 lg:gap-8"><a class="fern-mdx-link group flex cursor-pointer flex-row text-sm !font-normal text-[#2D4CB9] dark:text-[#4C6EE6]" rel="noreferrer" target="_self" href="/reference/chat">/CHAT<span class="duration-400 flex items-center transition-all ease-in-out group-hover:pl-1 group-hover:pr-2"><div class="ml-2 inline-block text-sm !text-[#2D4CB9] group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></span></a><a class="fern-mdx-link group flex cursor-pointer flex-row text-sm !font-normal text-[#2D4CB9] dark:text-[#4C6EE6]" rel="noreferrer" target="_self" href="/reference/embed">/EMBED<span class="duration-400 flex items-center transition-all ease-in-out group-hover:pl-1 group-hover:pr-2"><div class="ml-2 inline-block text-sm !text-[#2D4CB9] group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></span></a><a class="fern-mdx-link group flex cursor-pointer flex-row text-sm !font-normal text-[#2D4CB9] dark:text-[#4C6EE6]" rel="noreferrer" target="_self" href="/reference/rerank">/RERANK<span class="duration-400 flex items-center transition-all ease-in-out group-hover:pl-1 group-hover:pr-2"><div class="ml-2 inline-block text-sm !text-[#2D4CB9] group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></span></a><a class="fern-mdx-link group flex cursor-pointer flex-row text-sm !font-normal text-[#2D4CB9] dark:text-[#4C6EE6]" rel="noreferrer" target="_self" href="/reference/classify">/CLASSIFY<span class="duration-400 flex items-center transition-all ease-in-out group-hover:pl-1 group-hover:pr-2"><div class="ml-2 inline-block text-sm !text-[#2D4CB9] group-hover:no-underline"><svg width="12" height="11" viewBox="0 0 12 11" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)"><path d="M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z" fill="currentColor"></path></svg></div></span></a></div></div><div class="group hidden rounded-lg bg-cover bg-no-repeat p-6 md:!block md:h-[190px] lg:h-[230px]" style="background-image:url('https://fern-image-hosting.s3.amazonaws.com/cohere/55d9cde-InfoCards.png')"><a class="fern-mdx-link flex h-full w-full flex-col items-center justify-between !text-white md:!flex-row" target="_blank" rel="noreferrer" href="https://cohere.com/llmu"><div class="flex h-full w-[420px] flex-col items-start justify-between"><div class="flex flex-row items-start"><img class="h-7 w-7 lg:h-10 lg:w-10" src="https://fern-image-hosting.s3.amazonaws.com/cohere/9d0694c-Symbol.svg" alt=""/><h2 class="!my-0 ml-5" id="llm-university">LLM University</h2></div><p class="p-lg !text-white md:w-[260px] lg:w-[400px]">Join our learning hub to master Enterprise AI with expert-led courses and step-by-step guides</p></div><div class="flex h-full md:w-1/2"><img class="'duration-400 group-hover:pr-2' flex items-center object-contain transition-all ease-in-out group-hover:pl-1" src="https://fern-image-hosting.s3.amazonaws.com/cohere/64d7b4f-Group_138975.png" alt=""/></div><svg width="1.5em" height="1.5em" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="external-link-icon"><path d="M21 3L15 3M21 3L12 12M21 3V9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 13V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H11" stroke="currentColor" stroke-linecap="round"></path></svg></a></div></div></div><div class="block h-full w-full rounded-lg bg-cover bg-no-repeat p-6 md:hidden" style="background-image:url('https://fern-image-hosting.s3.amazonaws.com/cohere/ddd53ed-Mask_group.png')"><a class="fern-mdx-link flex h-full w-full flex-col justify-between !text-white md:!flex-row" target="_blank" rel="noreferrer" href="https://cohere.com/llmu"><div class="flex h-full flex-col justify-between"><div class="flex flex-row"><img class="h-7 w-7 lg:h-10 lg:w-10" src="https://fern-image-hosting.s3.amazonaws.com/cohere/9d0694c-Symbol.svg" alt=""/><h2 class="h3 mb-28 ml-5 mt-0" id="llm-university-1">LLM University</h2></div><p class="p-lg !text-white">New to NLP? Learn about Natural Language processing and Large Language Models through our structured curriculum.</p></div><svg width="1.5em" height="1.5em" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="external-link-icon"><path d="M21 3L15 3M21 3L12 12M21 3V9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 13V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H11" stroke="currentColor" stroke-linecap="round"></path></svg></a></div></div><style> #builtwithfern { display: flex !important; opacity: 100% !important; } #builtwithfern * { display: initial !important; width: unset !important; opacity: 100% !important; } #builtwithfern, #builtwithfern * { visibility: initial !important; overflow: visible !important; position: relative !important; left: unset !important; top: unset !important; right: unset !important; bottom: unset !important; inset: unset !important; }</style><a id="builtwithfern" class="mx-auto flex items-baseline gap-1 mx-auto my-8 w-fit" href="https://buildwithfern.com/?utm_campaign=buildWith&utm_medium=docs&utm_source=docs.cohere.com" data-state="closed"><span class="t-muted whitespace-nowrap text-xs">Built with</span><svg viewBox="0 0 604 164" fill="none" xmlns="http://www.w3.org/2000/svg" class="transition" style="aspect-ratio:604/164;height:14px;margin-top:-2px"><path fill-rule="evenodd" clip-rule="evenodd" d="M295.294 0H255.861H255.836C234.047 0 221.437 11.4661 221.437 33.483V47.2372H193.242V75.2033H221.437V160.5H253.547V75.2033H288.404V47.2372H253.547V37.3728C253.547 30.7118 257.208 27.9661 263.87 27.9661H295.294V0ZM345.26 43.8081C311.777 43.8081 288.844 67.1979 288.844 103.198H288.87C288.87 139.884 311.802 163.96 346.43 163.96C375.311 163.96 392.727 149.291 399.388 126.816H366.591C363.591 133.02 356.955 137.367 346.633 137.367C331.277 137.367 321.87 129.562 320.497 115.35H400.761C401.219 110.545 401.447 106.401 401.447 102.283C401.447 66.2826 378.744 43.8081 345.26 43.8081ZM369.108 90.5877V91.0453H320.269C321.184 77.7487 329.675 69.0284 345.26 69.0284C360.845 69.0284 369.108 77.7487 369.108 90.5877ZM412.668 47.2321H440.863V67.1898C443.609 54.3508 452.787 47.2321 467.227 47.2321H487.414V51.122C487.414 64.4186 476.634 75.1982 463.338 75.1982C450.727 75.1982 444.753 81.6304 444.753 94.4694V160.52H412.642V47.2321H412.668ZM526.939 47.24H498.744H498.719V160.503H530.829V96.0789C530.829 81.6382 539.321 72.6891 552.16 72.6891C564.999 72.6891 571.889 80.0366 571.889 95.1637V160.528H604V91.7315C604 61.7061 586.559 43.8078 558.821 43.8078C545.753 43.8078 533.601 48.8417 526.939 58.7061V47.24Z" class="fill-grayscale-a10"></path><path d="M149.383 80.2222C138.594 71.101 122.341 67.4445 107.936 78.0925C107.273 78.5747 106.449 77.751 106.952 77.1081C110.367 72.7082 114.325 67.9668 117.519 63.2053C120.774 58.3233 125.636 54.8275 131.241 53.1198C161.076 44.079 152.116 0 152.116 0C152.116 0 106.027 2.97342 111.713 42.7329C112.657 49.3829 110.889 56.1535 106.731 61.4374C101.628 67.8865 95.7008 74.0543 91.4014 78.5144C90.4973 79.4386 88.9705 78.5546 89.3321 77.309C93.4909 63.3058 96.5246 41.648 82.1195 27.685L61.848 10.849L57.9504 15.9922C46.3581 31.2812 49.7534 52.8385 65.0625 64.4108C73.8422 71.0407 77.8201 78.2533 77.1973 86.169C76.8156 90.9104 74.6659 95.3505 71.4514 98.8663C65.4041 105.496 59.7586 112.608 55.3989 120.846C54.7962 121.991 53.0483 121.549 53.1086 120.243C53.7314 106.641 52.4255 75.983 29.5221 65.0336L3.88635 55.1289L1.89737 61.0556C-4.55174 80.182 5.99588 100.614 25.1021 107.104C41.7171 112.749 47.6439 123.457 43.6458 139.51C43.465 140.092 40.572 156.627 40.9738 163.96H59.3969C60.0198 152.589 71.9536 145.115 82.3003 149.756C85.2135 151.062 88.207 152.93 91.2809 155.341C107.755 168.32 132.025 165.246 144.983 148.752L148.68 144.05L125.375 127.315C109.383 114.738 88.0463 120.424 72.255 131.192C70.929 132.096 69.2414 130.65 69.9847 129.203C89.0709 91.7542 113.883 91.8346 123.607 100.152C135.4 110.238 153.261 108.429 163.266 96.5961L166.139 93.2007L149.363 80.2222H149.383Z" class="fill-grayscale-a10"></path></svg></a></main><footer id="fern-footer"></footer></div></div></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"baseUrl":{"domain":"docs.cohere.com"},"layout":{"pageWidth":{"type":"full"},"sidebarWidth":{"type":"px","value":298},"headerHeight":{"type":"px","value":50},"searchbarPlacement":"HEADER_TABS","tabsPlacement":"HEADER","contentAlignment":"CENTER","headerPosition":"FIXED","disableHeader":false},"title":"Cohere","favicon":"d877f6ae-73f9-4c76-ad3e-f629ce1a9d62","colors":{"light":{"accentPrimary":{"r":57,"g":89,"b":77,"a":1},"logo":"5ab911aa-f1d1-4468-9df4-231498146b96","background":{"type":"solid","r":232,"g":230,"b":222,"a":1},"border":{"r":224,"g":224,"b":224,"a":1},"cardBackground":{"r":232,"g":230,"b":222,"a":1},"sidebarBackground":{"r":250,"g":250,"b":250,"a":1},"headerBackground":{"r":250,"g":250,"b":250,"a":1}},"dark":{"accentPrimary":{"r":81,"g":123,"b":106,"a":1},"logo":"9ff0a53c-c2f4-429f-b0f5-b7ca7b8d0247","background":{"type":"solid","r":15,"g":15,"b":15,"a":1},"border":{"r":41,"g":41,"b":41,"a":1},"cardBackground":{"r":26,"g":26,"b":26,"a":1},"sidebarBackground":{"r":28,"g":28,"b":28,"a":1},"headerBackground":{"r":28,"g":28,"b":28,"a":1}}},"navbarLinks":[{"type":"secondary","href":"https://coral.cohere.com/","text":"CHAT"},{"type":"secondary","href":"https://dashboard.cohere.com/","text":"DASHBOARD"},{"type":"secondary","href":"https://dashboard.cohere.com/playground/generate","text":"PLAYGROUND"},{"type":"secondary","href":"/","text":"DOCS"},{"type":"secondary","href":"https://discord.com/invite/co-mmunity","text":"COMMUNITY"},{"type":"primary","href":"https://dashboard.cohere.com/login","text":"LOG IN"}],"logo":{"height":16,"href":"","light":{"src":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/logo.svg","width":96,"height":16},"dark":{"src":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/logo-dark.svg","width":96,"height":16}},"content":{"slug":"cohere-documentation","title":{"engine":"mdx-bundler","code":"var Component=(()=\u003e{var f=Object.create;var s=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var h=(n,t)=\u003e()=\u003e(t||n((t={exports:{}}).exports,t),t.exports),l=(n,t)=\u003e{for(var e in t)s(n,e,{get:t[e],enumerable:!0})},d=(n,t,e,u)=\u003e{if(t\u0026\u0026typeof t==\"object\"||typeof t==\"function\")for(let o of C(t))!_.call(n,o)\u0026\u0026o!==e\u0026\u0026s(n,o,{get:()=\u003et[o],enumerable:!(u=x(t,o))||u.enumerable});return n};var D=(n,t,e)=\u003e(e=n!=null?f(M(n)):{},d(t||!n||!n.__esModule?s(e,\"default\",{value:n,enumerable:!0}):e,n)),X=n=\u003ed(s({},\"__esModule\",{value:!0}),n);var m=h((g,i)=\u003e{i.exports=_jsx_runtime});var v={};l(v,{default:()=\u003ep,frontmatter:()=\u003ej});var r=D(m());var{useMDXComponents:c}=MdxJsReact;var j=void 0;function a(n){let t={p:\"p\",...c(),...n.components};return(0,r.jsx)(t.p,{children:\"Cohere Documentation\"})}function p(n={}){let{wrapper:t}={...c(),...n.components};return t?(0,r.jsx)(t,{...n,children:(0,r.jsx)(a,{...n})}):a(n)}return X(v);})();\n;return Component;","frontmatter":{},"scope":{},"jsxRefs":[]},"tableOfContents":[{"simpleString":"Endpoints","anchorString":"endpoints","children":[]},{"simpleString":"LLM University","anchorString":"llm-university","children":[]},{"simpleString":"LLM University","anchorString":"llm-university-1","children":[]}],"content":{"engine":"mdx-bundler","code":"var Component=(()=\u003e{var w=Object.create;var l=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var k=(t,n)=\u003e()=\u003e(n||t((n={exports:{}}).exports,n),n.exports),L=(t,n)=\u003e{for(var o in n)l(t,o,{get:n[o],enumerable:!0})},c=(t,n,o,a)=\u003e{if(n\u0026\u0026typeof n==\"object\"||typeof n==\"function\")for(let r of v(n))!N.call(t,r)\u0026\u0026r!==o\u0026\u0026l(t,r,{get:()=\u003en[r],enumerable:!(a=b(n,r))||a.enumerable});return t};var C=(t,n,o)=\u003e(o=t!=null?w(y(t)):{},c(n||!t||!t.__esModule?l(o,\"default\",{value:t,enumerable:!0}):o,t)),_=t=\u003ec(l({},\"__esModule\",{value:!0}),t);var m=k((M,d)=\u003e{d.exports=_jsx_runtime});var S={};L(S,{EndpointLink:()=\u003eg,LandingPageCard:()=\u003ep,cards:()=\u003ef,default:()=\u003ex,endpoints:()=\u003eu,frontmatter:()=\u003eE});var e=C(m());var{useMDXComponents:s}=MdxJsReact;var E={layout:\"custom\",\"no-image-zoom\":!0,description:\"Cohere's API documentation helps developers easily integrate natural language processing and generation into their products.\"},p=({href:t,title:n,imgSrc:o,description:a})=\u003e{let r={a:\"a\",div:\"div\",h2:\"h2\",img:\"img\",p:\"p\",path:\"path\",svg:\"svg\",...s()};return(0,e.jsx)(r.div,{className:\"rounded-lg bg-[#F5F4F2] dark:bg-[#0F0F0F] px-6 py-5 hover:bg-[#E9E6DE] dark:hover:bg-[#292929] md:p-8\",children:(0,e.jsxs)(r.a,{href:t,target:\"_self\",className:\"flex h-full flex-col justify-between\",style:{textDecoration:\"none\"},children:[(0,e.jsxs)(r.div,{className:\"mb-5 flex flex-col justify-between gap-5\",children:[(0,e.jsx)(r.h2,{className:\"lg:min-h-20 [@media(min-width:1181px)]:min-h-0\",children:n}),(0,e.jsx)(r.img,{src:o,alt:n}),(0,e.jsx)(r.p,{className:\"p-lg\",children:a})]}),(0,e.jsxs)(r.div,{className:\"mt-2 text-sm text-[#2D4CB9] dark:text-[#4C6EE6] md:mt-0 md:self-end\",children:[\"GET STARTED\",(0,e.jsx)(r.div,{className:\"ml-2 inline-block group-hover:no-underline\",children:(0,e.jsx)(r.svg,{width:\"12\",height:\"11\",viewBox:\"0 0 12 11\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{transform:\"rotate(-90deg)\"},children:(0,e.jsx)(r.path,{d:\"M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z\",fill:\"currentColor\"})})})]})]})})},g=({href:t,title:n})=\u003e{let o={a:\"a\",div:\"div\",path:\"path\",span:\"span\",svg:\"svg\",...s()};return(0,e.jsxs)(o.a,{href:t,className:\"group flex cursor-pointer flex-row text-sm !font-normal text-[#2D4CB9] dark:text-[#4C6EE6]\",rel:\"noreferrer\",target:\"_self\",children:[n,(0,e.jsx)(o.span,{className:\"duration-400 flex items-center transition-all ease-in-out group-hover:pl-1 group-hover:pr-2\",children:(0,e.jsx)(o.div,{className:\"ml-2 inline-block text-sm !text-[#2D4CB9] group-hover:no-underline\",children:(0,e.jsx)(o.svg,{width:\"12\",height:\"11\",viewBox:\"0 0 12 11\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{transform:\"rotate(-90deg)\"},children:(0,e.jsx)(o.path,{d:\"M6 10.75L0.75 5.31686L1.74907 4.27907L5.2556 8.00291L5.2556 0.25L6.7444 0.25L6.7444 8.00291L10.2509 4.27907L11.25 5.31686L6 10.75Z\",fill:\"currentColor\"})})})})]})},f=[{href:\"/docs\",imgSrc:\"https://fern-image-hosting.s3.amazonaws.com/cohere/8da77c9-Frame_138972.png\",title:\"Guides and concepts\",description:\"Understand how to use our API on a deeper level. Train and customize the model to work for you.\"},{href:\"/reference/about\",imgSrc:\"https://fern-image-hosting.s3.amazonaws.com/cohere/8ff146a-Group_138977.png\",title:\"API reference\",description:\"Integrate natural language processing and generation into your products with a few lines of code.\"},{href:\"/release-notes\",imgSrc:\"https://fern-image-hosting.s3.amazonaws.com/cohere/d51d176-Group_138977_1.png\",title:\"Release notes\",description:\"Keep up with the latest releases and platform updates from Cohere.\"},{href:\"/page/cookbooks\",imgSrc:\"https://fern-image-hosting.s3.amazonaws.com/cohere/7fca92c-Group_138977_2.png\",title:\"Cookbooks\",description:\"A collection of resources to help developers get up and running with Cohere.\"}],u=[{href:\"/reference/chat\",title:\"/CHAT\"},{href:\"/reference/embed\",title:\"/EMBED\"},{href:\"/reference/rerank\",title:\"/RERANK\"},{href:\"/reference/classify\",title:\"/CLASSIFY\"}];function h(t){let{A:n,FernErrorBoundary:o,Image:a}={...s(),...t.components};return n||i(\"A\",!0),o||i(\"FernErrorBoundary\",!0),a||i(\"Image\",!0),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(\"style\",{children:(0,e.jsx)(o,{fallback:`{\\`\n\n /*Custom Styles*/\n .rm-Header {\n position: sticky;\n top: 0;\n --Header-background: none;\n }\n\n #enterprise .container {\n margin-bottom: 0;\n }\n .rm-Flyout {\n background: #fbfbfb;\n }\n\n\\`}`,children:`\n\n /*Custom Styles*/\n .rm-Header {\n position: sticky;\n top: 0;\n --Header-background: none;\n }\n\n #enterprise .container {\n margin-bottom: 0;\n }\n .rm-Flyout {\n background: #fbfbfb;\n }\n\n`})}),`\n`,`\n`,`\n`,`\n`,`\n`,(0,e.jsxs)(\"div\",{className:\"m-auto max-w-[1195px] flex-grow overflow-y-auto px-8 pt-10 md:p-10 md:pb-14\",children:[(0,e.jsxs)(\"div\",{className:\"flex flex-col gap-5 md:!grid md:grid-cols-2 md:gap-10 md:pb-7 lg:!grid-cols-3 lg:gap-x-8 lg:gap-y-10 lg:pb-16\",children:[(0,e.jsx)(o,{fallback:`{cards.map((card) =\u003e (\n \u003cLandingPageCard\n key={card.href}\n href={card.href}\n imgSrc={card.imgSrc}\n title={card.title}\n description={card.description}\n /\u003e\n ))}`,children:f.map(r=\u003e(0,e.jsx)(p,{href:r.href,imgSrc:r.imgSrc,title:r.title,description:r.description},r.href))}),(0,e.jsxs)(\"div\",{className:\"col-span-2\",children:[(0,e.jsxs)(\"div\",{className:\"mb-8 flex flex-col gap-9 px-6 py-5 md:!flex-row md:items-end md:gap-16 md:p-8 lg:gap-10\",children:[(0,e.jsxs)(\"div\",{className:\"md:w-1/2\",children:[(0,e.jsx)(\"h2\",{className:\"mb-8 mt-4 md:mt-0\",id:\"endpoints\",children:\"Endpoints\"}),(0,e.jsx)(\"p\",{className:\"p-lg w-full\",children:`Our endpoints offer different ways to interact with our models and\noffer additional value on top of them`})]}),(0,e.jsx)(\"div\",{className:\"grid grid-cols-2 gap-5 md:w-1/2 md:gap-10 lg:w-1/3 lg:gap-8\",children:(0,e.jsx)(o,{fallback:`{endpoints.map((endpoint) =\u003e (\n \u003cEndpointLink key={endpoint.href} {...endpoint} /\u003e\n ))}`,children:u.map(r=\u003e(0,e.jsx)(g,{...r},r.href))})})]}),(0,e.jsx)(\"div\",{className:\"group hidden rounded-lg bg-cover bg-no-repeat p-6 md:!block md:h-[190px] lg:h-[230px]\",style:{backgroundImage:\"url('https://fern-image-hosting.s3.amazonaws.com/cohere/55d9cde-InfoCards.png')\"},children:(0,e.jsxs)(n,{href:\"https://cohere.com/llmu\",target:\"_blank\",className:\"flex h-full w-full flex-col items-center justify-between !text-white md:!flex-row\",children:[(0,e.jsxs)(\"div\",{className:\"flex h-full w-[420px] flex-col items-start justify-between\",children:[(0,e.jsxs)(\"div\",{className:\"flex flex-row items-start\",children:[(0,e.jsx)(a,{src:\"https://fern-image-hosting.s3.amazonaws.com/cohere/9d0694c-Symbol.svg\",alt:\"\",className:\"h-7 w-7 lg:h-10 lg:w-10\"}),(0,e.jsx)(\"h2\",{className:\"!my-0 ml-5\",id:\"llm-university\",children:\"LLM University\"})]}),(0,e.jsx)(\"p\",{className:\"p-lg !text-white md:w-[260px] lg:w-[400px]\",children:`Join our learning hub to master Enterprise AI with expert-led\ncourses and step-by-step guides`})]}),(0,e.jsx)(\"div\",{className:\"flex h-full md:w-1/2\",children:(0,e.jsx)(a,{src:\"https://fern-image-hosting.s3.amazonaws.com/cohere/64d7b4f-Group_138975.png\",alt:\"\",className:\"'duration-400 group-hover:pr-2' flex items-center object-contain transition-all ease-in-out group-hover:pl-1\"})})]})})]})]}),(0,e.jsx)(\"div\",{className:\"block h-full w-full rounded-lg bg-cover bg-no-repeat p-6 md:hidden\",style:{backgroundImage:\"url('https://fern-image-hosting.s3.amazonaws.com/cohere/ddd53ed-Mask_group.png')\"},children:(0,e.jsx)(n,{href:\"https://cohere.com/llmu\",target:\"_blank\",className:\"flex h-full w-full flex-col justify-between !text-white md:!flex-row\",children:(0,e.jsxs)(\"div\",{className:\"flex h-full flex-col justify-between\",children:[(0,e.jsxs)(\"div\",{className:\"flex flex-row\",children:[(0,e.jsx)(a,{src:\"https://fern-image-hosting.s3.amazonaws.com/cohere/9d0694c-Symbol.svg\",alt:\"\",className:\"h-7 w-7 lg:h-10 lg:w-10\"}),(0,e.jsx)(\"h2\",{className:\"h3 mb-28 ml-5 mt-0\",id:\"llm-university-1\",children:\"LLM University\"})]}),(0,e.jsx)(\"p\",{className:\"p-lg !text-white\",children:`New to NLP? Learn about Natural Language processing and Large Language\nModels through our structured curriculum.`})]})})})]})]})}function x(t={}){let{wrapper:n}={...s(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(h,{...t})}):h(t)}function i(t,n){throw new Error(\"Expected \"+(n?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return _(S);})();\n;return Component;","frontmatter":{"layout":"custom","no-image-zoom":true,"description":"Cohere's API documentation helps developers easily integrate natural language processing and generation into their products.","edit-this-page-url":"https://github.com/cohere-ai/cohere-developer-experience/blob/main/fern/pages/index.mdx?plain=1"},"scope":{},"jsxRefs":[]},"breadcrumb":[],"neighbors":{"prev":null,"next":null},"hasAside":false,"type":"markdown-page","apis":{},"endpointIdsToSlugs":{}},"announcement":{"mdx":{"engine":"mdx-bundler","code":"var Component=(()=\u003e{var f=Object.create;var s=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var _=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var M=(e,n)=\u003e()=\u003e(n||e((n={exports:{}}).exports,n),n.exports),j=(e,n)=\u003e{for(var t in n)s(e,t,{get:n[t],enumerable:!0})},p=(e,n,t,i)=\u003e{if(n\u0026\u0026typeof n==\"object\"||typeof n==\"function\")for(let r of l(n))!h.call(e,r)\u0026\u0026r!==t\u0026\u0026s(e,r,{get:()=\u003en[r],enumerable:!(i=x(n,r))||i.enumerable});return e};var b=(e,n,t)=\u003e(t=e!=null?f(_(e)):{},p(n||!e||!e.__esModule?s(t,\"default\",{value:e,enumerable:!0}):t,e)),w=e=\u003ep(s({},\"__esModule\",{value:!0}),e);var m=M((D,a)=\u003e{a.exports=_jsx_runtime});var v={};j(v,{default:()=\u003eu,frontmatter:()=\u003eC});var o=b(m());var{useMDXComponents:c}=MdxJsReact;var C=void 0;function d(e){let n={p:\"p\",...c(),...e.components},{A:t}=n;return t||g(\"A\",!0),(0,o.jsxs)(n.p,{children:[\"\\u{1F680} Announcement: New API V2 endpoints are available! (\",(0,o.jsx)(t,{href:\"https://cohere.com/blog/new-api-v2\",target:\"_blank\",children:\"Learn more\"}),\") \\u{1F680}\"]})}function u(e={}){let{wrapper:n}={...c(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}function g(e,n){throw new Error(\"Expected \"+(n?\"component\":\"object\")+\" `\"+e+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return w(v);})();\n;return Component;","frontmatter":{},"scope":{},"jsxRefs":[]},"text":"🚀 Announcement: New API V2 endpoints are available! (\u003ca href=\"https://cohere.com/blog/new-api-v2\" target=\"_blank\"\u003eLearn more\u003c/a\u003e) 🚀"},"navigation":{"tabs":[{"type":"tabGroup","title":"Guides and concepts","index":0,"slug":"docs","pointsTo":"docs/the-cohere-platform"},{"type":"tabGroup","title":"API Reference","index":1,"slug":"reference","pointsTo":"reference/about"},{"type":"tabChangelog","title":"Release Notes","index":2,"slug":"changelog"},{"type":"tabLink","title":"LLMU","index":3,"url":"https://cohere.com/llmu"},{"type":"tabGroup","title":"Cookbooks","index":4,"slug":"page","pointsTo":"page/cookbooks"}],"currentVersionId":"v2 API","versions":[{"title":"v2 API","id":"v2 API","slug":"","pointsTo":"cohere-documentation","index":0},{"title":"v1 API","id":"v1 API","slug":"v1","pointsTo":"cohere-documentation","index":1}],"trailingSlash":false},"edgeFlags":{"isApiPlaygroundEnabled":true,"isApiScrollingDisabled":false,"isWhitelabeled":false,"isSeoDisabled":false,"isTocDefaultEnabled":false,"isSnippetTemplatesEnabled":true,"isSearchDisabled":false,"isHttpSnippetsEnabled":false,"isInlineFeedbackEnabled":false,"isDarkCodeEnabled":false,"isProxyDisabled":false,"isImageZoomDisabled":false,"useJavaScriptAsTypeScript":false,"alwaysEnableJavaScriptFetch":false,"scrollInContainerEnabled":true,"useMdxBundler":true,"isBatchStreamToggleDisabled":true,"isAuthEnabledInDocs":false,"isAskAiEnabled":false,"isAudioFileDownloadSpanSummary":false,"isDocsLogoTextEnabled":true,"isAudioExampleInternal":false,"usesApplicationJsonInFormDataValue":false,"isBinaryOctetStreamAudioPlayer":false,"hasVoiceIdPlaygroundForm":false,"isCohereTheme":true,"isFileForgeHackEnabled":false,"is404PageHidden":false,"isNewSearchExperienceEnabled":false,"isAuthenticatedPagesDiscoverable":false,"isSearchV2Enabled":false,"isPlaygroundFabEnabled":false},"apis":["47d8487b-e8d1-4df9-a0bd-1541ddb2fdd6","f9d9e4d7-f14c-4dc8-aafc-e0f61d77cefc"],"seo":{"openGraph":{"siteName":"Cohere"},"twitter":{},"additionalMetaTags":[],"additionalLinkTags":[{"rel":"icon","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/favicon.png","crossOrigin":"anonymous"},{"rel":"preload","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereText-Regular.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"},{"rel":"preload","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"},{"rel":"preload","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereMono-Regular.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"},{"rel":"preload","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"},{"rel":"preload","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Regular.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"},{"rel":"preload","href":"https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Bold.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}],"breadcrumbList":{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Cohere","item":"https://docs.cohere.com/"},{"@type":"ListItem","position":2,"name":"Cohere Documentation","item":"https://docs.cohere.com/cohere-documentation"}]},"canonical":"https://docs.cohere.com/cohere-documentation","title":"Cohere Documentation","description":"Cohere's API documentation helps developers easily integrate natural language processing and generation into their products.","titleTemplate":"%s — Cohere","noindex":false,"nofollow":false},"fallback":{},"theme":"cohere","analyticsConfig":{"segment":{"writeKey":"7PNQGEu91xDkqvyBvCOlm6b71DxTcYRt"}},"defaultLang":"python","stylesheet":"\n:root {\n --typography-body-font-family: 'CohereText', -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;\n --typography-heading-font-family: 'CohereHeadline', -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;\n --typography-code-font-family: 'CohereMono', ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;\n --spacing-page-width: 100%;\n --spacing-content-width: 44rem;\n --spacing-content-wide-width: 66.5rem;\n --spacing-sidebar-width: 298px;\n --spacing-header-height: 5.875rem;\n --spacing-header-height-padded: 66px;\n --spacing-header-height-real: 3.125rem;\n \n --grayscale-1: var(--sand-1);\n --grayscale-2: var(--sand-2);\n --grayscale-3: var(--sand-3);\n --grayscale-4: var(--sand-4);\n --grayscale-5: var(--sand-5);\n --grayscale-6: var(--sand-6);\n --grayscale-7: var(--sand-7);\n --grayscale-8: var(--sand-8);\n --grayscale-9: var(--sand-9);\n --grayscale-10: var(--sand-10);\n --grayscale-11: var(--sand-11);\n --grayscale-12: var(--sand-12);\n --grayscale-a1: var(--sand-a1);\n --grayscale-a2: var(--sand-a2);\n --grayscale-a3: var(--sand-a3);\n --grayscale-a4: var(--sand-a4);\n --grayscale-a5: var(--sand-a5);\n --grayscale-a6: var(--sand-a6);\n --grayscale-a7: var(--sand-a7);\n --grayscale-a8: var(--sand-a8);\n --grayscale-a9: var(--sand-a9);\n --grayscale-a10: var(--sand-a10);\n --grayscale-a11: var(--sand-a11);\n --grayscale-a12: var(--sand-a12);\n --accent-1: #e0e2e1;\n --accent-2: #d9dddb;\n --accent-3: #cad5d0;\n --accent-4: #bcccc5;\n --accent-5: #aec3ba;\n --accent-6: #9fb8ae;\n --accent-7: #8daa9e;\n --accent-8: #729687;\n --accent-9: #39594d;\n --accent-10: #2a4a3e;\n --accent-11: #2c4c40;\n --accent-12: #1e2f28;\n --accent-a1: #94bcfe18;\n --accent-a2: #0760b111;\n --accent-a3: #01637221;\n --accent-a4: #045f5c31;\n --accent-a5: #015b4f40;\n --accent-a6: #03564751;\n --accent-a7: #034f3d65;\n --accent-a8: #00493382;\n --accent-a9: #012c1fc1;\n --accent-a10: #00281bd1;\n --accent-a11: #00291bcf;\n --accent-a12: #01150edf;\n --accent-surface: #d6dbdbcc;\n --gray-surface: #ffffffcc;\n --accent: 57, 89, 77;\n --accent-aa: 57, 89, 77;\n --accent-aaa: 51, 80, 69;\n --accent-tinted: 47, 73, 64;\n --background: 232, 230, 222;\n --accent-contrast: rgb(255, 255, 255);\n --bg-color-card: rgb(232, 230, 222);\n --sidebar-background: rgb(250, 250, 250);\n --header-background: rgb(250, 250, 250);\n --border: rgb(224, 224, 224);\n --border-concealed: rgb(224, 224, 224);\n --body-text: 0, 0, 0;\n --body-text-inverted: 255, 255, 255;\n}\n\n@media (max-width: 1024px) {\n :root {\n --spacing-header-height: 5.875rem;\n --spacing-header-height-padded: 66px;\n }\n}\n\n\n:is(.dark) {\n --grayscale-1: var(--gray-1);\n --grayscale-2: var(--gray-2);\n --grayscale-3: var(--gray-3);\n --grayscale-4: var(--gray-4);\n --grayscale-5: var(--gray-5);\n --grayscale-6: var(--gray-6);\n --grayscale-7: var(--gray-7);\n --grayscale-8: var(--gray-8);\n --grayscale-9: var(--gray-9);\n --grayscale-10: var(--gray-10);\n --grayscale-11: var(--gray-11);\n --grayscale-12: var(--gray-12);\n --grayscale-a1: var(--gray-a1);\n --grayscale-a2: var(--gray-a2);\n --grayscale-a3: var(--gray-a3);\n --grayscale-a4: var(--gray-a4);\n --grayscale-a5: var(--gray-a5);\n --grayscale-a6: var(--gray-a6);\n --grayscale-a7: var(--gray-a7);\n --grayscale-a8: var(--gray-a8);\n --grayscale-a9: var(--gray-a9);\n --grayscale-a10: var(--gray-a10);\n --grayscale-a11: var(--gray-a11);\n --grayscale-a12: var(--gray-a12);\n --accent-1: #0c100e;\n --accent-2: #131917;\n --accent-3: #1a2a23;\n --accent-4: #1e372d;\n --accent-5: #284439;\n --accent-6: #335246;\n --accent-7: #416355;\n --accent-8: #4f7968;\n --accent-9: #517b6a;\n --accent-10: #496c5e;\n --accent-11: #9bc7b4;\n --accent-12: #ceefe0;\n --accent-a1: #008f0002;\n --accent-a2: #6cf7c90b;\n --accent-a3: #70fdbf1d;\n --accent-a4: #68fdc12b;\n --accent-a5: #7ffccb39;\n --accent-a6: #8ffdd248;\n --accent-a7: #9dfdd55a;\n --accent-a8: #a0ffd871;\n --accent-a9: #a2ffd973;\n --accent-a10: #a5ffdb63;\n --accent-a11: #c6ffe6c4;\n --accent-a12: #dcffefee;\n --accent-surface: color(display-p3 0.0941 0.1333 0.1176 / 0.5);\n --gray-surface: color(display-p3 0 0 0 / 5%);\n --accent: 81, 123, 106;\n --accent-aa: 87, 132, 114;\n --accent-aaa: 120, 166, 147;\n --accent-tinted: 71, 108, 93;\n --background: 15, 15, 15;\n --accent-contrast: rgb(255, 255, 255);\n --bg-color-card: rgb(26, 26, 26);\n --bg-color-card-solid: rgb(26, 26, 26);\n --sidebar-background: rgb(28, 28, 28);\n --header-background: rgb(28, 28, 28);\n --border: rgb(41, 41, 41);\n --border-concealed: rgb(41, 41, 41);\n --body-text: 255, 255, 255;\n --body-text-inverted: 0, 0, 0;\n}\n\n@font-face {\n font-family: 'CohereText';\n src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereText-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'CohereText';\n src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'CohereHeadline';\n src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'CohereHeadline';\n src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereHeadline-Bold.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'CohereMono';\n src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereMono-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'CohereMono';\n src: url('https://files.buildwithfern.com/cohere.docs.buildwithfern.com/2025-04-07T18:12:51.286Z/assets/CohereVariable.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}\n\nhtml {\n background-color: #e8e6de;\n}\n\nhtml.dark {\n background-color: #0f0f0f;\n}\n\n\n\n.container {\n width: 100%;\n}\n\n@media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n}\n\n@media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n}\n\n@media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n}\n\n@media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n}\n\n@media (min-width: 1536px) {\n .container {\n max-width: 1536px;\n }\n}\n\n.small-tag-light {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 4px 12px;\n width: 90px;\n height: 22px;\n background: #ebebf8;\n border: 1px solid rgba(43, 38, 73, 0.2);\n border-radius: 30px;\n font-size: 10.5px;\n color: #333293;\n white-space: nowrap;\n}\n\n.small-tag-dark {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 4px 12px;\n width: 72px;\n height: 22px;\n background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),\n #2b2649;\n border: 1px solid rgba(46, 78, 74, 0.5);\n border-radius: 30px;\n font-size: 10.5px;\n color: #ebebf8;\n white-space: nowrap;\n}\n\n.visible {\n visibility: visible;\n}\n\n.collapse {\n visibility: collapse;\n}\n\n.static {\n position: static;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.sticky {\n position: sticky;\n}\n\n.inset-0 {\n inset: 0px;\n}\n\n.-right-4 {\n right: -1rem;\n}\n\n.-top-6 {\n top: -1.5rem;\n}\n\n.top-3 {\n top: 0.75rem;\n}\n\n.isolate {\n isolation: isolate;\n}\n\n.-z-10 {\n z-index: -10;\n}\n\n.order-first {\n order: -9999;\n}\n\n.order-last {\n order: 9999;\n}\n\n.col-span-2 {\n grid-column: span 2 / span 2;\n}\n\n.col-span-4 {\n grid-column: span 4 / span 4;\n}\n\n.col-span-8 {\n grid-column: span 8 / span 8;\n}\n\n.col-span-full {\n grid-column: 1 / -1;\n}\n\n.col-start-1 {\n grid-column-start: 1;\n}\n\n.col-start-2 {\n grid-column-start: 2;\n}\n\n.col-start-5 {\n grid-column-start: 5;\n}\n\n.col-start-9 {\n grid-column-start: 9;\n}\n\n.row-span-full {\n grid-row: 1 / -1;\n}\n\n.clear-none {\n clear: none;\n}\n\n.m-auto {\n margin: auto;\n}\n\n.\\!my-0 {\n margin-top: 0px !important;\n margin-bottom: 0px !important;\n}\n\n.-mx-6 {\n margin-left: -1.5rem;\n margin-right: -1.5rem;\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.my-auto {\n margin-top: auto;\n margin-bottom: auto;\n}\n\n.\\!mb-10 {\n margin-bottom: 2.5rem !important;\n}\n\n.\\!mt-0 {\n margin-top: 0px !important;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n\n.mb-28 {\n margin-bottom: 7rem;\n}\n\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.mb-8 {\n margin-bottom: 2rem;\n}\n\n.mb-auto {\n margin-bottom: auto;\n}\n\n.ml-2 {\n margin-left: 0.5rem;\n}\n\n.ml-5 {\n margin-left: 1.25rem;\n}\n\n.mt-0 {\n margin-top: 0px;\n}\n\n.mt-2 {\n margin-top: 0.5rem;\n}\n\n.mt-4 {\n margin-top: 1rem;\n}\n\n.mt-auto {\n margin-top: auto;\n}\n\n.block {\n display: block;\n}\n\n.inline-block {\n display: inline-block;\n}\n\n.inline {\n display: inline;\n}\n\n.flex {\n display: flex;\n}\n\n.table {\n display: table;\n}\n\n.inline-table {\n display: inline-table;\n}\n\n.flow-root {\n display: flow-root;\n}\n\n.grid {\n display: grid;\n}\n\n.inline-grid {\n display: inline-grid;\n}\n\n.contents {\n display: contents;\n}\n\n.list-item {\n display: list-item;\n}\n\n.hidden {\n display: none;\n}\n\n.h-32 {\n height: 8rem;\n}\n\n.h-7 {\n height: 1.75rem;\n}\n\n.h-\\[400px\\] {\n height: 400px;\n}\n\n.h-full {\n height: 100%;\n}\n\n.w-7 {\n width: 1.75rem;\n}\n\n.w-\\[420px\\] {\n width: 420px;\n}\n\n.w-full {\n width: 100%;\n}\n\n.max-w-\\[1100px\\] {\n max-width: 1100px;\n}\n\n.max-w-\\[1195px\\] {\n max-width: 1195px;\n}\n\n.max-w-none {\n max-width: none;\n}\n\n.max-w-prose {\n max-width: 65ch;\n}\n\n.flex-1 {\n flex: 1 1 0%;\n}\n\n.flex-shrink {\n flex-shrink: 1;\n}\n\n.flex-grow {\n flex-grow: 1;\n}\n\n.grow {\n flex-grow: 1;\n}\n\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.transform-gpu {\n transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-help {\n cursor: help;\n}\n\n.cursor-move {\n cursor: move;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.cursor-text {\n cursor: text;\n}\n\n.cursor-wait {\n cursor: wait;\n}\n\n.select-all {\n -webkit-user-select: all;\n -moz-user-select: all;\n user-select: all;\n}\n\n.select-auto {\n -webkit-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n}\n\n.appearance-auto {\n -webkit-appearance: auto;\n -moz-appearance: auto;\n appearance: auto;\n}\n\n.grid-flow-dense {\n grid-auto-flow: dense;\n}\n\n.grid-cols-12 {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n}\n\n.grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap;\n}\n\n.place-content-baseline {\n place-content: baseline;\n}\n\n.place-items-baseline {\n place-items: baseline;\n}\n\n.content-normal {\n align-content: normal;\n}\n\n.content-start {\n align-content: flex-start;\n}\n\n.content-end {\n align-content: flex-end;\n}\n\n.content-baseline {\n align-content: baseline;\n}\n\n.content-stretch {\n align-content: stretch;\n}\n\n.items-start {\n align-items: flex-start;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-normal {\n justify-content: normal;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.justify-evenly {\n justify-content: space-evenly;\n}\n\n.justify-stretch {\n justify-content: stretch;\n}\n\n.gap-2 {\n gap: 0.5rem;\n}\n\n.gap-3 {\n gap: 0.75rem;\n}\n\n.gap-5 {\n gap: 1.25rem;\n}\n\n.gap-9 {\n gap: 2.25rem;\n}\n\n.space-x-0 \u003e :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0px * var(--tw-space-x-reverse));\n margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.space-y-reverse \u003e :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 1;\n}\n\n.space-x-reverse \u003e :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 1;\n}\n\n.self-baseline {\n align-self: baseline;\n}\n\n.overflow-clip {\n overflow: clip;\n}\n\n.overflow-y-auto {\n overflow-y: auto;\n}\n\n.overflow-x-clip {\n overflow-x: clip;\n}\n\n.overflow-y-clip {\n overflow-y: clip;\n}\n\n.truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.overflow-ellipsis {\n text-overflow: ellipsis;\n}\n\n.text-ellipsis {\n text-overflow: ellipsis;\n}\n\n.text-clip {\n text-overflow: clip;\n}\n\n.whitespace-nowrap {\n white-space: nowrap;\n}\n\n.whitespace-break-spaces {\n white-space: break-spaces;\n}\n\n.text-wrap {\n text-wrap: wrap;\n}\n\n.text-balance {\n text-wrap: balance;\n}\n\n.text-pretty {\n text-wrap: pretty;\n}\n\n.break-all {\n word-break: break-all;\n}\n\n.break-keep {\n word-break: keep-all;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-lg {\n border-radius: 0.5rem;\n}\n\n.rounded-md {\n border-radius: 0.375rem;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-2 {\n border-width: 2px;\n}\n\n.border-x {\n border-left-width: 1px;\n border-right-width: 1px;\n}\n\n.border-y {\n border-top-width: 1px;\n border-bottom-width: 1px;\n}\n\n.border-double {\n border-style: double;\n}\n\n.border-hidden {\n border-style: hidden;\n}\n\n.bg-\\[\\#F5F4F2\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(245 244 242 / var(--tw-bg-opacity, 1));\n}\n\n.bg-neutral-200 {\n --tw-bg-opacity: 1;\n background-color: rgb(229 229 229 / var(--tw-bg-opacity, 1));\n}\n\n.bg-none {\n background-image: none;\n}\n\n.decoration-slice {\n -webkit-box-decoration-break: slice;\n box-decoration-break: slice;\n}\n\n.box-decoration-slice {\n -webkit-box-decoration-break: slice;\n box-decoration-break: slice;\n}\n\n.bg-auto {\n background-size: auto;\n}\n\n.bg-cover {\n background-size: cover;\n}\n\n.bg-\\[right_center\\] {\n background-position: right center;\n}\n\n.bg-right-bottom {\n background-position: right bottom;\n}\n\n.bg-no-repeat {\n background-repeat: no-repeat;\n}\n\n.bg-repeat-round {\n background-repeat: round;\n}\n\n.bg-repeat-space {\n background-repeat: space;\n}\n\n.fill-none {\n fill: none;\n}\n\n.stroke-none {\n stroke: none;\n}\n\n.object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n.p-2 {\n padding: 0.5rem;\n}\n\n.p-3 {\n padding: 0.75rem;\n}\n\n.p-6 {\n padding: 1.5rem;\n}\n\n.\\!py-0 {\n padding-top: 0px !important;\n padding-bottom: 0px !important;\n}\n\n.px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem;\n}\n\n.px-24 {\n padding-left: 6rem;\n padding-right: 6rem;\n}\n\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n\n.px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n\n.py-5 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.pl-1 {\n padding-left: 0.25rem;\n}\n\n.pr-1 {\n padding-right: 0.25rem;\n}\n\n.pr-12 {\n padding-right: 3rem;\n}\n\n.pt-10 {\n padding-top: 2.5rem;\n}\n\n.text-start {\n text-align: start;\n}\n\n.text-end {\n text-align: end;\n}\n\n.align-sub {\n vertical-align: sub;\n}\n\n.align-super {\n vertical-align: super;\n}\n\n.font-sans {\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n}\n\n.text-6xl {\n font-size: 3.75rem;\n line-height: 1;\n}\n\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.\\!font-normal {\n font-weight: 400 !important;\n}\n\n.font-extralight {\n font-weight: 200;\n}\n\n.font-medium {\n font-weight: 500;\n}\n\n.font-semibold {\n font-weight: 600;\n}\n\n.font-thin {\n font-weight: 100;\n}\n\n.uppercase {\n text-transform: uppercase;\n}\n\n.lowercase {\n text-transform: lowercase;\n}\n\n.capitalize {\n text-transform: capitalize;\n}\n\n.italic {\n font-style: italic;\n}\n\n.not-italic {\n font-style: normal;\n}\n\n.ordinal {\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n.\\!text-\\[\\#2D4CB9\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(45 76 185 / var(--tw-text-opacity, 1)) !important;\n}\n\n.\\!text-white {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;\n}\n\n.text-\\[\\#2D4CB9\\] {\n --tw-text-opacity: 1;\n color: rgb(45 76 185 / var(--tw-text-opacity, 1));\n}\n\n.text-\\[\\#39594D\\] {\n --tw-text-opacity: 1;\n color: rgb(57 89 77 / var(--tw-text-opacity, 1));\n}\n\n.mix-blend-plus-darker {\n mix-blend-mode: plus-darker;\n}\n\n.mix-blend-plus-lighter {\n mix-blend-mode: plus-lighter;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.outline {\n outline-style: solid;\n}\n\n.outline-black {\n outline-color: #000;\n}\n\n.outline-white {\n outline-color: #fff;\n}\n\n.ring {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.ring-inset {\n --tw-ring-inset: inset;\n}\n\n.ring-offset-0 {\n --tw-ring-offset-width: 0px;\n}\n\n.blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.blur-0 {\n --tw-blur: blur(0);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.blur-none {\n --tw-blur: ;\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.backdrop-blur-none {\n --tw-backdrop-blur: ;\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n.backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n.transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.delay-0 {\n transition-delay: 0s;\n}\n\n.duration-0 {\n transition-duration: 0s;\n}\n\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.image-desktop {\n display: none;\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n}\n\n@media (min-width: 768px) {\n .image-desktop {\n display: block;\n }\n}\n\n.image-mobile {\n display: block;\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n}\n\n@media (min-width: 768px) {\n .image-mobile {\n display: none;\n }\n}\n\n.\\[i\\:i\\+BATCH_SIZE\\] {\n i: i+BATCH SIZE;\n}\n\n.\\[i\\:i_end\\] {\n i: i end;\n}\n\n.\\[start\\:end\\] {\n start: end;\n}\n\n.fern-changelog\u003emain {\n width: 100%;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: 400 !important;\n font-family: CohereText !important;\n}\n\nh1 {\n font-size: 35px !important;\n}\n\nh2 {\n letter-spacing: -0.01em;\n font-style: normal;\n font-size: 24px !important;\n line-height: 110%;\n}\n\n.fern-sidebar-heading-content {\n font-weight: 500 !important;\n}\n\n.fern-header-tab-button .font-medium {\n font-weight: 400 !important;\n}\n\n.fern-mdx-link {\n font-weight: 400 !important;\n}\n\n.fern-announcement .fern-mdx-link, .fern-announcement svg.external-link-icon {\n color: #fff !important;\n}\n\n.font-semibold {\n font-weight: 500 !important;\n}\n\n.fern-api-property-key {\n font-weight: 500 !important;\n}\n\nth {\n font-weight: 500 !important;\n}\n\n/*! BEGIN STYLESHEET_HUB2 */\n\nbutton[class^=\"Sidebar-link-buttonWrapper\"] {\n display: none !important;\n}\n\n.flex-col-to-row {\n flex-direction: column;\n}\n\n.flex-row-to-col {\n flex-direction: row;\n}\n\n.w-100-to-50 {\n max-width: 100%;\n}\n\n.w-100-to-75-to-50 {\n max-width: 100%;\n}\n\n.h1-title {\n font-family: CohereText !important;\n letter-spacing: -0.01em;\n font-style: normal;\n font-weight: 400;\n font-size: 35px !important;\n line-height: 100%;\n}\n\n.h2-title {\n font-family: CohereText !important;\n letter-spacing: -0.01em;\n font-style: normal;\n font-weight: 400 !important;\n font-size: 24px !important;\n line-height: 110%;\n}\n\n.h3-title {\n font-family: CohereText !important;\n font-style: normal;\n font-weight: 500;\n font-size: 16.8px !important;\n line-height: 124%;\n margin-block-start: 1em !important;\n margin-block-end: 1em !important;\n}\n\n.h4-title {\n font-family: CohereText !important;\n font-style: normal;\n font-weight: 500;\n font-size: 16px !important;\n line-height: 150%;\n margin-block-start: 1em !important;\n margin-block-end: 1em !important;\n}\n\n.p-base {\n font-family: CohereText !important;\n font-style: normal;\n font-weight: 400;\n font-size: 14px !important;\n line-height: 150%;\n letter-spacing: 0.03em;\n}\n\n@media only screen and (min-width: 768px) {\n .flex-col-to-row {\n flex-direction: row;\n }\n\n .flex-row-to-col {\n flex-direction: column;\n }\n\n .w-100-to-50 {\n max-width: 45%;\n }\n\n .w-100-to-75-to-50 {\n max-width: 75%;\n }\n}\n\n@media only screen and (min-width: 1024px) {\n .w-100-to-75-to-50 {\n max-width: 50%;\n }\n\n .p-base {\n font-size: 16px;\n }\n}\n\n@media (max-width: 1024px) {\n .fern-body {\n gap: 0px !important;\n }\n}\n\n/*! END STYLESHEET_HUB2 */\n\n/*~~~~~~~~~GENERAL STYLES~~~~~~~~~~~*/\n\n.grid-container-fluid {\n margin: 0 !important;\n}\n\n#content-container {\n max-width: 100% !important;\n}\n\n#content-head h1 {\n display: none;\n}\n\n.page-title {\n margin-bottom: 24px !important;\n}\n\n/* Mobile First Design */\n\n:root {\n --simple-card-bg-color: #f5f4f2;\n --divider-border-color: #bdbdbd;\n}\n\n.dark {\n --simple-card-bg-color: #1a1a1a;\n --divider-border-color: #1a1a1a;\n}\n\n.divider {\n border: solid var(--divider-border-color);\n border-width: 1px 0px 0px 0px;\n margin-bottom: 40px;\n}\n\n.page-title-container {\n display: flex;\n flex-direction: column;\n justify-content: start;\n height: 100%;\n padding-top: 40px;\n}\n\n.page-secondary-title-container {\n margin-top: 48px;\n margin-bottom: 32px;\n}\n\n.page-blurb {\n width: 100%;\n}\n\n.all-cards-container {\n padding-left: 16px;\n padding-right: 16px;\n padding-bottom: 40px;\n}\n\n.cards-container {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n\n.small-tag-container {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}\n\n.simple-card-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border: 1px solid var(--divider-border-color);\n border-radius: 10px;\n}\n\n.simple-card-text-and-link-container {\n background: var(--simple-card-bg-color);\n border-top: 1px solid var(--divider-border-color);\n border-radius: 0px 0px 10px 10px;\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n}\n\n.simple-card-text-container {\n display: flex;\n flex-direction: column;\n /* padding: 0px 24px 0px 24px; */\n /* if there is a tag or time data exists on the card */\n padding: 32px 24px 16px 24px;\n}\n\n.simple-card-link-container {\n display: flex;\n flex-direction: column;\n padding: 14px 24px 17px 24px;\n text-decoration: none;\n margin-top: auto;\n}\n\n.toc-list {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n}\n\n.toc-item {\n padding: 8px 16px 8px 0px;\n border-radius: 10px;\n margin-right: 8px;\n white-space: nowrap;\n}\n\n/* MD and above */\n\n@media only screen and (min-width: 768px) {\n .page-blurb {\n width: 60%;\n }\n\n .all-cards-container {\n padding-left: 0px;\n padding-right: 0px;\n padding-bottom: 0px;\n }\n\n .page-title-container {\n min-height: 260px;\n background-image: none !important;\n height: auto;\n padding-top: 0px;\n justify-content: center;\n }\n\n .page-secondary-title-container {\n margin-top: 70px;\n }\n\n .cards-container {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n grid-auto-rows: auto;\n gap: 40px;\n }\n\n .p-title {\n min-height: 72px;\n }\n\n .simple-card-link-container {\n padding-top: 0px;\n }\n\n .toc-list {\n flex-direction: row;\n }\n}\n\n/* LG and higher */\n\n@media only screen and (min-width: 1024px) {\n .page-title-container {\n padding-top: 0px;\n }\n\n .page-blurb {\n width: 50%;\n }\n\n .cards-container {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n grid-auto-rows: auto;\n gap: 40px;\n }\n\n .p-title {\n min-height: 72px;\n }\n}\n\n.header {\n padding: 9px 0 17px 0;\n display: flex;\n flex-direction: column;\n}\n\n.fern-header .fern-button-text {\n font-family: CohereText,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif !important;\n -webkit-font-smoothing: unset !important;\n}\n\n.fern-sidebar-content .fern-button-text {\n font-family: CohereText,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif !important;\n -webkit-font-smoothing: unset !important;\n}\n\n#content {\n padding: 0 32px;\n}\n\n#content-head {\n display: none;\n}\n\n.guide-page-title {\n font-size: 29px !important;\n}\n\n.back-button .github-button {\n border-radius: 0 !important;\n border-width: 0 !important;\n background-color: inherit !important;\n}\n\n.cookbook-nav-container {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n\n.authors-container {\n display: flex;\n flex-direction: row;\n flex-flow: row wrap;\n gap: 2px 14px;\n}\n\n.author-container:not(:is(.simple-card-container *)) {\n margin-bottom: 10px;\n margin-top: -10px;\n}\n\n.author-container:is(.simple-card-container *) {\n margin-top: 20px;\n}\n\n.author-container {\n line-height: 1.5em;\n display: flex;\n flex-direction: row;\n vertical-align: middle;\n flex-shrink: 0;\n}\n\n.author-image {\n height: 1.5em;\n margin: 0px 6px 6px 0px !important;\n border-radius: 50%;\n}\n\n.author-name {\n white-space: nowrap;\n vertical-align: middle;\n}\n\n@media only screen and (min-width: 620px) {\n .guide-page-title {\n width: 70%;\n }\n\n .header {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 9px 0 17px 0;\n }\n\n .git--button {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 8px 16px;\n width: 154px;\n height: 35px;\n background: #d4d9d4;\n border: 1px solid #9daaa4;\n border-radius: 6px;\n }\n}\n\n@media only screen and (min-width: 1024px) {\n .guide-page-title {\n font-size: 46px !important;\n }\n\n .header {\n padding: 9px 0 32px 0;\n }\n}\n\n.side {\n width: 40% !important;\n float: right !important;\n margin-left: .75rem !important;\n}\n\n.light-bg {\n background-color: #f7f7f7 !important;\n border-color: #e0e0e0 !important;\n border-radius: .5rem !important;\n border-width: 1px !important;\n padding: 15px !important;\n}\n\n.dark-text {\n color: #1a1a1a !important;\n}\n\n.dataframe {\n display: block !important;\n overflow: auto !important;\n border-color: #e0e0e0 !important;\n border-radius: .5rem !important;\n border-width: 1px !important;\n}\n\n:is(.dark) .dataframe {\n border-color: #ffffff22 !important;\n}\n\n.fern-table td {\n max-width: 400px !important;\n overflow: wrap !important;\n}\n\n.fern-table th {\n max-width: 400px !important;\n overflow: wrap !important;\n}\n\n.orange-text {\n color: #e69138 !important;\n white-space : pre-wrap !important;\n}\n\n.dark-orange-text{\n color: #b45f06 !important;\n}\n\n.dark-red-text {\n color: #a20302 !important;\n white-space : pre-wrap !important;\n}\n\n.red-text {\n color: #cc0100 !important;\n}\n\n.bloody-red-text {\n color: #a31515 !important;\n}\n\n.dark-pink-text {\n color: #b80672 !important;\n}\n\n.magenta-text {\n color: #cc669f !important;\n white-space : pre-wrap !important;\n}\n\n.dark-magenta-text {\n color: #78345a !important;\n}\n\n.sangria-text {\n color: #981ea0 !important;\n}\n\n.dark-sangria-text {\n color: #6b1570 !important;\n}\n\n.brown-text {\n color: #5b0f00 !important;\n}\n\n.green-text {\n color: #6aa84f !important;\n white-space : pre-wrap !important;\n}\n\n.grass-green-text {\n color: #38761d !important;\n}\n\n.dark-green-text {\n color: #284e13 !important;\n}\n\n.quartz-text {\n color: #a64d79 !important;\n}\n\n.blue-text {\n color: #4078f2 !important;\n}\n\n.dark-blue-text {\n color: #1255cc !important;\n}\n\n.purple-text {\n color: #674ea7 !important;\n}\n\n.dark-purple-text {\n color: #361c75 !important;\n}\n\n.markdown-body code {\n color: inherit !important;\n}\n\n.cm-s-neo .cm-keyword {\n color: inherit !important;\n}\n\n.cm-s-neo .cm-variable {\n color: inherit !important;\n}\n\n.cm-s-neo .cm-string {\n color: inherit !important;\n}\n\n.cm-s-neo .cm-property {\n color: inherit !important;\n}\n\n.theme-light {\n color: #cc669f !important;\n}\n\n.override {\n line-height:100% !important;\n}\n\n.yellow-highlight{\n background-color: yellow !important;\n display: inline-block !important;\n width: 100px !important;\n /* Adjust the width as needed */\n /*height: 20px !important;*/\n /* Adjust the height as needed */\n}\n\n.extra-yellow {\n color: #a31515 !important;\n background-color: #ffff00 !important;\n}\n\n.extra-green {\n color: #38761d !important;\n}\n\n/*\n This is hacky fix for the code block comment color\n*/\n\n.code-block-line-content span[style*=\"color: rgb(194, 195, 197)\"] {\n color: rgb(155, 156, 158) !important;\n}\n\n:is(.dark) .simple-card-container {\n --divider-border-color: #2c2c2c;\n}\n\n.dark\\:small-tag-dark:is(.dark *) {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 4px 12px;\n width: 72px;\n height: 22px;\n background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),\n #2b2649;\n border: 1px solid rgba(46, 78, 74, 0.5);\n border-radius: 30px;\n font-size: 10.5px;\n color: #ebebf8;\n white-space: nowrap;\n}\n\n@media (hover: hover) and (pointer: fine) {\n .hover\\:bg-\\[\\#E9E6DE\\]:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(233 230 222 / var(--tw-bg-opacity, 1));\n }\n\n .hover\\:text-black:hover {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n }\n\n .group:hover .group-hover\\:pl-1 {\n padding-left: 0.25rem;\n }\n\n .group:hover .group-hover\\:pr-2 {\n padding-right: 0.5rem;\n }\n\n .group:hover .group-hover\\:no-underline {\n text-decoration-line: none;\n }\n}\n\n.dark\\:bg-\\[\\#0F0F0F\\]:is(.dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(15 15 15 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:text-\\[\\#4C6EE6\\]:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(76 110 230 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:text-\\[\\#517B6A\\]:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(81 123 106 / var(--tw-text-opacity, 1));\n}\n\n@media (hover: hover) and (pointer: fine) {\n .dark\\:hover\\:bg-\\[\\#292929\\]:hover:is(.dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(41 41 41 / var(--tw-bg-opacity, 1));\n }\n\n .dark\\:hover\\:text-white:hover:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n }\n}\n\n@media not all and (min-width: 768px) {\n .max-md\\:hidden {\n display: none;\n }\n}\n\n@media (min-width: 768px) {\n .md\\:mt-0 {\n margin-top: 0px;\n }\n\n .md\\:\\!block {\n display: block !important;\n }\n\n .md\\:block {\n display: block;\n }\n\n .md\\:\\!grid {\n display: grid !important;\n }\n\n .md\\:hidden {\n display: none;\n }\n\n .md\\:h-\\[190px\\] {\n height: 190px;\n }\n\n .md\\:h-\\[300px\\] {\n height: 300px;\n }\n\n .md\\:w-1\\/2 {\n width: 50%;\n }\n\n .md\\:w-\\[260px\\] {\n width: 260px;\n }\n\n .md\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n .md\\:\\!flex-row {\n flex-direction: row !important;\n }\n\n .md\\:items-end {\n align-items: flex-end;\n }\n\n .md\\:gap-10 {\n gap: 2.5rem;\n }\n\n .md\\:gap-16 {\n gap: 4rem;\n }\n\n .md\\:self-end {\n align-self: flex-end;\n }\n\n .md\\:p-10 {\n padding: 2.5rem;\n }\n\n .md\\:p-8 {\n padding: 2rem;\n }\n\n .md\\:px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n }\n\n .md\\:pb-14 {\n padding-bottom: 3.5rem;\n }\n\n .md\\:pb-7 {\n padding-bottom: 1.75rem;\n }\n}\n\n@media (min-width: 1024px) {\n .lg\\:h-10 {\n height: 2.5rem;\n }\n\n .lg\\:h-\\[230px\\] {\n height: 230px;\n }\n\n .lg\\:min-h-20 {\n min-height: 5rem;\n }\n\n .lg\\:w-1\\/3 {\n width: 33.333333%;\n }\n\n .lg\\:w-10 {\n width: 2.5rem;\n }\n\n .lg\\:w-\\[400px\\] {\n width: 400px;\n }\n\n .lg\\:\\!grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .lg\\:gap-10 {\n gap: 2.5rem;\n }\n\n .lg\\:gap-8 {\n gap: 2rem;\n }\n\n .lg\\:gap-x-8 {\n -moz-column-gap: 2rem;\n column-gap: 2rem;\n }\n\n .lg\\:gap-y-10 {\n row-gap: 2.5rem;\n }\n\n .lg\\:px-9 {\n padding-left: 2.25rem;\n padding-right: 2.25rem;\n }\n\n .lg\\:pb-16 {\n padding-bottom: 4rem;\n }\n\n @media (hover: hover) and (pointer: fine) {\n .lg\\:hover\\:bg-blue-500:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));\n }\n }\n}\n\n@media(min-width:1181px) {\n .\\[\\@media\\(min-width\\:1181px\\)\\]\\:min-h-0 {\n min-height: 0px;\n }\n}\n\n","featureFlagsConfig":{}},"__N_SSG":true},"page":"/static/[domain]/[[...slug]]","query":{"domain":"docs.cohere.com","slug":["cohere-documentation"]},"buildId":"ti4C_PHmU--yyDNVgChyT","assetPrefix":"https://legacy.ferndocs.com","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[58494,47191,22055,82132,37110,7575],"gsp":true,"scriptLoader":[]}</script></body></html>