We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa20628 commit a99ab29Copy full SHA for a99ab29
ai-assistant/src/core/prompt/prompt.ts
@@ -19,11 +19,4 @@ export class Prompt {
19
pushUser(content: string) {
20
this._messages.push({ role: "user", content });
21
}
22
-
23
- static processOutput(output: string): string {
24
- const segments = output.split("[/INST] Assistant:\n")
25
- if (!segments.length) return "";
26
27
- return segments[segments.length - 1].trim();
28
- }
29
0 commit comments