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

Function buildPipe

examples/nodejs/baseai/pipes/summary.ts:3–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import {PipeI} from '@baseai/core';
2
3const buildPipe = (): PipeI => ({
4 apiKey: process.env.LANGBASE_API_KEY!, // Replace with your API key https://langbase.com/docs/api-reference/api-keys
5 name: 'summary',
6 description: '',
7 status: 'private',
8 model: 'openai:gpt-4o-mini',
9 stream: true,
10 json: false,
11 store: true,
12 moderate: true,
13 top_p: 1,
14 max_tokens: 1000,
15 temperature: 0.7,
16 presence_penalty: 1,
17 frequency_penalty: 1,
18 stop: [],
19 tool_choice: 'auto',
20 parallel_tool_calls: false,
21 messages: [{role: 'system', content: `You are a helpful AI assistant.`}],
22 variables: [],
23 memory: [],
24 tools: [],
25});
26
27export default buildPipe;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected