General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
120
Ask arbitrary questions to [ChatGPT](https://chat.openai.com/). \
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Ask arbitrary questions to ChatGPT.
Uses reverse engineered python-api as interface.
Setup:
Requires an OpenAI-Account.
Follow the V1-setup-guide to get your authentication data.
Save it in the config.yaml file afterwards.
Debugging:
docker build -t skill_jaco_askchatgpt_amd64 - < skills/skills/Jaco-AskChatGPT/image_amd64.dockerfile
# Run without display
docker run --network host --rm \
--volume `pwd`/skills/skills/Jaco-AskChatGPT/:/Jaco-Master/skills/skills/Jaco-AskChatGPT/:ro \
--volume `pwd`/skills/skills/Jaco-AskChatGPT/skilldata/:/Jaco-Master/skills/skills/Jaco-AskChatGPT/skilldata/ \
--volume `pwd`/userdata/config/:/Jaco-Master/userdata/config/:ro \
-it skill_jaco_askchatgpt_amd64
# Run with real display
xhost + && docker run --network host --rm \
--volume `pwd`/skills/skills/Jaco-AskChatGPT/:/Jaco-Master/skills/skills/Jaco-AskChatGPT/:ro \
--volume `pwd`/skills/skills/Jaco-AskChatGPT/skilldata/:/Jaco-Master/skills/skills/Jaco-AskChatGPT/skilldata/ \
--volume `pwd`/userdata/config/:/Jaco-Master/userdata/config/:ro \
--volume /tmp/.X11-unix:/tmp/.X11-unix \
--env DISPLAY --env QT_X11_NO_MITSHM=1 \
--privileged \
-it skill_jaco_askchatgpt_amd64
# Create a virtual display in the docker container
export DISPLAY=:123
Xvfb $DISPLAY -screen $DISPLAY 1280x1024x16 &
# Try loading a webpage only
python3 /Jaco-Master/skills/skills/Jaco-AskChatGPT/try_chrome.py
# Try an example question
python3 /Jaco-Master/skills/skills/Jaco-AskChatGPT/try_api.py
# Start the skill's action
python3 /Jaco-Master/skills/skills/Jaco-AskChatGPT/action_answer.py