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)
pythonimport 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
Il faudra que ce script python s’exécute en continue. Voici les solutions possibles :
- Acheter un hébergement comme un virtual private server (VPS) Jelastic cloud de Infomaniak et une bonne solution
- Acheter un Raspberry Pi et crée-t-on propre mini serveur avec docker
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)