Hanzo
PlatformHanzo CloudThe BasicsBeginner Guide

Add an AI Model Provider

Learn how to add a model provider to enhance Hanzo Cloud functionality.

This document is a step-by-step tutorial designed for beginners. It will guide you through the process of integrating a model provider with Hanzo Cloud, our powerful knowledge base system.

Introduction

Adding a model provider to Hanzo Cloud enables you to enhance its functionality by incorporating machine learning models and AI capabilities. Model providers allow you to analyze and process data within your knowledge base system, making it more intelligent and efficient.

If you're new to integrating model providers, don't worry. We've broken down the process into simple steps that anyone can follow.

Step 1: Deploy Hanzo IAM and Hanzo Cloud

Before you can add an AI model provider, make sure you have Hanzo IAM and Hanzo Cloud deployed. If you haven't done, please refer to the Deploy Hanzo IAM and Hanzo Cloud tutorial.

Step 2: Add a New Model Provider

Model providers are used to integrate LLM into Hanzo Cloud. You can add them by following these steps:

Click the Providers button on the home page.

Hanzo Cloud-home-providers

Step 2.1: Add a Model Provider

Click the Add button to add a model provider.

Hanzo Cloud-providers-add

Step 2.2: Fill in Model Provider Details

Fill in the model provider details and click the Save & Exit button.

Hanzo Cloud-model-openai

Tip

Hanzo Cloud supports many model providers, including:

  • Hugging Face
    • meta-llama/Llama-2-7b
    • THUDM/chatglm2-6b
    • baichuan-inc/Baichuan2-13B-chat
    • gpt2
    • ......
  • OpenRouter
    • anthropic/claude-2
    • palm-2-chat-bison
    • palm-2-codechat-bison
    • openai/gpt-4
    • ......
  • OpenAI
    • text-davinci-003
    • gpt-3.5-turbo
    • gpt-4
    • ......

Caution

  • Category: The first-level category of the model provider. For example, Model and Embedding.
  • Type: The second-level category of the model provider. For example, OpenAI and Hugging Face.
  • API key: Your API key from the provider.

Example

Add an OpenAI model provider

Hanzo Cloud-model-select

Caution

Some models don't support streaming-output. Known models that support streaming-output include:

  • gpt-3.5-turbo-0613

After adding a model provider, you can use it to analyze and process data in Hanzo Cloud using chatbots, question answering, and other AI capabilities.

Return to the model provider list page:

Hanzo Cloud-providers-view

Now that you've added a model provider, you can use it to analyze and process data in Hanzo Cloud using chatbots, question answering, and other AI capabilities.

In the next chapter, we'll learn how to add an embedding provider to Hanzo Cloud.

How is this guide?

Last updated on

On this page