feat(types): add llm types

This commit is contained in:
ItzCrazyKns
2025-11-18 14:39:43 +05:30
parent 4bcbdad6cb
commit f44ad973aa
2 changed files with 57 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
type Message = {
role: 'user' | 'assistant' | 'system';
content: string;
}
role: 'user' | 'assistant' | 'system';
content: string;
};
type Chunk = {
content: string;
metadata: Record<string, any>;
}
content: string;
metadata: Record<string, any>;
};