Meilisearch PHP | Documentation

ChatWorkspaceSettings extends Data
in package

Tags
phpstan-type

ChatWorkspaceSource 'openAi'|'azureOpenAi'|'mistral'|'gemini'|'vLlm'

Table of Contents

Properties

$data  : mixed
$apiKey  : string|null
$apiVersion  : non-empty-string|null
$baseUrl  : non-empty-string|null
$deploymentId  : non-empty-string|null
$orgId  : non-empty-string|null
$projectId  : non-empty-string|null
$prompts  : ChatWorkspacePromptsSettings
$source  : ChatWorkspaceSource

Methods

__construct()  : mixed
count()  : int
getApiKey()  : non-empty-string|null
getApiVersion()  : non-empty-string|null
getBaseUrl()  : non-empty-string|null
getDeploymentId()  : non-empty-string|null
getIterator()  : ArrayIterator
getOrgId()  : non-empty-string|null
getProjectId()  : non-empty-string|null
getPrompts()  : ChatWorkspacePromptsSettings
getSource()  : ChatWorkspaceSource
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
toArray()  : ChatWorkspaceSource, orgId?: non-empty-string, projectId?: non-empty-string, apiVersion?: non-empty-string, deploymentId?: non-empty-string, baseUrl?: non-empty-string, apiKey?: string, prompts: array{system: string, searchDescription: string, searchQParam: non-empty-string, searchIndexUidParam: non-empty-string}}

Properties

$data

protected mixed $data = []

Methods

__construct()

public __construct(ChatWorkspaceSource, orgId?: non-empty-string, projectId?: non-empty-string, apiVersion?: non-empty-string, deploymentId?: non-empty-string, baseUrl?: non-empty-string, apiKey?: string, prompts: array{system: string, searchDescription: string, searchQParam: non-empty-string, searchIndexUidParam: non-empty-string}} $params) : mixed
Parameters
$params : ChatWorkspaceSource, orgId?: non-empty-string, projectId?: non-empty-string, apiVersion?: non-empty-string, deploymentId?: non-empty-string, baseUrl?: non-empty-string, apiKey?: string, prompts: array{system: string, searchDescription: string, searchQParam: non-empty-string, searchIndexUidParam: non-empty-string}}

count()

public count() : int
Return values
int

getApiVersion()

public getApiVersion() : non-empty-string|null
Return values
non-empty-string|null

getBaseUrl()

public getBaseUrl() : non-empty-string|null
Return values
non-empty-string|null

getDeploymentId()

public getDeploymentId() : non-empty-string|null
Return values
non-empty-string|null

getIterator()

public getIterator() : ArrayIterator
Return values
ArrayIterator

getProjectId()

public getProjectId() : non-empty-string|null
Return values
non-empty-string|null

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Attributes
#[ReturnTypeWillChange]

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

toArray()

public toArray() : ChatWorkspaceSource, orgId?: non-empty-string, projectId?: non-empty-string, apiVersion?: non-empty-string, deploymentId?: non-empty-string, baseUrl?: non-empty-string, apiKey?: string, prompts: array{system: string, searchDescription: string, searchQParam: non-empty-string, searchIndexUidParam: non-empty-string}}
Return values
ChatWorkspaceSource, orgId?: non-empty-string, projectId?: non-empty-string, apiVersion?: non-empty-string, deploymentId?: non-empty-string, baseUrl?: non-empty-string, apiKey?: string, prompts: array{system: string, searchDescription: string, searchQParam: non-empty-string, searchIndexUidParam: non-empty-string}}

        
On this page

Search results