<!DOCTYPE html> <html> <head> <script type=“text/javascript”…
- User
.message { padding: 5px; background: #fff; border: 1px solid #ccc; margin-bottom: 5px; }
input[type=“text”], button { padding: 5px; margin-right: 10px; }
button { background: #3498db; color: #fff; border: none; }
input[type=“text”] { width: 70%; }
.members-count { font-size: 18px; }
- Assistant
const roomName = 'observable-room'; const configuration = { iceServers: [{ urls: 'stun:stun.l.google.com:19302' }] }; let room; let pc;
drone.on('open', error => { if (error) { return console.error(error); } room = drone.subscribe(roomName); room.on('open', error => { if (error) { console.error(error); } }); room.on('members', members => { document.querySelector('.members-count').textContent = members.length; const isOfferer = members.length === 2; startWebRTC(isOfferer); });
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.