chatgpt-meow
v1.1.4
Published
ChatGPT powered neko girl.
Downloads
5
Maintainers
Readme
ChatGPT Meow
How to use?
import { Meow } from 'chatgpt-meow';
const meow = new Meow({
apiKey: process.env.OPENAI_APIKEY,
});
meow.sendMessage('Please tell me who is the most beautiful girl?', {
username: 'Master',
}).then((res) => {
console.log(res);
});
Reference
/**
* Base Types
*/
export interface Message {
username: string;
content: string;
reply: string;
conversationId: string;
}
/**
* Option Types
*/
export interface MeowOptions {
apiKey: string;
apiBaseUrl?: string;
promptPrefix?: string;
promptVarible?: {
catName: string;
[key: string]: string;
};
model?: string;
maxToken?: number;
}
export interface MeowMessageOptions {
username?: string;
conversationId?: string;
}
Contact
Email: [email protected] QQ: 69302630