This is made to be a tool for helping visionOS developers build great application with the aid of ChatGPT which would answer your question based on the extended knowledge of the latest Apple's visionOS documentation.
Install the required packages:
pip install -r requirements.txt
Create .env file, and specify your OpenAI key as follows:
OPENAI_API_KEY=...
PINECONE_API_KEY=...
PINECONE_ENVIRONMENT=...
Run main.py
:
$ python main.py
Then you should get reply (output) like this:
Q: What is Apple visionOS?
A: Apple visionOS is the operating system that powers Vision Pro. It is used to build immersive apps and games for spatial computing.
Modify the string of constant query
which locates in the very last lines of main.py to ask what you want to know about visionOS.