---
sidebar_position: 11
description: "Get model settings structure" and other functions to work with Ollama in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Ollama]
---
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
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_Ollama.GetModelSettingsStructure();
```
```json title="Result"
{
"from": "",
"files": "",
"adapters": "",
"template": "",
"license": "",
"system": "",
"parameters": "",
"messages": "",
"quantize": ""
}
```