MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / main

Function main

examples/nodejs/examples/pipe.generate.text.ts:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const pipe = new Pipe(pipeSummary());
6
7async function main() {
8 const response = await generateText({
9 pipe,
10 messages: [{role: 'user', content: 'Hello'}],
11 });
12
13 console.log('response: ', response);
14}
15
16main();

Callers 1

Calls 2

generateTextFunction · 0.90
logMethod · 0.80

Tested by

no test coverage detected