sunbird_salt_docs / chunks /chunk_100_25.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_25",
"text": "tNode.js Examples 1. Basic Chat Completion const axios require ( axios ) async function chatWithSunflower ( messages , apiKey , baseUrl httpsapi.sunbird.ai ) const url baseUrl taskssunflowerinference const headers Authorization Bearer apiKey , Content-Type applicationjson const payload messages messages , modeltype qwen , temperature 0.3 , stream false try const response await axios . post ( url , payload , headers headers , timeout 30000 ) return response . data ca"
}