debately
v1.0.9
Published
@debately/api is for using debately app api so you can develop your own debating apps
Downloads
239
Readme
@Debately/api
Buy Your Pro Version API Key Here: https://buy.stripe.com/28EcN4fzI0Im4dd0eV3ZK03
Contact Info: [email protected]
Debately api allows you to choose different LLM models to debate the among your selected LLMs.
How Debately Works:
First stage allows each selected LLM to give opening statements on there views on the topic
Second stage each selected LLM will find flaws in every other LLM opening statement.Config Options:
{
topic: "some topic to debate",
polarization_score: 10,
models: { //you can pick one, two or all of them
openai: {
politcial_leaning: "some political leaning 1",
},
claude: {
politcial_leaning: "some political leaning 2",
},
deepseek: {
politcial_leaning: "some political leaning 3",
},
minstral: {
politcial_leaning: "some political leaning 4",
},
gemini: {
politcial_leaning: "some political leaning 5",
}
}
}Free version debately (opening statements, just the first stage):
const just_opening_statements = await generateOpeningStatements(config)
console.log(just_opening_statements)Free version response object:
{
"statements": "the all the opening statements of each selected model",
"models": "names of the selected models",
"political_sides": "political leaning of the selected models"
}Pro version of debately (the full debating app with both steps, cost: $1.99):
const full_debate = await generateDebateScene("<your-pro-apiKey>, config)
console.log(full_debate)Pro version response object:
{
"debate_file": "debate scene is in the debate.txt file in this folder"
}Hope you enjoy this package and happy debating.
