Skip to content

AxDBPinecone

Class: AxDBPinecone

Pinecone: DB Service

Export

Extends

  • AxDBBase

Constructors

new AxDBPinecone()

new AxDBPinecone(__namedParameters): AxDBPinecone

Parameters

__namedParameters: Readonly<Omit<AxDBPineconeArgs, "name">>

Returns

AxDBPinecone

Overrides

AxDBBase.constructor

Defined in

src/ax/db/pinecone.ts:63

Properties

_query()?

optional _query: (req, options?) => Promise<AxDBQueryResponse>

Parameters

req: Readonly<AxDBQueryRequest>

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBQueryResponse>

Inherited from

AxDBBase._query

Defined in

src/ax/db/base.ts:42


fetch()?

protected optional fetch: (input, init?) => Promise<Response>

Parameters

input: string | URL | Request

init?: RequestInit

Returns

Promise<Response>

Inherited from

AxDBBase.fetch

Defined in

src/ax/db/base.ts:27


name

protected name: string

Inherited from

AxDBBase.name

Defined in

src/ax/db/base.ts:26

Methods

_batchUpsert()

_batchUpsert(batchReq, _update?, options?): Promise<AxDBUpsertResponse>

Parameters

batchReq: readonly AxDBUpsertRequest[]

_update?: boolean

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBUpsertResponse>

Overrides

AxDBBase._batchUpsert

Defined in

src/ax/db/pinecone.ts:86


_upsert()

_upsert(req, update?, options?): Promise<AxDBUpsertResponse>

Parameters

req: Readonly<AxDBUpsertRequest>

update?: boolean

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBUpsertResponse>

Overrides

AxDBBase._upsert

Defined in

src/ax/db/pinecone.ts:77


batchUpsert()

batchUpsert(req, update?): Promise<AxDBUpsertResponse>

Parameters

req: readonly AxDBUpsertRequest[]

update?: boolean

Returns

Promise<AxDBUpsertResponse>

Inherited from

AxDBBase.batchUpsert

Defined in

src/ax/db/base.ts:89


query()

query(req, options?): Promise<AxDBQueryResponse>

Parameters

req: Readonly<AxDBQueryRequest>

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBQueryResponse>

Overrides

AxDBBase.query

Defined in

src/ax/db/pinecone.ts:112


upsert()

upsert(req, update?): Promise<AxDBUpsertResponse>

Parameters

req: Readonly<AxDBUpsertRequest>

update?: boolean

Returns

Promise<AxDBUpsertResponse>

Inherited from

AxDBBase.upsert

Defined in

src/ax/db/base.ts:57