You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sk-python-flask-chatgpt-plugin/README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,11 @@ On each HTTP request, use these headers:
48
48
## Running the starter
49
49
50
50
To run the console application within Visual Studio Code, just hit `F5`.
51
-
As configured in `launch.json` and `tasks.json`, Visual Studio Code will run `poetry install` followed by `python -m flask run sk_python_flask/app.py`. Some users have had issues if there are spaces in their folder names.
51
+
As configured in `launch.json` and `tasks.json`, Visual Studio Code will run `poetry install` followed by `python -m flask run sk_python_flask_chatgpt_plugin/app.py`. Some users have had issues if there are spaces in their folder names.
52
+
53
+
To run the console application using CLI:
54
+
1.`poetry install`
55
+
2.`python -m flask --app sk_python_flask_chatgpt_plugin/app.py run --port 5050 --debug`
52
56
53
57
A POST endpoint exists at `localhost:5050/skills/{skill_name}/functions/{function_name}`
54
58
For example, send a POST request to `localhost:5050/skills/FunSkill/functions/Joke` with the configuration headers
0 commit comments