1.0.2 • Published 12 months ago

@gptfree/convo v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

@gptfree/convo

A simple way to integrate right AI conversations with any project

Usage

Node.js

import { Conversation } from "@gptfree/convo";

const conversation = await Conversation.create("How far away is Saturn?"); // create a new conversation with a prompt

await conversation.reply("What about Mars?"); // reply to the conversation

console.log(conversation.messages.toString()); // messages is a MessageList, which extends an array and has helper methods

Web

import { Conversation } from "https://gptfree.top/convo.js";

const conversation = await Conversation.create("How far away is Saturn?"); // create a new conversation with a prompt

await conversation.reply("What about Mars?"); // reply to the conversation

console.log(conversation.messages.toString()); // messages is a MessageList, which extends an array and has helper methods
1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

1 year ago