Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Create a simple web server using the Python framework FastAPI that returns "Hello,…
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Create a simple web server using the Python framework FastAPI that returns "Hello, world!" to the user upon loading the website in a web browser. The text should be formatted as an HTML heading of type h1.
- Assistant
Here's an example implementation:
python from fastapi import FastAPI app = FastAPI() @app.get("/") async def root(): return {"message": "<h1>Hello, world!</h1>"}You can run this server by executing the code in a Python environment and then visiting http://localhost:8000 in your web browser.
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)