hi
- User
hi
- Assistant
Hello! How can I assist you today?
- User
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
hi
Hello! How can I assist you today?
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
What is it:"{"openapi":"3.0.2","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/wordseg":{"post":{"summary":"Wordseg","operationId":"wordseg_wordseg_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"ref":"#/components/schemas/Body_wordseg_wordseg_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/daily":{"get":{"summary":"Guess Daily","description":"Guess against the daily puzzle","operationId":"guess_daily_daily_get","parameters":[{"required":true,"schema":{"title":"Guess","type":"string"},"name":"guess","in":"query"},{"required":false,"schema":{"title":"Size","type":"integer","default":5},"name":"size","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Guess Daily Daily Get","type":"array","items":{"ref":"#/components/schemas/GuessResult"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/random":{"get":{"summary":"Guess Random","description":"Guess against a random word","operationId":"guess_random_random_get","parameters":[{"required":true,"schema":{"title":"Guess","type":"string"},"name":"guess","in":"query"},{"required":false,"schema":{"title":"Size","type":"integer","default":5},"name":"size","in":"query"},{"required":false,"schema":{"title":"Seed","type":"integer"},"name":"seed","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Guess Random Random Get","type":"array","items":{"ref":"#/components/schemas/GuessResult"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/word/{word}":{"get":{"summary":"Guess Word","description":"Guess against a selected word","operationId":"guess_word_word__word__get","parameters":[{"required":true,"schema":{"title":"Word","type":"string"},"name":"word","in":"path"},{"required":true,"schema":{"title":"Guess","type":"string"},"name":"guess","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Guess Word Word Word Get","type":"array","items":{"ref":"#/components/schemas/GuessResult"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_wordseg_wordseg_post":{"title":"Body_wordseg_wordseg_post","required":["text"],"type":"object","properties":{"text":{"title":"Text","type":"string"}}},"GuessResult":{"title":"GuessResult","required":["slot","guess","result"],"type":"object","properties":{"slot":{"title":"Slot","type":"integer"},"guess":{"title":"Guess","type":"string"},"result":{"ref":"#/components/schemas/ResultKind"}}},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"ref":"#/components/schemas/ValidationError"}}}},"ResultKind":{"title":"ResultKind","enum":["absent","present","correct"],"type":"string","description":"An enumeration."},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"type":"string"}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}}}}}"
What you have provided is an OpenAPI Specification document. OpenAPI is a standard format for describing REST APIs, allowing both humans and machines to understand the capabilities of a web service without accessing its source code.
3.0.2).FastAPI).0.1.0).The paths section describes the available endpoints:
/wordseg (POST request):
Wordsegwordseg_wordseg_posttext field.200: Successful response with a JSON payload.422: Validation error with a JSON payload./daily (GET request):
Guess DailyGuess against the daily puzzleguess (string, required)size (integer, optional, default: 5)200: Successful response, returning an array of GuessResult.422: Validation error./random (GET request):
Guess RandomGuess against a random wordguess (string, required)size (integer, optional, default: 5)seed (integer, optional)200: Successful response, returning an array of GuessResult.422: Validation error./word/{word} (GET request):
Guess WordGuess against a selected wordword (string, required, path parameter)guess (string, required, query parameter)200: Successful response, returning an array of GuessResult.422: Validation error.The components section describes reusable schemas:
Body_wordseg_wordseg_post:
wordseg endpoint.text (string).GuessResult:
slot (integer)guess (string)result (enum with values absent, present, correct).HTTPValidationError:
detail (array of ValidationError).ResultKind:
absent, present, correct).ValidationError:
loc (array of strings, representing location)msg (string, message)type (string, error type)This OpenAPI document is helpful for generating API documentation, client libraries, and even server stubs.