Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Nov 6, 2023
1 parent 98f7fd5 commit ab3d939
Show file tree
Hide file tree
Showing 99 changed files with 669 additions and 297 deletions.
15 changes: 8 additions & 7 deletions docs/pages/docs/classes/AbstractDatastore.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Extended By

- [`AbstractHybridDatastore`](AbstractHybridDatastore.md)
- [`PineconeDatastore`](PineconeDatastore.md)

## Type parameters

Expand All @@ -29,14 +30,14 @@

#### Source

[src/datastore/datastore.ts:36](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L36)
[src/datastore/datastore.ts:36](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L36)

## Properties

| Modifier | Property | Type | Description | Source |
| :------ | :------ | :------ | :------ | :------ |
| `abstract` | `datastoreProvider` | [`Provider`](../namespaces/Datastore/type-aliases/Provider.md) | - | [src/datastore/datastore.ts:26](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L26) |
| `abstract` | `datastoreType` | [`Type`](../namespaces/Datastore/type-aliases/Type.md) | - | [src/datastore/datastore.ts:25](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L25) |
| `abstract` | `datastoreProvider` | [`Provider`](../namespaces/Datastore/type-aliases/Provider.md) | - | [src/datastore/datastore.ts:26](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L26) |
| `abstract` | `datastoreType` | [`Type`](../namespaces/Datastore/type-aliases/Type.md) | - | [src/datastore/datastore.ts:25](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L25) |

## Methods

Expand All @@ -56,7 +57,7 @@

#### Source

[src/datastore/datastore.ts:22](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L22)
[src/datastore/datastore.ts:22](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L22)

***

Expand All @@ -70,7 +71,7 @@

#### Source

[src/datastore/datastore.ts:23](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L23)
[src/datastore/datastore.ts:23](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L23)

***

Expand All @@ -91,7 +92,7 @@

#### Source

[src/datastore/datastore.ts:53](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L53)
[src/datastore/datastore.ts:53](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L53)

***

Expand All @@ -112,4 +113,4 @@

#### Source

[src/datastore/datastore.ts:18](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L18)
[src/datastore/datastore.ts:18](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L18)
14 changes: 7 additions & 7 deletions docs/pages/docs/classes/AbstractHybridDatastore.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@

#### Source

