mirror of
https://github.com/PinkSheep27/SBU-Hackathon.git
synced 2026-10-10 22:50:26 -04:00
added exportType"
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
export type MessageRole = "user" | "model";
|
||||
|
||||
export type MessagePart = {
|
||||
text: string;
|
||||
}
|
||||
|
||||
export interface Message{
|
||||
role: MessageRole;
|
||||
parts:MessagePart[];
|
||||
}
|
||||
export type ChatHistory = Message[];
|
||||
|
||||
export interface GenerateConfig{
|
||||
temperature : number;
|
||||
topP : number;
|
||||
responseMimeType : string;
|
||||
}
|
||||
|
||||
export interface ChatSetting{
|
||||
temperature :number;
|
||||
model: string;
|
||||
sysTemInstructions: string;
|
||||
}
|
||||
|
||||
export interface CardData {
|
||||
id: number;
|
||||
title: string;
|
||||
tracks: string[];
|
||||
summary: string;
|
||||
}
|
||||
Reference in New Issue
Block a user