@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
10 lines (9 loc) • 336 B
TypeScript
/// <reference types="node" />
import type fs from 'fs/promises';
/**
* Container for all the tools needed to manipulate with filesystem
*/
export type FilesystemTools = Pick<typeof fs, 'access' | 'constants' | 'readFile' | 'writeFile' | 'stat' | 'readdir' | 'mkdir'>;
/**
* TODO: Implement destroyable pattern to free resources
*/