Takuzen / visionosdocsgpt-cli

ChatGPT with the knowledge of visionOS
12 stars 0 forks source link

visionOS Docs GPT

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.

Initailization

  1. Install the required packages:

    pip install -r requirements.txt
  2. Create .env file, and specify your OpenAI key as follows:

    OPENAI_API_KEY=...
    PINECONE_API_KEY=...
    PINECONE_ENVIRONMENT=...
  3. 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.

Usage

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.