# Source: https://docs.aimlapi.com/api-references/embedding-models/anthropic/voyage-large-2-instruct.md

# voyage-large-2-instruct

{% columns %}
{% column width="66.66666666666666%" %}
{% hint style="info" %}
This documentation is valid for the following list of our models:

* `voyage-large-2-instruct`
  {% endhint %}
  {% endcolumn %}

{% column width="33.33333333333334%" %} <a href="https://aimlapi.com/app/voyage-large-2-instruct" class="button primary">Try in Playground</a>
{% endcolumn %}
{% endcolumns %}

## Model Overview

An instruction-tuned, general-purpose text embedding model optimized for tasks such as clustering, classification, and retrieval. It is designed to perform exceptionally well on the Massive Text Embedding Benchmark (MTEB), ranking first in several key areas.

## Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our [Quickstart guide](https://docs.aimlapi.com/quickstart/setting-up).

## API Schema

{% openapi src="<https://3927338786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FROMd1X5PuqtikJ48n2N9%2Fuploads%2Fgit-blob-a7e98534c6e1f5a72876ae258894308c390bc56e%2Fvoyage-large-2-instruct.json?alt=media&token=5efe7ce8-7a58-47bd-807e-81912ced7b75>" path="/v1/embeddings" method="post" %}
[voyage-large-2-instruct.json](https://3927338786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FROMd1X5PuqtikJ48n2N9%2Fuploads%2Fgit-blob-a7e98534c6e1f5a72876ae258894308c390bc56e%2Fvoyage-large-2-instruct.json?alt=media\&token=5efe7ce8-7a58-47bd-807e-81912ced7b75)
{% endopenapi %}

## Code Example

{% tabs %}
{% tab title="Python" %}

<pre class="language-python"><code class="lang-python">import openai
<strong>
</strong># Initialize the API client
client = openai.OpenAI(
    # Insert your AIML API Key instead of &#x3C;YOUR_AIMLAPI_KEY>
    api_key="&#x3C;YOUR_AIMLAPI_KEY>",
    base_url="https://api.aimlapi.com/v1",
)

# Define the text for which to generate an embedding
text = "Laura is a DJ."

# Request the embedding
response = client.embeddings.create(
    input=text,
    model="voyage-large-2-instruct"
)

# Print the embedding
print(response)
</code></pre>

{% endtab %}

{% tab title="JS" %}

```javascript
import OpenAI from "openai";
import util from "util";

// Initialize the API client
const client = new OpenAI({
  // Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>
  apiKey: "<YOUR_AIMLAPI_KEY>",
  baseURL: "https://api.aimlapi.com/v1",
});

// Define the text for which to generate an embedding
const text = "Laura is a DJ.";

const response = await client.embeddings.create({
  input: text,
  model: "voyage-large-2-instruct",
});

// Convert embedding to a regular array (not TypedArray)
const pythonLikeResponse = {
  ...response,
  data: response.data.map(item => ({
    ...item,
    embedding: Array.from(item.embedding),
  })),
};

// Python-like print
console.log(
  util.inspect(pythonLikeResponse, {
    depth: null,
    maxArrayLength: null,
    compact: true,
  })
);
```

{% endtab %}
{% endtabs %}

This example shows how to set up an API client, send text to the embedding API, and print the response with the embedding vector. See how large a vector response the model generates from just a single short input phrase.

<details>

<summary>Response</summary>

{% code overflow="wrap" %}

```json
CreateEmbeddingResponse(data=[Embedding(embedding=[0.03671441972255707, 0.002773779910057783, -0.011865917593240738, 0.03921204060316086, 0.0628889948129654, 0.011656975373625755, 0.0020900098606944084, 0.002376382937654853, 0.006883290130645037, 0.006720184814184904, -0.012811696156859398, 0.026598026975989342, -0.02126833237707615, -0.004691239912062883, -0.055087000131607056, -0.042521897703409195, -0.013980692252516747, -0.019960040226578712, 0.013892094604671001, -0.004676965996623039, -0.002246932126581669, -0.006324880290776491, 0.006354904733598232, 0.07155899703502655, 0.04829808697104454, -0.040650706738233566, -0.005283612757921219, -0.0571434460580349, -0.038971103727817535, 0.018540389835834503, 0.018107369542121887, 0.03350992873311043, 0.013146399520337582, 0.015538609586656094, 0.008222836069762707, -0.02103896252810955, 0.038168806582689285, -0.027608223259449005, 0.0042088753543794155, 0.02329951710999012, -0.02128531225025654, -0.0001676758547546342, 0.024676261469721794, 0.012053695507347584, 0.02132493630051613, 0.0070019131526350975, -0.010757403448224068, -0.03847126662731171, -0.0015586399240419269, -0.01550358533859253, -0.03266935795545578, -0.02283770777285099, -0.006839114706963301, -0.051231034100055695, -0.018777264282107353, -0.005221102386713028, 0.010743190534412861, -0.0071330866776406765, -0.014005795121192932, -0.034320224076509476, -3.2485764677403495e-05, -0.019023308530449867, -0.019702123478055, -0.03250810131430626, 0.016037631779909134, -0.021856028586626053, 0.05038406699895859, -0.003004441037774086, -0.016607055440545082, 0.011917230673134327, -0.008754913695156574, 0.04357128590345383, 0.020918862894177437, 0.025733893737196922, -0.04195487126708031, -0.006851543672382832, -0.024190327152609825, -0.031003234907984734, 0.016851253807544708, 0.043438881635665894, -0.03366909548640251, 0.04568273574113846, -0.024544471874833107, -0.0023505419958382845, 0.010619768872857094, -0.0643387958407402, 0.025440292432904243, -0.00899381935596466, 0.011275759898126125, 0.04912290722131729, 0.04743758216500282, -0.05060494691133499, 0.05246450752019882, -0.0003577740862965584, 0.008307003416121006, -0.0071627418510615826, -0.05375520512461662, -0.005060888361185789, -0.045655298978090286, 0.018526608124375343, -0.017911653965711594, -0.014070519246160984, -0.0059895627200603485, -0.034230154007673264, 0.04403199627995491, -0.029186490923166275, -0.031910866498947144, -0.011127359233796597, -0.0023291618563234806, 0.04406546428799629, 0.016603240743279457, -0.06500992178916931, -0.015948541462421417, 0.07229657471179962, -0.013226136565208435, 0.0770847499370575, 0.016746167093515396, 0.008181613869965076, -0.006104862783104181, -0.03903607651591301, 0.02585543878376484, -0.032939765602350235, 0.0017463559051975608, 0.022217001765966415, -0.007296622730791569, 0.0031004217453300953, 0.08759196102619171, 0.019186288118362427, -0.05054391548037529, 0.0010108733549714088, -0.028127256780862808, 0.032830554991960526, 0.07918258011341095, -0.010381970554590225, -0.0005510274786502123, -0.02616826817393303, -0.025783607736229897, 0.028589442372322083, -0.026730863377451897, 0.04346398264169693, 0.024613382294774055, 0.049200184643268585, 0.024977369233965874, -0.041146665811538696, 0.025218306109309196, 0.03163916617631912, -0.012939670123159885, 0.016072578728199005, 0.007885796017944813, 0.009954486973583698, -0.02369615063071251, -0.010720302350819111, -0.003355262568220496, -0.06647177785634995, -0.0586860254406929, -0.01734789088368416, -0.03160988166928291, -0.03575107827782631, 0.011891267262399197, 0.007116843014955521, -0.030104458332061768, -0.005184924695640802, 0.061742153018713, -0.03659644350409508, 0.04123329743742943, -0.002401485573500395, 0.04137997329235077, 0.056729987263679504, 0.02883283980190754, -0.0007570167654193938, -0.018712015822529793, -0.01495854090899229, -0.0209701769053936, -0.016540177166461945, -0.0027748257853090763, -0.02218629978597164, -0.018491292372345924, 0.05212857946753502, -0.019354993477463722, -0.026805123314261436, 0.022871455177664757, -0.02152705006301403, -0.0103132463991642, 0.06564351916313171, 0.04217242822051048, -0.050693560391664505, 0.03911679983139038, -0.007338337600231171, 0.031476061791181564, -0.019859569147229195, 0.021353483200073242, 0.005730353761464357, 0.016190461814403534, -0.022968420758843422, -0.04246357083320618, -0.00555432727560401, 0.03709086775779724, 0.022240212187170982, 0.003157025668770075, -0.01691228523850441, 0.018107738345861435, -0.012137862853705883, 0.022582774981856346, -0.012193236500024796, 0.050697483122348785, 0.016785049811005592, 0.013812357559800148, 0.024350296705961227, -0.008098061196506023, -0.010806931182742119, 0.018290776759386063, 0.0016817383002489805, -0.03759520500898361, 0.0252256877720356, 0.043343886733055115, 0.04402583837509155, -0.042509838938713074, 0.016580229625105858, -0.025652432814240456, -0.010642456822097301, -0.011107978411018848, -0.023055817931890488, -0.04954522103071213, 0.024811802431941032, 0.03137534484267235, 0.0028754824306815863, -0.012920105829834938, -0.014156164601445198, 0.0320555754005909, 0.02064802497625351, 0.011785442009568214, -0.006067947018891573, 0.024687211960554123, -0.01982123963534832, 0.024356326088309288, -0.010516282171010971, 0.06345798820257187, -0.007579473312944174, 0.07675205171108246, 0.026710189878940582, -0.03383127972483635, 0.0030879934784024954, 0.004062197171151638, -0.01823091320693493, 0.05037693306803703, -0.06543421000242233, -0.008802903816103935, 0.019868245348334312, -0.02548852749168873, -0.02440960705280304, 0.0059450180269777775, 0.03109995275735855, -0.020905574783682823, -0.033592741936445236, -0.05035293847322464, 0.004756949841976166, -0.06419543921947479, 0.016474466770887375, -0.057072319090366364, -0.0368560254573822, -0.009027105756103992, 0.01822919026017189, 0.04416685923933983, 0.020378606393933296, -0.0028970164712518454, 0.04731994867324829, -0.02932947687804699, -0.019969269633293152, -0.04463839530944824, 0.022401396185159683, 0.012450415641069412, 0.024162517860531807, -0.006138271652162075, 0.003700423985719681, 0.01853165216743946, 0.027010438963770866, 0.022407302632927895, 0.03281455859541893, 0.03311579301953316, -0.04965006187558174, 0.02726687677204609, 0.015746736899018288, 0.01506141945719719, -0.018169879913330078, 0.0029987806919962168, 0.039811305701732635, -0.009593391790986061, -0.017576275393366814, 0.034143153578042984, 0.00013775686966255307, 0.0027259739581495523, -0.002810633974149823, 0.00899240467697382, -0.015876678749918938, -0.021613122895359993, 0.038425739854574203, 0.010043269023299217, -0.04625578969717026, -0.0208616741001606, 0.032990772277116776, -0.004167037550359964, -0.009210360236465931, 0.024112435057759285, -0.028418155387043953, -0.025161700323224068, -0.01933985762298107, 0.024608859792351723, -0.041107289493083954, 0.04436866566538811, 0.09518132358789444, -0.025048524141311646, 0.012903370894491673, -0.02681269310414791, -0.04525390639901161, -0.0297707412391901, 0.008416520431637764, -0.004261541645973921, 0.0012462720042094588, -0.0011301108170300722, -0.005899119656533003, -0.035171255469322205, -0.00798103865236044, 0.0007798736914992332, 0.0038008345291018486, 0.0020936091896146536, 0.015197339467704296, 0.0037070687394589186, 0.0374675914645195, 0.026287874206900597, -0.04339519888162613, -0.017155252397060394, -0.03821704164147377, 0.01905437745153904, 0.01601376011967659, 0.016474220901727676, -0.006715201307088137, 0.00834687240421772, -0.038653936237096786, 0.00974572915583849, -0.015096775256097317, -0.010153278708457947, 0.0022588681895285845, 0.011083305813372135, 0.040272872895002365, 0.044456277042627335, -0.059757690876722336, -0.010272393003106117, 0.04805973544716835, -0.009026366285979748, 0.014799604192376137, 0.030460817739367485, -0.05090765282511711, -0.009943043813109398, -0.03339487314224243, -0.007480093277990818, 0.063599593937397, -0.012224491685628891, 0.014037788845598698, -0.0026680780574679375, -0.0627821832895279, -0.03583179786801338, 0.039652690291404724, -0.004750797059386969, 0.008922879584133625, 0.030957581475377083, -0.003927331883460283, -0.03417859598994255, -0.05452588200569153, 0.026611993089318275, 0.019128086045384407, 0.02438991889357567, -0.022002216428518295, 0.029686084017157555, 0.032306600362062454, 0.0038431643042713404, -0.020832234993577003, -0.01810835301876068, -0.04015929624438286, -0.023907924070954323, 0.007074267603456974, -0.006286256946623325, -0.001311612781137228, -0.025979751721024513, -0.018676115199923515, -0.04513970762491226, -0.00990840420126915, 0.04054838791489601, -0.041832007467746735, 0.018093587830662727, -0.02777988277375698, 0.024718713015317917, -0.01788095198571682, -0.015272123739123344, 0.0037259573582559824, 0.0005090667400509119, 0.03575390577316284, 0.030905775725841522, -0.03135663643479347, -0.013661248609423637, -0.007716415449976921, 0.05739742890000343, -0.0214819498360157, 0.014804157428443432, 0.012838875874876976, -0.007231805007904768, 0.02533397451043129, -0.013815801590681076, 0.059244681149721146, -0.05335934832692146, 0.04527432844042778, 0.013262313790619373, 0.008767465129494667, 0.002682536607608199, -0.008499211631715298, 0.0050085680559277534, 0.008761066012084484, 0.03910498693585396, 0.016096942126750946, -0.024926425889134407, -0.011211526580154896, -0.024984998628497124, 0.012834461405873299, 0.001519740093499422, -0.05313883349299431, 0.0075037190690636635, 0.007744440343230963, 0.022584497928619385, 0.015371181070804596, 0.07935189455747604, -0.045791272073984146, -0.05667289346456528, -0.03201275318861008, 0.05919841676950455, -0.01882796175777912, -0.0007235465454868972, 0.012561331503093243, -0.015163099393248558, 0.007714384701102972, 0.07204752415418625, 0.04294027388095856, -0.04904956743121147, 0.07396319508552551, -0.0024767934810370207, -0.021285559982061386, 0.023161858320236206, 0.0006822010618634522, 0.005140380002558231, 0.024754153564572334, -0.06520385295152664, 0.044503532350063324, -0.025524459779262543, -0.0018881121650338173, -0.018904253840446472, -0.00845829676836729, -0.04740780591964722, -0.03440304100513458, 0.046540290117263794, -0.03551770746707916, 0.02636859565973282, -0.03574639931321144, 0.041916172951459885, 0.07780439406633377, 0.024107391014695168, 0.02382880076766014, -0.007027754094451666, -0.02832857333123684, 0.037478234618902206, 0.006173771806061268, 0.044500574469566345, -0.005513043608516455, -0.0161442868411541, 0.04547625780105591, 0.038514088839292526, -0.005840054713189602, 0.03379787132143974, 0.014693409204483032, -0.0426124632358551, -0.014106819406151772, 0.0012925396440550685, -0.002115758368745446, 0.006941617466509342, 0.014027206227183342, 0.04609805345535278, -0.09030254930257797, -2.4364324417547323e-05, 0.026422740891575813, -0.002948821522295475, -0.020245030522346497, 0.018520822748541832, -0.027251863852143288, 0.03330479934811592, -0.03126733377575874, -0.02033313550055027, -0.019581841304898262, -0.030301282182335854, -0.026439106091856956, 0.015917040407657623, 0.058405470103025436, -0.0012152629205957055, -0.026212936267256737, -0.034299060702323914, -0.042660702019929886, -0.02034556306898594, 0.01691056229174137, 0.011257302016019821, -0.02327732741832733, 0.006777711678296328, 0.08427595347166061, 0.005824795924127102, 0.008204501122236252, 0.031184982508420944, -0.023900724947452545, 0.041486505419015884, -0.036153823137283325, -0.04145872965455055, -0.013261205516755581, -0.00974572915583849, 0.003364245407283306, 0.030476262792944908, -0.007206918206065893, 0.007862785831093788, -0.007846173830330372, 0.027641449123620987, -0.031702909618616104, 0.034495946019887924, -0.046657495200634, -0.031622182577848434, -0.06065978482365608, -0.030079849064350128, -0.0046265143901109695, 0.017041120678186417, 0.04802922159433365, -0.017348874360322952, 0.034618012607097626, 0.02908165007829666, 0.011830724775791168, 0.009412012062966824, 5.451210017781705e-05, 0.01069827564060688, 0.005100511014461517, 0.02284204587340355, 0.0075652459636330605, 0.03278256580233574, 0.01294622290879488, 0.008693387731909752, 0.010135804302990437, -0.03775682672858238, 0.01708468236029148, 0.04828627407550812, 0.051953598856925964, -0.035784054547548294, -0.04876340925693512, 0.010332544334232807, -0.03183531016111374, 0.03016069531440735, -3.740785177797079e-05, 0.0020785967353731394, 0.07719700783491135, -0.03632597625255585, 0.0593581385910511, -0.020343225449323654, -0.037507399916648865, -0.0646447092294693, -0.03817717358469963, -0.023844797164201736, -0.058841560035943985, 0.01589932106435299, 0.03730350360274315, -0.026155715808272362, -0.033087242394685745, 0.0511837862432003, -0.03960704058408737, 0.03690309077501297, -0.045143403112888336, 0.034425314515829086, -0.0478229857981205, -0.03318863734602928, 0.06627489626407623, -0.012192252092063427, 0.007638092152774334, 0.004771838895976543, 0.050013311207294464, 0.0012482409365475178, -0.008978376165032387, -0.009761849418282509, -0.005529963411390781, 0.02274889498949051, 0.0020022429525852203, 0.002159319119527936, -0.076609306037426, 0.01324139442294836, 0.026347046718001366, 0.07759176194667816, 0.008003495633602142, -0.03218847140669823, 0.004949157126247883, -0.009989003650844097, -0.008952288888394833, -0.007220699451863766, -0.03476715087890625, 0.009611906483769417, 0.03797927126288414, 0.01028961967676878, 0.04882413521409035, 0.05797533690929413, 0.04480685293674469, -0.024613289162516594, -0.010109225288033485, -0.06475889682769775, -0.012002998031675816, 0.011836632154881954, -0.0016016466543078423, 0.017576029524207115, -0.019802534952759743, 0.02601248398423195, 0.012281588278710842, -0.037675488740205765, -0.01104515977203846, 0.04555587098002434, 0.014643697999417782, -0.01428886130452156, 0.00661725178360939, 0.029204949736595154, 0.02863786369562149, 0.04377278313040733, 0.022974325343966484, -0.04664316028356552, 0.020882440730929375, 0.008736701682209969, 0.017651520669460297, 0.002709115855395794, 0.023119036108255386, -0.027614159509539604, -0.023855872452259064, 0.03988292068243027, -0.009105858393013477, 0.021539045497775078, 0.02170664444565773, -0.02905605360865593, -0.002300828928127885, -0.005732260644435883, -0.0039044443983584642, -0.0034828216303139925, 0.021050775423645973, -0.010879532434046268, 0.04445726051926613, -0.01233609952032566, 0.034147460013628006, -0.007722752634435892, 0.0055277482606470585, -0.04481558874249458, 0.036159612238407135, 0.031015047803521156, -0.05378203094005585, 0.021327396854758263, 0.08981821686029434, 0.023497790098190308, -0.0036098577547818422, 0.040165696293115616, -0.036640990525484085, -0.043712180107831955, 0.030396755784749985, -0.0058024004101753235, 0.06961896270513535, -0.05982150137424469, -0.04687855765223503, 0.015465193428099155, 0.04991868510842323, -0.006651460193097591, -0.03076697140932083, -0.020286375656723976, -0.012492746114730835, -0.0476088747382164, 0.016315974295139313, 0.03285098448395729, -0.019082926213741302, 0.008785430341959, 0.0030083786696195602, -0.025950221344828606, -0.05201266333460808, 0.043154630810022354, -0.016449179500341415, -0.0051868935115635395, 0.02086404524743557, 0.01271817646920681, -0.010849999263882637, 0.023212555795907974, -0.0228724405169487, -0.05498658865690231, -0.03854263573884964, 0.02347773313522339, -0.029816025868058205, -0.026211952790617943, -0.07801444083452225, -0.011398880742490292, -0.030489427968859673, -0.018014710396528244, 0.08153927326202393, 0.027401987463235855, 0.001569837681017816, 0.019062252715229988, 0.055958203971385956, -0.014613672159612179, -0.07708380371332169, -0.03450972959399223, -0.05217558518052101, -0.06267214566469193, -0.0021204345393925905, -0.016728200018405914, 0.050935711711645126, -0.01433385256677866, 0.044450368732213974, 0.05614524707198143, -0.05241135135293007, -0.06332951784133911, -0.0035552221816033125, -0.002987705869600177, -0.01691228523850441, 0.018723612651228905, 0.04657929763197899, -0.018956921994686127, 0.02115364745259285, 0.03488478809595108, 0.012653697282075882, 0.042262010276317596, 0.0231244508177042, -0.013843551278114319, 0.011063125915825367, -0.03082665428519249, 0.046572525054216385, -0.0025523321237415075, -0.0034181734081357718, -0.018859462812542915, -0.001081136055290699, 0.051947690546512604, -0.02541666477918625, 0.039588458836078644, 0.03871438279747963, -0.03272325545549393, -0.00596606032922864, -0.010763274505734444, 0.015606456436216831, 0.03721490502357483, -0.02751125954091549, -0.04720987752079964, 0.04312879219651222, 0.006219793576747179, 0.008839573711156845, -0.01549423299729824, 0.04895506054162979, -0.04293633624911308, 0.018714753910899162, 0.05584302917122841, 0.03767511993646622, 0.05940788984298706, -0.009825958870351315, 0.028547050431370735, 0.0011217433493584394, -0.027311177924275398, 0.027906442061066628, 0.03808938339352608, 0.017174633219838142, -0.06395536661148071, -0.06880977004766464, 0.013526136986911297, 0.00570422038435936, 0.0001932533923536539, 0.056627608835697174, -0.009782153181731701, 0.007331199944019318, -0.08482131361961365, -0.05301479622721672, 0.01038363203406334, 0.08295812457799911, 0.009122347459197044, 0.01732303388416767, -0.005332587752491236, -0.010487795807421207, -0.0029485137201845646, 0.017338907346129417, -0.005990639794617891, -0.015889476984739304, -0.028933988884091377, 0.017602363601326942, -0.04677679389715195, -0.013900215737521648, 0.006957614328712225, -0.03524213284254074, -0.004299934022128582, -0.012541843578219414, 0.012033145874738693, 0.07265392690896988, 0.026224380359053612, 0.0012622688664123416, -0.006348506081849337, -0.019161740317940712, 0.05562472343444824, -0.02158285304903984, 0.038666918873786926, 0.0052995942533016205, -0.03238412365317345, 0.09679453819990158, 0.001047050696797669, -0.012510957196354866, 0.005767207592725754, 0.03687601909041405, 0.0076938350684940815, 0.01065077818930149, -0.013181837275624275, -0.01670389622449875, -0.01965007372200489, -0.007829193025827408, -0.0183731596916914, -0.01526437234133482, 0.0011586588807404041, 0.017039215192198753, 0.03401493281126022, 0.017257817089557648, 0.042404383420944214, -0.029183045029640198, -0.03350955620408058, -0.02477777935564518, 0.02105046808719635, 0.026390254497528076, -0.028355151414871216, -0.022457508370280266, -0.02450367994606495, 0.016347723081707954, 0.00745646795257926, 0.02702225185930729, -0.01823091320693493, -0.02502978965640068, -0.034755583852529526, 0.014049417339265347, 0.006497153080999851, 0.02050713077187538, 0.007977962493896484, 0.02007201872766018, -0.04727884754538536, -0.027257895097136497, -0.02675498090684414, -0.008475277572870255, -0.011537368409335613, -0.009811685420572758, 0.004989518318325281, 0.0005414294428192079, 0.0340261310338974, -0.035423386842012405, -0.040856264531612396, -0.017227791249752045, -0.0040941135957837105, -0.023101316764950752, -0.01180069986730814, -0.016339724883437157, 0.057461414486169815, 0.02464020624756813, 0.009578255005180836, 0.05212291702628136, 0.02022927813231945, 0.006582658737897873, 0.011290526017546654, -0.0017323280917480588, -0.0525750108063221, 0.01254934910684824, 0.036653295159339905, 0.007454006467014551, -0.03352531045675278, 0.0014903767732903361, -0.0376778282225132, 0.03990728408098221, 0.01531851477921009, -0.024814201518893242, -0.004683856852352619, -0.06117168068885803, -0.010540153831243515, 0.06691280007362366, -0.04059022665023804, 0.016495877876877785, -0.003997164312750101, 0.00820081029087305, 0.012596108950674534, -0.0029131362680345774, 0.0054832035675644875, 0.0025636376813054085, 0.0010114886099472642, -0.011272559873759747, 0.029272135347127914, 0.0026666629128158092, 0.008962132968008518, 0.026943005621433258, 0.023710178211331367, 0.021437158808112144, 0.01386551558971405, -0.006134395487606525, -0.022667743265628815, 0.00028055888833478093, -0.01906496100127697, 0.010036132298409939, 0.019596301019191742, -0.019857170060276985, -0.03434828296303749, -0.0413062646985054, -0.00957939401268959, 0.05669061467051506, -0.01676144078373909, 0.039070162922143936, -0.02635014057159424, 0.033690690994262695, -0.024763504043221474, 0.014982335269451141, -0.011449509300291538, -0.011476950719952583, -0.02328478731215, 0.04392863065004349, -0.022091303020715714, -0.024317562580108643, 0.0460815504193306, 0.010189086198806763, -0.020688509568572044, 0.09157736599445343, 0.04244314506649971, 0.05135113745927811, 0.013262067921459675, -0.015856806188821793, 0.026810599491000175, -0.039803922176361084, -0.061889324337244034, 0.033589113503694534, -0.01803501509130001, 0.019316233694553375, 0.0012495944974943995, 0.0056156073696911335, 0.006527423858642578, 0.0072044567205011845, 0.020439451560378075, 0.05502596125006676, -0.06618617475032806, 0.02190524898469448, -0.023839138448238373, 0.0061934757977724075, -0.02996664308011532, -0.025421587750315666, -0.021813390776515007, 0.03513187915086746, -0.0007801505853421986, -0.012201911769807339, 0.05433588847517967, -0.0027726106345653534, -0.06555479764938354, 0.003743738168850541, 0.031761232763528824, 0.0010719686979427934, -0.0021861442364752293, -0.0225286316126585, 0.020037563517689705, 0.0304871816188097, -0.05985477566719055, 0.01137210987508297, -0.009344641119241714, 0.012415222823619843, -0.015948787331581116, 0.0028056504670530558, 0.004722740966826677, -0.02326682209968567, 0.02790231816470623, -0.03085877001285553, -0.00419170968234539, -0.011418008245527744, -0.006496660877019167, -0.0011385091347619891, 0.032572392374277115, 0.05500824749469757, -0.04246652498841286, -0.0036745830439031124, -0.02786565013229847, 0.0006057856953702867, -0.045819204300642014, 0.004780821967869997, 0.03504583612084389, 0.019412705674767494, -0.05530356988310814, -0.056122489273548126, -0.005363627802580595, 0.01906209997832775, 0.036343201994895935, -0.02910183183848858, -0.056856609880924225, -0.05945485830307007, 0.0021308939903974533, -0.006086528301239014, 0.03084203600883484, -0.03165048733353615, -0.005219379905611277, -0.030360901728272438, 0.009207499213516712, 0.018423613160848618, 0.046165719628334045, 0.007845650427043438, 0.01093469001352787, 0.031805530190467834, 0.016592226922512054, 0.018855033442378044, -0.0036353296600282192, 0.028560463339090347, -0.058793097734451294, -0.035464610904455185, 0.0014277278678491712, -0.014474868774414062, 0.027571553364396095, -0.0032052621245384216, 0.053420379757881165, -0.04518425464630127, 0.0008165740291588008, -0.06158119812607765, -0.0403512567281723, 0.009539863094687462, 0.008423703722655773, 0.006390836089849472, -0.026983365416526794, 0.06043078377842903, 0.03896765783429146, -0.02539057843387127, -0.006818810943514109, 0.009125792421400547], index=0, object='embedding')], model='voyage-large-2-instruct', object='list', usage=Usage(prompt_tokens=None, total_tokens=6), meta={'usage': {'credits_used': 2}})
```

{% endcode %}

</details>

You can find a more advanced example of using embedding vectors in our article [Find Relevant Answers: Semantic Search with Text Embeddings](https://docs.aimlapi.com/use-cases/find-relevant-answers-semantic-search-with-text-embeddings) in the Use Cases section.