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

Function getPipeSummary

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

Source from the content-addressed store, hash-verified

1import {Pipe} from '../../../../packages/core/types/pipes';
2
3const getPipeSummary = (): Pipe => ({
4 apiKey: process.env.LANGBASE_USER_API_KEY!,
5 name: 'summary',
6 description: 'AI Summary agent',
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: 100,
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: [
22 {
23 role: 'system',
24 content: `You are a helpful AI assistant. Make everything Less wordy.`,
25 },
26 ],
27 variables: [],
28 tools: [],
29 memory: [],
30});
31
32export default getPipeSummary;

Callers 6

runSummaryPipeFunction · 0.85
actionFunction · 0.85
actionFunction · 0.85
runSummaryPipeFunction · 0.85
POSTFunction · 0.85
POSTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected