You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.5 KiB
Markdown
86 lines
2.5 KiB
Markdown
---
|
|
title: Using Zero One AI API Key in LobeChat
|
|
description: >-
|
|
Learn how to integrate and use Zero One AI in LobeChat with step-by-step
|
|
instructions. Obtain an API key, configure Zero One AI, and start
|
|
conversations with AI models.
|
|
tags:
|
|
- 01.AI
|
|
- Zero One AI
|
|
- Web UI
|
|
- API key
|
|
- AI models
|
|
---
|
|
|
|
# Using Zero One AI in LobeChat
|
|
|
|
<Image
|
|
alt={'Using Zero One AI in LobeChat'}
|
|
cover
|
|
src={'https://github.com/lobehub/lobe-chat/assets/34400653/4485fbc3-c309-4c4e-83ee-cb82392307a1'}
|
|
/>
|
|
|
|
[Zero One AI](https://www.01.ai/) is a global company dedicated to AI 2.0 large model technology and applications. Its billion-parameter Yi-Large closed-source model, when evaluated on Stanford University's English ranking AlpacaEval 2.0, is on par with GPT-4.
|
|
|
|
This document will guide you on how to use Zero One AI in LobeChat:
|
|
|
|
<Steps>
|
|
|
|
### Step 1: Obtain Zero One AI API Key
|
|
|
|
- Register and log in to the [Zero One AI Large Model Open Platform](https://platform.lingyiwanwu.com/)
|
|
- Go to the `Dashboard` and access the `API Key Management` menu
|
|
- A system-generated API key has been created for you automatically, or you can create a new one on this interface
|
|
|
|
<Image
|
|
alt={'Create Zero One AI API Key'}
|
|
inStep
|
|
src={'https://github.com/lobehub/lobe-chat/assets/34400653/72f165f4-d529-4f01-a3ac-163c66e5ea73'}
|
|
/>
|
|
|
|
- Account verification is required for first-time use
|
|
|
|
<Image
|
|
alt={'Complete Account Verification'}
|
|
inStep
|
|
src={'https://github.com/lobehub/lobe-chat/assets/34400653/e6058456-8f9d-40c1-9ae5-1e9d5eeb9476'}
|
|
/>
|
|
|
|
- Click on the created API key
|
|
- Copy and save the API key in the pop-up dialog box
|
|
|
|
<Image
|
|
alt={'Save API Key'}
|
|
inStep
|
|
src={'https://github.com/lobehub/lobe-chat/assets/34400653/f892fe64-c734-4944-91ff-9916a41bd1c9'}
|
|
/>
|
|
|
|
### Step 2: Configure Zero One AI in LobeChat
|
|
|
|
- Access the `Settings` interface in LobeChat
|
|
- Find the setting for `Zero One AI` under `Language Model`
|
|
|
|
<Image
|
|
alt={'Enter API Key'}
|
|
inStep
|
|
src={'https://github.com/lobehub/lobe-chat/assets/34400653/f539d104-6d64-4cc7-8781-3b36b00d32d0'}
|
|
/>
|
|
|
|
- Open Zero One AI and enter the obtained API key
|
|
- Choose a 01.AI model for your AI assistant to start the conversation
|
|
|
|
<Image
|
|
alt={'Select 01.AI Model and Start Conversation'}
|
|
inStep
|
|
src={'https://github.com/lobehub/lobe-chat/assets/34400653/8bf73498-4649-4c4d-a95b-b68447599781'}
|
|
/>
|
|
|
|
<Callout type={'warning'}>
|
|
During usage, you may need to pay the API service provider. Please refer to Zero One AI's relevant
|
|
fee policies.
|
|
</Callout>
|
|
|
|
</Steps>
|
|
|
|
You can now use the models provided by Zero One AI for conversations in LobeChat.
|