Skip to content

Commit

Permalink
Merge pull request #27 from statelyai/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
davidkpiano committed Jun 12, 2024
2 parents 5562319 + 26157d5 commit f558ff0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .changeset/cuddly-pillows-glow.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @statelyai/agent

## 0.1.0

### Minor Changes

- [#32](https://github.com/statelyai/agent/pull/32) [`537f501`](https://github.com/statelyai/agent/commit/537f50111b5f8edc1a309d1abb8fffcdddddbc03) Thanks [@davidkpiano](https://github.com/davidkpiano)! - First minor release of `@statelyai/agent`! The API has been simplified from experimental earlier versions. Here are the main methods:

- `createAgent({ … })` creates an agent
- `agent.decide({ … })` decides on a plan to achieve the goal
- `agent.generateText({ … })` generates text based on a prompt
- `agent.streamText({ … })` streams text based on a prompt
- `agent.addObservation(observation)` adds an observation and returns a full observation object
- `agent.addFeedback(feedback)` adds a feedback and returns a full feedback object
- `agent.addMessage(message)` adds a message and returns a full message object
- `agent.addPlan(plan)` adds a plan and returns a full plan object
- `agent.onMessage(cb)` listens to messages
- `agent.select(selector)` selects data from the agent context
- `agent.interact(actorRef, getInput)` interacts with an actor and makes decisions to accomplish a goal

## 0.0.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statelyai/agent",
"version": "0.0.8",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit f558ff0

Please sign in to comment.