Prerequisites
Before you can configure and use LlamaIndex with Connect AI, you must do the following:- Connect a data source to your Connect AI account. See Sources for more information.
- OAuth JWT bearer token を生成します。PAT をコピーし、認証時にパスワードとして使用します。
- Obtain an OpenAI API key: https://platform.openai.com.
- Make sure you have Python >= 3.10 in order to install the LlamaIndex packages.
Create the Python Files
Install the LlamaIndex Packages
Runpip install llama-index llama-index-llms-openai llama-index-tools-mcp in your project terminal.
