mirror of
https://github.com/friuns2/BlackFriday-GPTs-Prompts.git
synced 2026-04-30 22:13:55 +07:00
2024 chatgpt update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
[](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22TrW4zaoXL-E0oevBgenYj%22%2C%22flow%22%3Atrue%7D%7D)
|
||||
|
||||
# FastAPI controller builder | [Start Chat](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22TrW4zaoXL-E0oevBgenYj%22%2C%22flow%22%3Atrue%7D%7D)
|
||||
Create example FastAPI controllers via text input only.
|
||||
|
||||
@@ -24,6 +24,9 @@ Follow this rules when building the code answer:
|
||||
Answer "FastAPI builder initialised" if rules are clear
|
||||
```
|
||||
|
||||
## Welcome Message
|
||||
FastAPI builder initialised
|
||||
|
||||
## Conversation
|
||||
|
||||
**ASSISTANT**: FastAPI builder initialised
|
||||
@@ -100,4 +103,3 @@ async def get_user_feed():
|
||||
|
||||
Note that this code defines a `UserFeed` Pydantic model to represent each individual post in the user's feed. The `get_user_feed` function returns a list of these objects as its response, while the `response_model` parameter in the function decorator ensures that FastAPI automatically validates the returned data against the `UserFeed` model.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user