==========================================
Getting started with Anaconda AI Navigator
==========================================

This guide is designed to walk you through the essential steps to begin using Anaconda AI Navigator. It provides guidance on signing in, downloading models, chatting with a model, and loading models into the API server. 

    .. note:: 
        
        For help with installation, see :doc:`Installing Anaconda AI Navigator <install-ai-navigator>`. 

Signing in
==========

Anaconda AI Navigator requires you to have an Anaconda Cloud account to sign in. If you do not have an Anaconda Cloud account, click **Get Started** |arrow-up-right-from-square| to register an account for free.

    .. thumbnail:: /img/ai_nav_sign_in.png
        :align: center

You have several options for account registration:

- Register with a GitHub, Gmail, or Microsoft account 
- Sign in manually with an email and password

Once your account is created, or if you already have an account, **Sign In** |arrow-up-right-from-square| using the same method you used to register your account.

.. _download_model:

Browsing and downloading models
===============================

If you do not have a model downloaded, you can download one of Anaconda's recommended models by clicking **Download to Use** on the model tiles shown on the |house| **Home** page, or you can click **Explore Curated Models** |chevron-right| to open the |brain| **Models** page and view a full list of curated models available for download.

    .. thumbnail:: /img/ai_nav_home_no_model.png
        :align: center

To download a model:

#. Select |brain| **Models** from the left-hand navigation.
#. Locate a model you want to download. 
#. Open the **Quantization Method** dropdown and select a file quantization level, then click **Download to Use** to download the model locally.

    .. thumbnail:: /img/ai_nav_model_quant_method.png
        :align: center

    .. note:: 
        
        Models are listed alphabetically by name. Verify that you have the available disk space and RAM required before you download a model.

For more information about models and quantization methods, see :doc:`Models <user-guide/models>`.

.. _chat: 

Chatting with models
====================

Load the model you downloaded into the chat interface to start using it immediately! 

To load a model into the chat interface:

#. Select |chat-bubble| **Chat** from the left-hand navigation.
#. Open the **Specify Model** dropdown and select your model. 
#. Open the **Specify File** dropdown and select your model file. 

    .. note:: 
        
        If you only have one file for the model, it is automatically loaded into the chat interface. 

#. Enter a prompt to chat with the model!

    .. thumbnail:: /img/ai_nav_first_chat.png
        :align: center

For more information on using the chat feature, see :doc:`Chat <user-guide/chat>`.

.. _load_model:

Loading a model into the API server
===================================

Make inference requests to the model from other applications by loading it into the API server. 

To load a model into the API server: 

#. Select |cloud-api| **API Server** from the left-hand navigation.
#. Open the **Specify Model** dropdown and select your model. 

    .. thumbnail:: /img/ai_nav_load_server_model.png
        :align: center

#. Open the **Specify File** dropdown and select your model file.

    .. note::
        
        If you only have one file for the model, it is automatically selected. 

#. Click |play| **Start** to start the server and expose the model to inference requests at the specified server address. 
  
    .. thumbnail:: /img/ai_nav_start_server.png
        :align: center


For more information about the API server, see :doc:`API server <user-guide/api-server>`. 

For step-by-step instructions on how to build a basic chatbot application in Python that makes inference requests to the API server, see our :doc:`API server tutorial <tutorials/chatbot-tutorial>`.

.. |arrow-up-right-from-square| raw:: html 
    
    <svg class="inline" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M336 0c-8.8 0-16 7.2-16 16s7.2 16 16 16H457.4L212.7 276.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6V176c0 8.8 7.2 16 16 16s16-7.2 16-16V16c0-8.8-7.2-16-16-16H336zM64 32C28.7 32 0 60.7 0 96V448c0 35.3 28.7 64 64 64H416c35.3 0 64-28.7 64-64V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V448c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H208c8.8 0 16-7.2 16-16s-7.2-16-16-16H64z"/></svg>

