Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Écrit une implémentation basique d'un bot discord avec le module python discord.py qui…
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Écrit une implémentation basique d'un bot discord avec le module python discord.py qui contient la commande /pong.
- Assistant
Voici un exemple de code python qui utilise le module discord.py pour créer une commande /pong (qui répondra ping dans ce cas)
import discord from discord.ext import commands Your_personal_and_private_token = 'Tapez ici votre token' intents = discord.Intents.default() bot = commands.Bot(command_prefix = '/', description = 'Simple_Basique', intents = intents) @bot.event async def on_ready(): print("Hello World!") @bot.command() async def pong(ctx): embed = discord.embed(description = f'ping !') await ctx.send(embed=embed) bot.run(Your_personal_and_private_token)``` - User
Comment puis-je implémenter ceci sur mon forum?
- Assistant
Bonjour. Comment ça marche ?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)