Skip to content

Latest commit

 

History

History
149 lines (102 loc) · 1.81 KB

reference.md

File metadata and controls

149 lines (102 loc) · 1.81 KB

Reference

client.getBalance() -> Gooey.BalanceResponse

🔌 Usage

await client.getBalance();

⚙️ Parameters

requestOptions: GooeyClient.RequestOptions

Copilot

client.copilot.completion(inputImages, inputDocuments, documents, inputGlossaryDocument, outputGlossaryDocument, inputFace, { ...params }) -> Gooey.VideoBotsPageOutput

🔌 Usage

await client.copilot.completion(
    [fs.createReadStream("/path/to/your/file")],
    [fs.createReadStream("/path/to/your/file")],
    [fs.createReadStream("/path/to/your/file")],
    fs.createReadStream("/path/to/your/file"),
    fs.createReadStream("/path/to/your/file"),
    fs.createReadStream("/path/to/your/file"),
    {}
);

⚙️ Parameters

inputImages: File[] | fs.ReadStream[] | Blob[] | undefined

inputDocuments: File[] | fs.ReadStream[] | Blob[] | undefined

documents: File[] | fs.ReadStream[] | Blob[] | undefined

inputGlossaryDocument: File | fs.ReadStream | Blob | undefined

outputGlossaryDocument: File | fs.ReadStream | Blob | undefined

inputFace: File | fs.ReadStream | Blob | undefined

request: Gooey.CopilotCompletionRequest

requestOptions: Copilot.RequestOptions