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

Function pipeSummary

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected