sunbird_salt_docs / chunks /chunk_100_19.json
jimjunior's picture
Upload folder using huggingface_hub
06f0c14 verified
Raw
History Blame Contribute Delete
621 Bytes
{
"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 ("
}