Skip to content

Commit

Permalink
Merge pull request #582 from ai16z/new_api_docs
Browse files Browse the repository at this point in the history
feat: update api docs
  • Loading branch information
lalalune authored Nov 25, 2024
2 parents 11dfe9a + 63cd52d commit 12c2213
Show file tree
Hide file tree
Showing 127 changed files with 990 additions and 624 deletions.
88 changes: 48 additions & 40 deletions docs/api/classes/AgentRuntime.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@ai16z/eliza v0.1.3](../index.md) / AgentRuntime
[@ai16z/eliza v0.1.4-alpha.3](../index.md) / AgentRuntime

# Class: AgentRuntime

Expand Down Expand Up @@ -83,7 +83,7 @@ Custom fetch function to use for making requests.

#### Defined in

[packages/core/src/runtime.ts:197](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L197)
[packages/core/src/runtime.ts:202](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L202)

## Properties

Expand All @@ -99,7 +99,7 @@ The ID of the agent

#### Defined in

[packages/core/src/runtime.ts:61](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L61)
[packages/core/src/runtime.ts:62](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L62)

***

Expand All @@ -115,7 +115,7 @@ The base URL of the server where the agent's requests are processed.

#### Defined in

[packages/core/src/runtime.ts:65](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L65)
[packages/core/src/runtime.ts:66](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L66)

***

Expand All @@ -131,7 +131,7 @@ The database adapter used for interacting with the database.

#### Defined in

[packages/core/src/runtime.ts:70](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L70)
[packages/core/src/runtime.ts:71](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L71)

***

Expand All @@ -147,7 +147,7 @@ Authentication token used for securing requests.

#### Defined in

[packages/core/src/runtime.ts:75](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L75)
[packages/core/src/runtime.ts:76](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L76)

***

Expand All @@ -163,7 +163,7 @@ Custom actions that the agent can perform.

#### Defined in

[packages/core/src/runtime.ts:80](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L80)
[packages/core/src/runtime.ts:81](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L81)

***

Expand All @@ -179,7 +179,7 @@ Evaluators used to assess and guide the agent's responses.

#### Defined in

[packages/core/src/runtime.ts:85](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L85)
[packages/core/src/runtime.ts:86](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L86)

***

Expand All @@ -195,7 +195,7 @@ Context providers used to provide context for message generation.

#### Defined in

[packages/core/src/runtime.ts:90](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L90)
[packages/core/src/runtime.ts:91](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L91)

***

Expand All @@ -209,7 +209,7 @@ Context providers used to provide context for message generation.

#### Defined in

[packages/core/src/runtime.ts:92](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L92)
[packages/core/src/runtime.ts:93](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L93)

***

Expand All @@ -225,7 +225,7 @@ The model to use for generateText.

#### Defined in

[packages/core/src/runtime.ts:97](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L97)
[packages/core/src/runtime.ts:98](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L98)

***

Expand Down Expand Up @@ -260,7 +260,7 @@ Some environments may not have access to the global fetch function and need a cu

#### Defined in

[packages/core/src/runtime.ts:103](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L103)
[packages/core/src/runtime.ts:104](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L104)

***

Expand All @@ -276,7 +276,7 @@ The character to use for the agent

#### Defined in

[packages/core/src/runtime.ts:108](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L108)
[packages/core/src/runtime.ts:109](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L109)

***

Expand All @@ -292,7 +292,7 @@ Store messages that are sent and received by the agent.

#### Defined in

[packages/core/src/runtime.ts:113](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L113)
[packages/core/src/runtime.ts:114](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L114)

***

Expand All @@ -308,7 +308,7 @@ Store and recall descriptions of users based on conversations.

#### Defined in

[packages/core/src/runtime.ts:118](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L118)
[packages/core/src/runtime.ts:119](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L119)

***

Expand All @@ -324,7 +324,7 @@ Manage the creation and recall of static information (documents, historical game

#### Defined in

[packages/core/src/runtime.ts:123](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L123)
[packages/core/src/runtime.ts:124](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L124)

***

Expand All @@ -334,9 +334,13 @@ Manage the creation and recall of static information (documents, historical game
Hold large documents that can be referenced

#### Implementation of

[`IAgentRuntime`](../interfaces/IAgentRuntime.md).[`documentsManager`](../interfaces/IAgentRuntime.md#documentsManager)

#### Defined in

[packages/core/src/runtime.ts:128](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L128)
[packages/core/src/runtime.ts:129](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L129)

***

Expand All @@ -346,9 +350,13 @@ Hold large documents that can be referenced
Searchable document fragments

#### Implementation of

[`IAgentRuntime`](../interfaces/IAgentRuntime.md).[`knowledgeManager`](../interfaces/IAgentRuntime.md#knowledgeManager)

#### Defined in

[packages/core/src/runtime.ts:133](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L133)
[packages/core/src/runtime.ts:134](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L134)

***

Expand All @@ -362,7 +370,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:135](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L135)
[packages/core/src/runtime.ts:136](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L136)

***

Expand All @@ -372,7 +380,7 @@ Searchable document fragments
#### Defined in

[packages/core/src/runtime.ts:136](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L136)
[packages/core/src/runtime.ts:137](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L137)

***

Expand All @@ -386,7 +394,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:137](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L137)
[packages/core/src/runtime.ts:138](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L138)

## Methods

Expand All @@ -408,7 +416,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:139](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L139)
[packages/core/src/runtime.ts:140](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L140)

***

Expand All @@ -430,7 +438,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:154](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L154)
[packages/core/src/runtime.ts:155](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L155)

