File size: 621 Bytes
06f0c14
 
 
 
 
1
2
3
4
5
{
  "source_url": "https://salt.sunbird.ai/sunflower/sunflower/#__codelineno-3-1",
  "chunk_id": "100_19",
  "text": "emmessages  Example usage conversation  SunflowerConversation ( yourapikeyhere )  Set system message conversation . setsystemmessage ( You are Sunflower, a helpful assistant specializing in Ugandan languages and culture. )  Have a conversation conversation . addusermessage ( Hello, can you greet me in Luganda? ) response1  conversation . getresponse () print ( f AI  response1  content    ) conversation . addusermessage ( How do I say thank you in Acholi? ) response2  conversation . getresponse ("
}