|
You are here |
blog.pamelafox.org | ||
| | | | |
til.simonwillison.net
|
|
| | | | | I wanted to stream the results from the ChatGPT API as they were generated, rather than waiting for the entire thing to complete before displaying anything. | |
| | | | |
stribny.name
|
|
| | | | | How to send a stream of data from FastAPI backend to a browser and display it. | |
| | | | |
vercel.com
|
|
| | | | | Learn how to build GPT-3 AI apps with OpenAI, Next.js, and Vercel Edge Functions. | |
| | | | |
www.integralist.co.uk
|
|
| | | Introduction Four ways to skin a cat How does the adapter work? Why is this interesting? Summary/Breakdown Introduction Here is some code that demonstrates the typical 'hello world' for a Go based web server: package main import ( "fmt" "net/http" ) func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello %s", r.URL.Path[1:]) } func main() { http.HandleFunc("/World", handler) http.ListenAndServe(":8080", nil) } Note: http://localhost:8080/World will return Hello World For most people,... | ||