Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **BedrockClient** = `object`

Defined in: [types/providers.ts:1908](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1908)
Defined in: [types/providers.ts:1918](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1918)

## Properties

### config

> **config**: `object`

Defined in: [types/providers.ts:1910](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1910)
Defined in: [types/providers.ts:1920](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1920)

#### region?

Expand All @@ -32,7 +32,7 @@ Defined in: [types/providers.ts:1910](https://github.com/juspay/neurolink/blob/r

> **send**(`command`): `Promise`\<`unknown`\>

Defined in: [types/providers.ts:1909](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1909)
Defined in: [types/providers.ts:1919](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1919)

#### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **InvokeModelCommand** = `object`

Defined in: [types/providers.ts:1917](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1917)
Defined in: [types/providers.ts:1927](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1927)

## Properties

### input

> **input**: `object`

Defined in: [types/providers.ts:1918](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1918)
Defined in: [types/providers.ts:1928](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1928)

#### modelId

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **MistralClient** = `object`

Defined in: [types/providers.ts:1931](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1931)
Defined in: [types/providers.ts:1941](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1941)

## Properties

### chat?

> `optional` **chat?**: `object`

Defined in: [types/providers.ts:1932](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1932)
Defined in: [types/providers.ts:1942](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1942)

#### complete?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **Counter** = `object`

Defined in: [types/providers.ts:1952](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1952)
Defined in: [types/providers.ts:1962](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1962)

## Methods

### add()

> **add**(`value`, `attributes?`): `void`

Defined in: [types/providers.ts:1953](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1953)
Defined in: [types/providers.ts:1963](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1963)

#### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **Histogram** = `object`

Defined in: [types/providers.ts:1956](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1956)
Defined in: [types/providers.ts:1966](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1966)

## Methods

### record()

> **record**(`value`, `attributes?`): `void`

Defined in: [types/providers.ts:1957](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1957)
Defined in: [types/providers.ts:1967](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1967)

#### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **Meter** = `object`

Defined in: [types/providers.ts:1943](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1943)
Defined in: [types/providers.ts:1953](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1953)

## Methods

### createCounter()

> **createCounter**(`name`, `options?`): [`Counter`](Counter.md)

Defined in: [types/providers.ts:1944](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1944)
Defined in: [types/providers.ts:1954](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1954)

#### Parameters

Expand All @@ -38,7 +38,7 @@ Defined in: [types/providers.ts:1944](https://github.com/juspay/neurolink/blob/r

> **createHistogram**(`name`, `options?`): [`Histogram`](Histogram.md)

Defined in: [types/providers.ts:1945](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1945)
Defined in: [types/providers.ts:1955](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1955)

#### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **Span** = `object`

Defined in: [types/providers.ts:1960](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1960)
Defined in: [types/providers.ts:1970](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1970)

## Methods

### end()

> **end**(): `void`

Defined in: [types/providers.ts:1961](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1961)
Defined in: [types/providers.ts:1971](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1971)

#### Returns

Expand All @@ -28,7 +28,7 @@ Defined in: [types/providers.ts:1961](https://github.com/juspay/neurolink/blob/r

> **setStatus**(`status`): `void`

Defined in: [types/providers.ts:1962](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1962)
Defined in: [types/providers.ts:1972](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1972)

#### Parameters

Expand All @@ -46,7 +46,7 @@ Defined in: [types/providers.ts:1962](https://github.com/juspay/neurolink/blob/r

> **recordException**(`exception`): `void`

Defined in: [types/providers.ts:1963](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1963)
Defined in: [types/providers.ts:1973](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1973)

#### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

> **Tracer** = `object`

Defined in: [types/providers.ts:1948](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1948)
Defined in: [types/providers.ts:1958](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1958)

## Methods

### startSpan()

> **startSpan**(`name`, `options?`): [`Span`](Span.md)

Defined in: [types/providers.ts:1949](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1949)
Defined in: [types/providers.ts:1959](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1959)

#### Parameters

Expand Down
16 changes: 8 additions & 8 deletions docs/api/type-aliases/BatchInferenceConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **BatchInferenceConfig** = `object`

Defined in: [types/providers.ts:1727](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1727)
Defined in: [types/providers.ts:1737](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1737)

Batch inference job configuration

Expand All @@ -18,7 +18,7 @@ Batch inference job configuration

> **inputS3Uri**: `string`

Defined in: [types/providers.ts:1729](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1729)
Defined in: [types/providers.ts:1739](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1739)

Input S3 location

Expand All @@ -28,7 +28,7 @@ Input S3 location

> **outputS3Uri**: `string`

Defined in: [types/providers.ts:1731](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1731)
Defined in: [types/providers.ts:1741](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1741)

Output S3 location

Expand All @@ -38,7 +38,7 @@ Output S3 location

> **modelName**: `string`

Defined in: [types/providers.ts:1733](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1733)
Defined in: [types/providers.ts:1743](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1743)

SageMaker model name

Expand All @@ -48,7 +48,7 @@ SageMaker model name

> **instanceType**: `string`

Defined in: [types/providers.ts:1735](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1735)
Defined in: [types/providers.ts:1745](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1745)

Instance type for batch job

Expand All @@ -58,7 +58,7 @@ Instance type for batch job

> **instanceCount**: `number`

Defined in: [types/providers.ts:1737](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1737)
Defined in: [types/providers.ts:1747](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1747)

Instance count for batch job

Expand All @@ -68,7 +68,7 @@ Instance count for batch job

> `optional` **maxPayloadInMB?**: `number`

Defined in: [types/providers.ts:1739](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1739)
Defined in: [types/providers.ts:1749](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1749)

Maximum payload size in MB

Expand All @@ -78,6 +78,6 @@ Maximum payload size in MB

> `optional` **batchStrategy?**: `"MultiRecord"` \| `"SingleRecord"`

Defined in: [types/providers.ts:1741](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1741)
Defined in: [types/providers.ts:1751](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1751)

Batch strategy
18 changes: 9 additions & 9 deletions docs/api/type-aliases/CollectedChunkResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@

> **CollectedChunkResult** = `object`

Defined in: [types/providers.ts:2060](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2060)
Defined in: [types/providers.ts:2070](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2070)

## Properties

### rawResponseParts

> **rawResponseParts**: `unknown`[]

Defined in: [types/providers.ts:2061](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2061)
Defined in: [types/providers.ts:2071](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2071)

---

### stepFunctionCalls

> **stepFunctionCalls**: [`NativeFunctionCall`](NativeFunctionCall.md)[]

Defined in: [types/providers.ts:2062](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2062)
Defined in: [types/providers.ts:2072](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2072)

---

### finishReason?

> `optional` **finishReason?**: `string`

Defined in: [types/providers.ts:2064](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2064)
Defined in: [types/providers.ts:2074](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2074)

Raw `Candidate.finishReason` from the last chunk that carried one.

Expand All @@ -42,23 +42,23 @@ Raw `Candidate.finishReason` from the last chunk that carried one.

> **inputTokens**: `number`

Defined in: [types/providers.ts:2065](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2065)
Defined in: [types/providers.ts:2075](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2075)

---

### outputTokens

> **outputTokens**: `number`

Defined in: [types/providers.ts:2066](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2066)
Defined in: [types/providers.ts:2076](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2076)

---

### cacheReadTokens?

> `optional` **cacheReadTokens?**: `number`

Defined in: [types/providers.ts:2072](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2072)
Defined in: [types/providers.ts:2082](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2082)

Gemini cached-content tokens (overlapping: included in promptTokenCount).
Surfaced so the call site can subtract from input and bill at cacheRead
Expand All @@ -70,7 +70,7 @@ rate. Subtraction happens at the call site, not in the collector.

> `optional` **cacheCreationTokens?**: `number`

Defined in: [types/providers.ts:2074](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2074)
Defined in: [types/providers.ts:2084](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2084)

Cache creation tokens (symmetry; Gemini does not emit this).

Expand All @@ -80,7 +80,7 @@ Cache creation tokens (symmetry; Gemini does not emit this).

> `optional` **reasoningTokens?**: `number`

Defined in: [types/providers.ts:2080](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2080)
Defined in: [types/providers.ts:2090](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L2090)

Gemini thinking tokens (usageMetadata.thoughtsTokenCount). Billed at the
output rate but NOT included in candidatesTokenCount — Gemini reports
Expand Down
10 changes: 5 additions & 5 deletions docs/api/type-aliases/CostEstimate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **CostEstimate** = `object`

Defined in: [types/providers.ts:1799](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1799)
Defined in: [types/providers.ts:1809](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1809)

Cost estimation data

Expand All @@ -18,7 +18,7 @@ Cost estimation data

> **estimatedCost**: `number`

Defined in: [types/providers.ts:1801](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1801)
Defined in: [types/providers.ts:1811](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1811)

Estimated cost in USD

Expand All @@ -28,7 +28,7 @@ Estimated cost in USD

> **currency**: `string`

Defined in: [types/providers.ts:1803](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1803)
Defined in: [types/providers.ts:1813](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1813)

Currency code

Expand All @@ -38,7 +38,7 @@ Currency code

> **breakdown**: `object`

Defined in: [types/providers.ts:1805](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1805)
Defined in: [types/providers.ts:1815](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1815)

Cost breakdown

Expand Down Expand Up @@ -66,7 +66,7 @@ Total processing hours

> `optional` **period?**: `object`

Defined in: [types/providers.ts:1814](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1814)
Defined in: [types/providers.ts:1824](https://github.com/juspay/neurolink/blob/release/src/lib/types/providers.ts#L1824)

Time period for estimate

Expand Down
Loading
Loading