Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Apr 25, 2023
1 parent b557d4d commit bb1b160
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ While creating an agent prototype is easy, increasing its reliability and robust
- Calculate the cost of LLM calls and agent runs
- Stop agent runs when certain criteria are met, e.g. to limit the number of steps
- Use several different LLM models in one agent
- Agent HTTP Server
- Agent runs can be started, stopped, and observed via HTTP API
- Can host multiple agents
- Supported LLM models
- OpenAI text completion models (`text-davinci-003` etc.)
- OpenAI chat completion models (`gpt-4`, `gpt-3.5-turbo`)
Expand Down Expand Up @@ -68,7 +71,7 @@ Used features: `gpt-4`, tool execution in Docker container, agent with fixed set

JS Agent implementation of [BabyAGI](https://github.com/yoheinakajima/babyagi).

Features used: text completion model (`text-davinci-003`), customized console output, update tasks planning loop
Features used: HTTP Agent server, text completion model (`text-davinci-003`), customized console output, update tasks planning loop

### [PDF Summarizer](https://github.com/lgrammel/js-agent/tree/main/examples/pdf-summarizer)

Expand Down
4 changes: 0 additions & 4 deletions examples/babyagi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,3 @@ curl -X POST -H "Content-Type: application/json" -d '{"objective":"solve world h
```bash
❯ curl -X POST -H "Content-Type: application/json" -d '{"reason": "need to shut down computer"}' http://127.0.0.1:30800/agent/babyagi/run/bxynsv4USkGoawtCYhte-w-0/cancel
```

## Source Code

See `agent/babyagi/agent.ts`.
5 changes: 4 additions & 1 deletion packages/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ While creating an agent prototype is easy, increasing its reliability and robust
- Calculate the cost of LLM calls and agent runs
- Stop agent runs when certain criteria are met, e.g. to limit the number of steps
- Use several different LLM models in one agent
- Agent HTTP Server
- Agent runs can be started, stopped, and observed via HTTP API
- Can host multiple agents
- Supported LLM models
- OpenAI text completion models (`text-davinci-003` etc.)
- OpenAI chat completion models (`gpt-4`, `gpt-3.5-turbo`)
Expand Down Expand Up @@ -66,7 +69,7 @@ Used features: `gpt-4`, tool execution in Docker container, agent with fixed set

JS Agent implementation of [BabyAGI](https://github.com/yoheinakajima/babyagi).

Features used: text completion model (`text-davinci-003`), customized console output, update tasks planning loop
Features used: HTTP Agent server, text completion model (`text-davinci-003`), customized console output, update tasks planning loop

### [PDF Summarizer](https://github.com/lgrammel/js-agent/tree/main/examples/pdf-summarizer)

Expand Down

2 comments on commit bb1b160

@vercel
Copy link

@vercel vercel bot commented on bb1b160 Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on bb1b160 Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

js-agent-docs – ./docs

js-agent-docs.vercel.app
js-agent-docs-lgrammel.vercel.app
js-agent-docs-git-main-lgrammel.vercel.app

Please sign in to comment.