.. |cloud-api| raw:: html

    <svg class="inline" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2642_98)"><path d="M16.9687 8.71875C18.7187 9.25 20 10.8438 20 12.75C20 15.125 18.0938 17 15.75 17H4.5C2 17 0 15 0 12.5C0 10.5625 1.25 8.90625 3 8.28125C2.96875 5.375 5.3125 3 8.25 3C9.96872 3 11.5 3.875 12.4687 5.1875C12.7813 5.09375 13.125 5 13.5 5C15.4062 5 17 6.59375 17 8.5C17 8.59375 16.9687 8.65625 16.9687 8.71875ZM15.75 15.5C17.25 15.5 18.5 14.2813 18.5 12.75C18.5 11.5625 17.6875 10.5 16.5313 10.1562L15.4062 9.8125L15.4687 8.625C15.5313 7.40625 14.4375 6.15625 12.9062 6.625L11.875 6.9375L11.25 6.0625C10.5313 5.09375 9.43752 4.5 8.25 4.5C6.1875 4.5 4.53125 6.15625 4.5 8.1875C4.5 8.3125 4.5 8.125 4.5 9.34375L3.5 9.71875C2.28125 10.125 1.5 11.25 1.5 12.5C1.5 14.1562 2.84375 15.5 4.5 15.5H15.75Z"/><path d="M5.40366 13.4H4.50366L6.14229 8.74545H7.18321L8.82413 13.4H7.92411L6.68093 9.7H6.64457L5.40366 13.4ZM5.43321 11.575H7.88775V12.2522H5.43321V11.575ZM9.43717 13.4V8.74545H11.1826C11.5402 8.74545 11.8402 8.81212 12.0826 8.94545C12.3266 9.07878 12.5107 9.26212 12.6349 9.49545C12.7607 9.72727 12.8236 9.99091 12.8236 10.2864C12.8236 10.5848 12.7607 10.85 12.6349 11.0818C12.5092 11.3136 12.3236 11.4962 12.0781 11.6295C11.8326 11.7614 11.5304 11.8273 11.1712 11.8273H10.0144V11.1341H11.0576C11.2668 11.1341 11.438 11.0978 11.5712 11.025C11.7046 10.9523 11.8031 10.8523 11.8668 10.725C11.9319 10.5977 11.9644 10.4515 11.9644 10.2864C11.9644 10.1212 11.9319 9.97576 11.8668 9.85C11.8031 9.72424 11.7039 9.62651 11.569 9.55681C11.4356 9.4856 11.2637 9.45 11.0531 9.45H10.2804V13.4H9.43717ZM14.3991 8.74545V13.4H13.556V8.74545H14.3991Z"/></g><defs><clipPath id="clip0_2642_98"><rect width="20" height="14" transform="translate(0 3)"/></clipPath></defs></svg>

.. |house| raw:: html

    <svg class="inline" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M298.6 4c-6-5.3-15.1-5.3-21.2 0L5.4 244c-6.6 5.8-7.3 16-1.4 22.6s16 7.3 22.6 1.4L64 235V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V235l37.4 33c6.6 5.8 16.7 5.2 22.6-1.4s5.2-16.7-1.4-22.6L298.6 4zM96 432V206.7L288 37.3 480 206.7V432c0 26.5-21.5 48-48 48H368V320c0-17.7-14.3-32-32-32H240c-17.7 0-32 14.3-32 32V480H144c-26.5 0-48-21.5-48-48zm144 48V320h96V480H240z"/></svg>

.. |chevron-right| raw:: html

    <i class="fa-solid fa-chevron-right"></i>