***

Expand All @@ -456,7 +464,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:158](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L158)
[packages/core/src/runtime.ts:159](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L159)

***

Expand All @@ -478,7 +486,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:167](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L167)
[packages/core/src/runtime.ts:168](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L168)

***

Expand All @@ -496,7 +504,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:312](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L312)
[packages/core/src/runtime.ts:359](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L359)

***

Expand All @@ -518,7 +526,7 @@ Searchable document fragments

#### Defined in

[packages/core/src/runtime.ts:408](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L408)
[packages/core/src/runtime.ts:423](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L423)

***

Expand All @@ -540,7 +548,7 @@ The number of recent messages to be kept in memory.

#### Defined in

[packages/core/src/runtime.ts:430](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L430)
[packages/core/src/runtime.ts:445](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L445)

***

Expand All @@ -566,7 +574,7 @@ The action to register.

#### Defined in

[packages/core/src/runtime.ts:438](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L438)
[packages/core/src/runtime.ts:453](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L453)

***

Expand All @@ -588,7 +596,7 @@ The evaluator to register.

#### Defined in

[packages/core/src/runtime.ts:447](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L447)
[packages/core/src/runtime.ts:462](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L462)

***

Expand All @@ -610,7 +618,7 @@ The context provider to register.

#### Defined in

[packages/core/src/runtime.ts:455](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L455)
[packages/core/src/runtime.ts:470](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L470)

***

Expand Down Expand Up @@ -642,7 +650,7 @@ The message to process.

#### Defined in

[packages/core/src/runtime.ts:464](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L464)
[packages/core/src/runtime.ts:479](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L479)

***

Expand Down Expand Up @@ -678,7 +686,7 @@ The results of the evaluation.

#### Defined in

[packages/core/src/runtime.ts:537](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L537)
[packages/core/src/runtime.ts:556](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L556)

***

Expand Down Expand Up @@ -710,7 +718,7 @@ An error if the participant cannot be added.

#### Defined in

[packages/core/src/runtime.ts:607](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L607)
[packages/core/src/runtime.ts:626](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L626)

***

Expand Down Expand Up @@ -746,7 +754,7 @@ The user name to ensure the existence of.

#### Defined in

[packages/core/src/runtime.ts:623](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L623)
[packages/core/src/runtime.ts:642](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L642)

***

Expand All @@ -770,7 +778,7 @@ The user name to ensure the existence of.

#### Defined in

[packages/core/src/runtime.ts:643](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L643)
[packages/core/src/runtime.ts:662](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L662)

***

Expand Down Expand Up @@ -800,7 +808,7 @@ The user name to ensure the existence of.

#### Defined in

[packages/core/src/runtime.ts:660](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L660)
[packages/core/src/runtime.ts:679](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L679)

***

Expand Down Expand Up @@ -831,7 +839,7 @@ An error if the room cannot be created.

#### Defined in

[packages/core/src/runtime.ts:696](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L696)
[packages/core/src/runtime.ts:715](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L715)

***

Expand Down Expand Up @@ -861,7 +869,7 @@ The state of the agent.

#### Defined in

[packages/core/src/runtime.ts:709](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L709)
[packages/core/src/runtime.ts:728](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L728)

***

Expand All @@ -883,4 +891,4 @@ The state of the agent.

#### Defined in

[packages/core/src/runtime.ts:1181](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L1181)
[packages/core/src/runtime.ts:1173](https://github.com/ai16z/eliza/blob/main/packages/core/src/runtime.ts#L1173)
2 changes: 1 addition & 1 deletion docs/api/classes/CacheManager.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@ai16z/eliza v0.1.3](../index.md) / CacheManager
[@ai16z/eliza v0.1.4-alpha.3](../index.md) / CacheManager

# Class: CacheManager\<CacheAdapter\>

Expand Down
Loading

0 comments on commit 12c2213

Please sign in to comment.