Back to Lobehub

Using Gitee AI in LobeHub

docs/usage/providers/giteeai.mdx

2.1.562.0 KB
Original Source

Using Gitee AI in LobeHub

<Image cover src={'/blog/assetsd94f3e0cf32639bea46dbf92e0862f89.webp'} />

Gitee AI is an open-source platform built on Git-based code hosting technology, designed specifically for artificial intelligence (AI) applications. It aims to provide developers and enterprises with an all-in-one AI development service, including model testing, inference, fine-tuning, and deployment.

This guide will walk you through how to use Gitee AI within LobeHub.

<Steps> ### Step 1: Obtain Your Gitee AI API Key

<Image alt={'Gitee Serverless API'} inStep src={'/blog/assets5a2f360c19fcf9a037b2d1609479b713.webp'} />

  • Go to the Settings section and click on Access Tokens
  • Create a new access token
  • Save the token from the pop-up window

<Image alt={'Gitee Serverless API'} inStep src={'/blog/assetsf1e1ca1adaac36881ec6c3b2ce1a099e.webp'} />

<Callout type={'warning'}> Make sure to save the access token shown in the pop-up window. It will only be displayed once. If you lose it, you’ll need to generate a new one. </Callout>

Step 2: Configure Gitee AI in LobeHub

  • Go to the Settings page in LobeHub
  • Under AI Providers, find the configuration section for Gitee AI

<Image alt={'Enter API Key'} inStep src={'/blog/assetsf5a62c963127764ebdf1cd226fac3dac.webp'} />

  • Paste the API key you obtained earlier
  • Choose a Gitee AI model for your AI assistant to start chatting

<Image alt={'Select Gitee AI model and start chatting'} inStep src={'/blog/assetsec0f694c9f6140620217bde441440170.webp'} />

<Callout type={'warning'}> You may need to pay for API usage depending on your usage. Please refer to Gitee AI’s pricing policy for more details. </Callout> </Steps>

And that’s it! You’re now ready to use Gitee AI models for conversations in LobeHub.