Skip to content

CohereOptions

Namespace: Vercel.AI.Cohere

public sealed class CohereOptions

Cohere settings. The default origin is https://api.cohere.com/v2.

Inheritance: object

View source

public string? ApiKey { get; set; }

Explicit key.

Value: string

View source

public string BaseUrl { get; set; }

API origin.

Value: string

View source

public Dictionary<string, string?> Headers { get; }

Headers sent with every request. Call headers override them.

Value: Dictionary<string, string>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product