[src/datastore/hybrid-datastore.ts:11](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/hybrid-datastore.ts#L11)
[src/datastore/hybrid-datastore.ts:11](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/hybrid-datastore.ts#L11)

## Properties

| Modifier | Property | Type | Description | Inheritance | Source |
| :------ | :------ | :------ | :------ | :------ | :------ |
| `abstract` | `datastoreProvider` | [`Provider`](../namespaces/Datastore/type-aliases/Provider.md) | - | [`AbstractDatastore`](AbstractDatastore.md).`datastoreProvider` | [src/datastore/datastore.ts:26](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L26) |
| `abstract` | `datastoreType` | [`Type`](../namespaces/Datastore/type-aliases/Type.md) | - | [`AbstractDatastore`](AbstractDatastore.md).`datastoreType` | [src/datastore/datastore.ts:25](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L25) |
| `abstract` | `datastoreProvider` | [`Provider`](../namespaces/Datastore/type-aliases/Provider.md) | - | [`AbstractDatastore`](AbstractDatastore.md).`datastoreProvider` | [src/datastore/datastore.ts:26](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L26) |
| `abstract` | `datastoreType` | [`Type`](../namespaces/Datastore/type-aliases/Type.md) | - | [`AbstractDatastore`](AbstractDatastore.md).`datastoreType` | [src/datastore/datastore.ts:25](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L25) |

## Methods

Expand All @@ -64,7 +64,7 @@

#### Source

[src/datastore/datastore.ts:22](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L22)
[src/datastore/datastore.ts:22](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L22)

***

Expand All @@ -82,7 +82,7 @@

#### Source

[src/datastore/datastore.ts:23](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L23)
[src/datastore/datastore.ts:23](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L23)

***

Expand All @@ -107,7 +107,7 @@

#### Source

[src/datastore/datastore.ts:53](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L53)
[src/datastore/datastore.ts:53](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L53)

***

Expand All @@ -132,4 +132,4 @@

#### Source

[src/datastore/datastore.ts:18](https://github.com/dexaai/llm-tools/blob/1257af6/src/datastore/datastore.ts#L18)
[src/datastore/datastore.ts:18](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/datastore/datastore.ts#L18)
36 changes: 18 additions & 18 deletions docs/pages/docs/classes/AbstractModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@

#### Source

[src/model/model.ts:67](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L67)
[src/model/model.ts:67](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L67)

## Properties

| Modifier | Property | Type | Description | Source |
| :------ | :------ | :------ | :------ | :------ |
| `abstract` | `modelProvider` | [`Provider`](../namespaces/Model/type-aliases/Provider.md) | - | [src/model/model.ts:57](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L57) |
| `abstract` | `modelType` | [`Type`](../namespaces/Model/type-aliases/Type.md) | - | [src/model/model.ts:56](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L56) |
| `public` | `tokenizer` | [`ITokenizer`](../namespaces/Model/interfaces/ITokenizer.md) | - | [src/model/model.ts:65](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L65) |
| `abstract` | `modelProvider` | [`Provider`](../namespaces/Model/type-aliases/Provider.md) | - | [src/model/model.ts:57](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L57) |
| `abstract` | `modelType` | [`Type`](../namespaces/Model/type-aliases/Type.md) | - | [src/model/model.ts:56](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L56) |
| `public` | `tokenizer` | [`ITokenizer`](../namespaces/Model/interfaces/ITokenizer.md) | - | [src/model/model.ts:65](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L65) |

## Methods

Expand All @@ -65,7 +65,7 @@ Add event handlers to the model.

#### Source

[src/model/model.ts:235](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L235)
[src/model/model.ts:235](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L235)

***

Expand All @@ -87,7 +87,7 @@ Add the params. Overrides existing keys.

#### Source

[src/model/model.ts:213](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L213)
[src/model/model.ts:213](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L213)

***

Expand Down Expand Up @@ -115,7 +115,7 @@ Clone the model, optionally adding new arguments

#### Source

[src/model/model.ts:52](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L52)
[src/model/model.ts:52](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L52)

***

Expand All @@ -131,7 +131,7 @@ Get the current client

#### Source

[src/model/model.ts:180](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L180)
[src/model/model.ts:180](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L180)

***

Expand All @@ -147,7 +147,7 @@ Get the current context

#### Source

[src/model/model.ts:191](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L191)
[src/model/model.ts:191](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L191)

***

Expand All @@ -163,7 +163,7 @@ Get the current event handlers

#### Source

[src/model/model.ts:230](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L230)
[src/model/model.ts:230](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L230)

***

Expand All @@ -179,7 +179,7 @@ Get the current params

#### Source

[src/model/model.ts:208](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L208)
[src/model/model.ts:208](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L208)

***

Expand All @@ -200,7 +200,7 @@ Get the current params

#### Source

[src/model/model.ts:78](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L78)
[src/model/model.ts:78](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L78)

***

Expand All @@ -222,7 +222,7 @@ Set the cache to a new cache. Set to undefined to remove existing.

#### Source

[src/model/model.ts:174](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L174)
[src/model/model.ts:174](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L174)

***

Expand All @@ -244,7 +244,7 @@ Set the client to a new OpenAI API client.

#### Source

[src/model/model.ts:185](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L185)
[src/model/model.ts:185](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L185)

***

Expand All @@ -266,7 +266,7 @@ Set the context to a new context. Removes all existing values.

#### Source

[src/model/model.ts:202](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L202)
[src/model/model.ts:202](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L202)

***

Expand All @@ -289,7 +289,7 @@ Set to empty object `{}` to remove all events.

#### Source

[src/model/model.ts:244](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L244)
[src/model/model.ts:244](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L244)

***

Expand All @@ -311,7 +311,7 @@ Set the params to a new params. Removes all existing values.

#### Source

[src/model/model.ts:223](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L223)
[src/model/model.ts:223](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L223)

***

Expand All @@ -333,4 +333,4 @@ Add the context. Overrides existing keys.

#### Source

[src/model/model.ts:196](https://github.com/dexaai/llm-tools/blob/1257af6/src/model/model.ts#L196)
[src/model/model.ts:196](https://github.com/dexaai/llm-tools/blob/98f7fd5/src/model/model.ts#L196)
Loading

0 comments on commit ab3d939

Please sign in to comment.