.. |brain| raw:: html
    
    <svg class="inline" width="1em" height="1em" viewBox="0 0 20 21" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.0625C20 13.2344 19.5312 14.3281 18.7109 15.1484L18.75 15.1875C18.75 17.0625 17.3828 18.5859 15.6641 18.8984C15 19.875 13.9062 20.5 12.6562 20.5C11.6016 20.5 10.625 20.0703 10 19.3281C9.33594 20.0703 8.35938 20.5 7.34375 20.5C6.05469 20.5 4.96094 19.875 4.29688 18.8984C2.57812 18.5859 1.25 17.0625 1.25 15.1875V15.1484C0.429688 14.3281 0 13.2344 0 12.0625C0 11.0078 0.351562 9.99219 1.01562 9.25C0.9375 8.9375 0.9375 8.625 0.9375 8.3125C0.9375 7.0625 1.5625 5.92969 2.53906 5.26562C2.69531 4.13281 3.35938 3.15625 4.33594 2.60938C4.84375 1.39844 6.05469 0.5 7.5 0.5C8.47656 0.5 9.33594 0.929688 10 1.59375C10.625 0.929688 11.4844 0.5 12.5 0.5C13.9062 0.5 15.1172 1.39844 15.625 2.60938C16.6016 3.15625 17.2656 4.13281 17.4219 5.26562C18.3984 5.92969 19.0625 7.0625 19.0625 8.3125C19.0625 8.625 19.0234 8.9375 18.9453 9.25C19.6094 9.99219 20 11.0078 20 12.0625ZM9.0625 6.125V3.9375C9.0625 3.07812 8.35938 2.375 7.5 2.375C6.60156 2.375 5.9375 3.07812 5.9375 3.9375C5.9375 3.97656 5.9375 3.97656 5.9375 3.97656C5.03906 4.13281 4.375 4.91406 4.375 5.8125C4.375 6.04688 4.41406 6.28125 4.49219 6.47656C3.51562 6.55469 2.8125 7.375 2.8125 8.3125C2.8125 8.89844 3.04688 9.40625 3.47656 9.75781C2.53906 10.1094 1.875 11.0078 1.875 12.0625C1.875 13.0781 2.46094 13.9375 3.32031 14.3672C3.20312 14.6016 3.125 14.9141 3.125 15.1875C3.125 16.2422 3.94531 17.0625 5 17.0625C5.19531 17.0625 5.42969 17.0234 5.625 16.9844C5.625 17.8828 6.40625 18.625 7.34375 18.625C8.28125 18.625 9.0625 17.8828 9.0625 16.9062V11.125H6.875C6.52344 11.125 6.25 11.4375 6.25 11.75V12.5312C6.79688 12.7656 7.1875 13.3125 7.1875 13.9375C7.1875 14.8359 6.48438 15.5 5.625 15.5C4.72656 15.5 4.0625 14.8359 4.0625 13.9375C4.0625 13.3125 4.41406 12.7656 5 12.5312V11.75C5 10.7344 5.82031 9.875 6.875 9.875H9.0625V7.375H8.28125C8.04688 7.96094 7.5 8.3125 6.875 8.3125C5.97656 8.3125 5.3125 7.64844 5.3125 6.75C5.3125 5.89062 5.97656 5.1875 6.875 5.1875C7.5 5.1875 8.04688 5.57812 8.28125 6.125H9.0625ZM7.5 6.75C7.5 6.4375 7.1875 6.125 6.875 6.125C6.52344 6.125 6.25 6.4375 6.25 6.75C6.25 7.10156 6.52344 7.375 6.875 7.375C7.1875 7.375 7.5 7.10156 7.5 6.75ZM6.25 13.9375C6.25 13.625 5.9375 13.3125 5.625 13.3125C5.27344 13.3125 5 13.625 5 13.9375C5 14.2891 5.27344 14.5625 5.625 14.5625C5.9375 14.5625 6.25 14.2891 6.25 13.9375ZM16.6406 14.3672C17.5 13.9375 18.125 13.0781 18.125 12.0625C18.125 11.0078 17.4219 10.1094 16.4844 9.75781C16.9141 9.40625 17.1875 8.89844 17.1875 8.3125C17.1875 7.375 16.4453 6.55469 15.4688 6.47656C15.5469 6.28125 15.625 6.04688 15.625 5.8125C15.625 4.91406 14.9219 4.13281 14.0234 3.97656C14.0234 3.97656 14.0625 3.97656 14.0625 3.9375C14.0625 3.07812 13.3594 2.375 12.5 2.375C11.6016 2.375 10.9375 3.07812 10.9375 3.9375V9.875H11.875C12.1875 9.875 12.5 9.60156 12.5 9.25V8.19531C11.9141 7.96094 11.5625 7.41406 11.5625 6.75C11.5625 5.89062 12.2266 5.1875 13.125 5.1875C13.9844 5.1875 14.6875 5.89062 14.6875 6.75C14.6875 7.41406 14.2969 7.96094 13.75 8.19531V9.25C13.75 10.3047 12.8906 11.125 11.875 11.125H10.9375V13.3125H12.3047C12.5391 12.7656 13.0859 12.375 13.75 12.375C14.6094 12.375 15.3125 13.0781 15.3125 13.9375C15.3125 14.8359 14.6094 15.5 13.75 15.5C13.0859 15.5 12.5391 15.1484 12.3047 14.5625H10.9375V16.9062C10.9375 17.8828 11.6797 18.625 12.6562 18.625C13.5547 18.625 14.3359 17.8828 14.3359 16.9844C14.5312 17.0234 14.7656 17.0625 15 17.0625C16.0156 17.0625 16.875 16.2422 16.875 15.1875C16.875 14.9141 16.7578 14.6016 16.6406 14.3672ZM13.125 13.9375C13.125 14.2891 13.3984 14.5625 13.75 14.5625C14.0625 14.5625 14.375 14.2891 14.375 13.9375C14.375 13.625 14.0625 13.3125 13.75 13.3125C13.3984 13.3125 13.125 13.625 13.125 13.9375ZM12.5 6.75C12.5 7.10156 12.7734 7.375 13.125 7.375C13.4375 7.375 13.75 7.10156 13.75 6.75C13.75 6.4375 13.4375 6.125 13.125 6.125C12.7734 6.125 12.5 6.4375 12.5 6.75Z"/></svg>

.. |chat-bubble| raw:: html

    <svg class="inline" width="21" height="21" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg"><path d="M18.4609 0.5C19.8672 0.5 20.9609 1.63281 20.9609 3V14.2109C20.9609 15.5391 19.8281 16.6719 18.4609 16.6719H12.8359L7.95312 20.3047C7.64062 20.5391 7.21094 20.3438 7.21094 19.9531V16.6719H3.46094C2.05469 16.6719 0.960938 15.5781 0.960938 14.2109V3C0.960938 1.63281 2.05469 0.5 3.46094 0.5H18.4609ZM19.125 14.25V3C19.125 2.6875 18.8125 2.375 18.5 2.375H3.5C3.14844 2.375 2.875 2.6875 2.875 3V14.25C2.875 14.6016 3.14844 14.875 3.5 14.875H9.125V17.2188L12.25 14.875H18.5C18.8125 14.875 19.125 14.6016 19.125 14.25Z"/></svg>

.. |play| raw:: html 
    
    <svg class="inline" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><defs><style>.fa-secondary{opacity:.4}</style></defs><path class="fa-primary" d="M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"/><path class="fa-secondary" d=""/></svg>