Skip to content

Document how to use LlamaCloud API client #1924

@andersonqi

Description

@andersonqi

Describe the bug
I'm following this docs
https://docs.cloud.llamaindex.ai/llamacloud/guides/api_sdk

When i try to test the app i get this issue
The requested module '@llamaindex/cloud' does not provide an export named 'LlamaCloudApiClient'

To Reproduce
Code to reproduce the behavior:

import { LlamaCloudApiClient } from "@llamaindex/cloud";

const client = new LlamaCloudApiClient({
  token: process.env.LLAMA_CLOUD_API_KEY,
});

Screenshots

Image
  • OS: [e.g. macOS, Linux]
  • JS Runtime / Framework / Bundler (select all applicable)
  • Node.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions