ChatWorkspaceSettings
extends Data
in package
Tags
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
= []
$apiKey
private
string|null
$apiKey
$apiVersion
private
non-empty-string|null
$apiVersion
$baseUrl
private
non-empty-string|null
$baseUrl
$deploymentId
private
non-empty-string|null
$deploymentId
$orgId
private
non-empty-string|null
$orgId
$projectId
private
non-empty-string|null
$projectId
$prompts
private
ChatWorkspacePromptsSettings
$prompts
$source
private
ChatWorkspaceSource
$source
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
intgetApiKey()
public
getApiKey() : non-empty-string|null
Return values
non-empty-string|nullgetApiVersion()
public
getApiVersion() : non-empty-string|null
Return values
non-empty-string|nullgetBaseUrl()
public
getBaseUrl() : non-empty-string|null
Return values
non-empty-string|nullgetDeploymentId()
public
getDeploymentId() : non-empty-string|null
Return values
non-empty-string|nullgetIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorgetOrgId()
public
getOrgId() : non-empty-string|null
Return values
non-empty-string|nullgetProjectId()
public
getProjectId() : non-empty-string|null
Return values
non-empty-string|nullgetPrompts()
public
getPrompts() : ChatWorkspacePromptsSettings
Return values
ChatWorkspacePromptsSettingsgetSource()
public
getSource() : ChatWorkspaceSource
Return values
ChatWorkspaceSourceoffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
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}}