Skip to content

Agents for Delphi, a versatile and adaptable conversational agent framework that streamlines chatbots and AI-driven agent systems

License

Notifications You must be signed in to change notification settings

WeCanDoBetter/agents

Repository files navigation

Agents for Delphi

This repo contains agents for Delphi, a versatile and adaptable conversational agent framework that streamlines chatbots and AI-driven agent systems.

Usage

Clone the repo, install the dependencies, and build the project:

git clone https://github.com/WeCanDoBetter/delphi.git
cd delphi
npm install
npm run build:ts

Then, import the agents you want to use. For example:

import { wikipedia } from "./agents/dist";

Agents

They are more like agent functions, anyway. Each provides a set of functions that can be used by a Delphi agent.

See the Delphi documentation for more information. The repository also contains a number of examples.

APIs

Utilities

  • NLP (readability scores, etc.)

Example

import { wikipedia } from "./index";
import { Context } from "@wecandobetter/delphi";

// Get a map of functions for the Wikipedia API
// Enable the functions by passing true
const functionMap = wikipedia.getMap(true);

// Create a context with the functions
const context = new Context({
  messages: [],
  functions: functionMap,
});

// use the context on a Delphi agent, e.g.:
// const result = await agent.run(context);

Related

APIs

Utilities

Contributing

Contributions are welcome! Open an issue or submit a pull request to get started.

License

This project is licensed under the MIT License.

About

Agents for Delphi, a versatile and adaptable conversational agent framework that streamlines chatbots and AI-driven agent systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published