2025-04-12 00:07:36 +03:00
|
|
|
---
|
2025-04-14 10:07:56 +03:00
|
|
|
sidebar_position: 11
|
2025-04-12 00:07:36 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
|
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
|
|
|
|
|
|
# Get model settings structure
|
|
|
|
|
Gets the settings structure for creating a new model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`Function GetModelSettingsStructure(Val Clear = False) Export`
|
|
|
|
|
|
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|
|
|
|-|-|-|-|-|
|
|
|
|
|
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns: Structure Of KeyAndValue - Fields structure
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
2025-04-12 22:59:24 +03:00
|
|
|
Result = OPI_Ollama.GetModelSettingsStructure();
|
2025-04-12 00:07:36 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|