Skip to main content

Novita AI

Novita AI is a generative AI inference platform to run and customize models with industry-leading speed and production-readiness.

Installation and setup

  • Get a Novita AI API key by signing up at novita.ai.
  • Authenticate by setting the NOVITA_API_KEY environment variable.

Authentication

There are two ways to authenticate using your Novita API key:

  1. Setting the NOVITA_API_KEY environment variable.

    os.environ["NOVITA_API_KEY"] = "<KEY>"
  2. Setting api_key field in the Novita LLM module.

    llm = Novita(api_key="<KEY>")

Chat models

See a usage example.

from langchain_community.chat_models import ChatNovita
API Reference:ChatNovita

Was this page helpful?