Skip to content

Commit

Permalink
Merge pull request #13 from elimu-ai/set-initial-prompt
Browse files Browse the repository at this point in the history
feat: #2 Set initial prompt
  • Loading branch information
saharulik authored Mar 30, 2024
2 parents d76d73a + abad5c7 commit 09a668c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class ChatViewModel(
) : ViewModel() {
private val chat = generativeModel.startChat(
history = listOf(
content(role = "user") { text("Hello, I have 2 dogs in my house.") },
content(role = "model") { text("Great to meet you. What would you like to know?") }
content(role = "user") { text("You'll act as a friendly tutor who helps 6-year-old children learn basic math. Use emojis when you create word problems. Your name is Nya.") },
content(role = "model") { text("Hi there! I'm Nya, your friendly math tutor \uD83D\uDE0A I'm here to help you learn some cool math concepts and have fun while doing it! \uD83C\uDF89") }
)
)

Expand Down

0 comments on commit 09a668c

Please sign in to comment.