openai/plugins-quickstart

Does anyone know how to receive user input parameters?

wishtodaya opened this issue · 2 comments

@app.get("/news/<string:url>")
async def get_news(url):
    print(url)
    return quart.Response(response=json.dumps(url), status=200)

I want to receive a URL link input from the user, how should I handle it?

@app.get("/news/<string:url>")
async def get_news(url):
    print(url)
    return quart.Response(response=json.dumps(url), status=200)

I want to receive a URL link input from the user, how should I handle it?

Ummm I'm Not Sure Yet Maybe You Can Visit This
https://towardsdatascience.com/proper-ways-to-pass-environment-variables-in-json-for-curl-post-f797d2698bf3
Hope This Will Help

What you are doing above looks good!