Enter to send·Shift+Enter new line
generationToString(generation: Generation | ChatGeneration): string
generation
Generation | ChatGeneration