Modified prompt format. #1
5
book.ts
5
book.ts
@ -27,11 +27,6 @@ export interface Summary {
|
|||||||
characters: Character[];
|
characters: Character[];
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CompletionObject {
|
|
||||||
role: string;
|
|
||||||
content: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const createPlot = async (dirName: string): Promise<Plot> => {
|
export const createPlot = async (dirName: string): Promise<Plot> => {
|
||||||
const pg = new PlotGenerator({ flipGenders: false });
|
const pg = new PlotGenerator({ flipGenders: false });
|
||||||
const plot = pg.generate();
|
const plot = pg.generate();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user