Skip to content

Setup Chat Feature

  1. Setup Chat Model

    Open the Copilot for Xcode app, go to Service tab, click Chat Model.

    chat-model Add a chat model by clicking the Add Model button.

    Fill in the required fields and click Test. If the test is successful, click Save.

    add-chat-model

  2. Setup Embedding Model (Optional)

    Open the Copilot for Xcode app, go to Service tab, click Embedding Model.

    Add an embedding model by clicking the Add Model button.

    Fill in the required fields and click Test. If the test is successful, click Save.

  3. Setup Chat Feature

    Go to Feature tab, click Chat.

    chat-feature

    Choose Providers

    Choose the chat or embedding models you want to use.

    You can also choose a lower-price or faster model as the utility model. The app will use this model to perform some utility tasks.

    Setup System Prompt

    The chat comes with a default system prompt that contains rules that the chat will follow. You can add some extra rules to the system prompt. But please try not to override the response format.