Get embeddings parameter structure
Gets the structure of additional parameters for processing embeddings requests
Function GetEmbeddingsParameterStructure(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
1C:Enterprise/OneScript code example
Result = OPI_Ollama.GetEmbeddingsParameterStructure();
- Bash
- CMD/Bat
oint ollama GetEmbeddingsParameterStructure \
--empty true
oint ollama GetEmbeddingsParameterStructure ^
--empty true
Result
{
"options": "<additional model parameters listed in the Modelfile documentation>",
"keep_alive": "<how long the model will remain loaded in memory after a request>",
"truncate": "<trims the end of each response to fit within the context length. Returns an error if false and the length is exceeded>"
}