Skip to content

OllamaLLMUnit

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ implementationNoconstNo-Implementation
- modelNoReference[LLMModel]No--
- temperatureNonumberNo-Temperature
- force_jsonNobooleanNo-Force Json
- max_tokensNointegerNo-Max Tokens
- hostNostringNo-Host
- client_optionsNoobjectNoIn #/$defs/OllamaOptionsAdditional arguments when calling ollama.AsyncClient.chat

1. Property implementation

Title: Implementation

Typeconst
RequiredYes

Specific value: "OllamaLLMUnit"

2. Property model

TypeReference[LLMModel]
RequiredNo
Default{"implementation": "eidolon_ai_sdk.apu.llm_unit.LLMModel"}

3. Property temperature

Title: Temperature

Typenumber
RequiredNo
Default0.3

4. Property force_json

Title: Force Json

Typeboolean
RequiredNo
Defaulttrue

5. Property max_tokens

Title: Max Tokens

Typeinteger
RequiredNo
Defaultnull

6. Property host

Title: Host

Typestring
RequiredNo
Defaultnull

Description: Running Ollama location. Defaults to envar OLLAMA_HOST with fallback to 127.0.0.1:11434 if that is not set.

7. Property client_options

Typeobject
RequiredNo
Additional properties[Any type: allowed]
Default{"numa": null, "num_ctx": null, "num_batch": null, "num_gpu": null, "main_gpu": null, "low_vram": null, "f16_kv": null, "logits_all": null, "vocab_only": null, "use_mmap": null, "use_mlock": null, "embedding_only": null, "num_thread": null, "num_keep": null, "seed": null, "num_predict": null, "top_k": null, "top_p": null, "tfs_z": null, "typical_p": null, "repeat_last_n": null, "temperature": null, "repeat_penalty": null, "presence_penalty": null, "frequency_penalty": null, "mirostat": null, "mirostat_tau": null, "mirostat_eta": null, "penalize_newline": null, "stop": null}
Defined in#/$defs/OllamaOptions

Description: Additional arguments when calling ollama.AsyncClient.chat

Description: Additional arguments when calling ollama.AsyncClient.chat

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- numaNobooleanNo-Numa
- num_ctxNointegerNo-Num Ctx
- num_batchNointegerNo-Num Batch
- num_gpuNointegerNo-Num Gpu
- main_gpuNointegerNo-Main Gpu
- low_vramNobooleanNo-Low Vram
- f16_kvNobooleanNo-F16 Kv
- logits_allNobooleanNo-Logits All
- vocab_onlyNobooleanNo-Vocab Only
- use_mmapNobooleanNo-Use Mmap
- use_mlockNobooleanNo-Use Mlock
- embedding_onlyNobooleanNo-Embedding Only
- num_threadNointegerNo-Num Thread
- num_keepNointegerNo-Num Keep
- seedNointegerNo-Seed
- num_predictNointegerNo-Num Predict
- top_kNointegerNo-Top K
- top_pNonumberNo-Top P
- tfs_zNonumberNo-Tfs Z
- typical_pNonumberNo-Typical P
- repeat_last_nNointegerNo-Repeat Last N
- temperatureNonumberNo-Temperature
- repeat_penaltyNonumberNo-Repeat Penalty
- presence_penaltyNonumberNo-Presence Penalty
- frequency_penaltyNonumberNo-Frequency Penalty
- mirostatNointegerNo-Mirostat
- mirostat_tauNonumberNo-Mirostat Tau
- mirostat_etaNonumberNo-Mirostat Eta
- penalize_newlineNobooleanNo-Penalize Newline
- stopNoarray of stringNo-Stop

7.1. Property numa

Title: Numa

Typeboolean
RequiredNo
Defaultnull

7.2. Property num_ctx

Title: Num Ctx

Typeinteger
RequiredNo
Defaultnull

7.3. Property num_batch

Title: Num Batch

Typeinteger
RequiredNo
Defaultnull

7.4. Property num_gpu

Title: Num Gpu

Typeinteger
RequiredNo
Defaultnull

7.5. Property main_gpu

Title: Main Gpu

Typeinteger
RequiredNo
Defaultnull

7.6. Property low_vram

Title: Low Vram

Typeboolean
RequiredNo
Defaultnull

7.7. Property f16_kv

Title: F16 Kv

Typeboolean
RequiredNo
Defaultnull

7.8. Property logits_all

Title: Logits All

Typeboolean
RequiredNo
Defaultnull

7.9. Property vocab_only

Title: Vocab Only

Typeboolean
RequiredNo
Defaultnull

7.10. Property use_mmap

Title: Use Mmap

Typeboolean
RequiredNo
Defaultnull

7.11. Property use_mlock

Title: Use Mlock

Typeboolean
RequiredNo
Defaultnull

7.12. Property embedding_only

Title: Embedding Only

Typeboolean
RequiredNo
Defaultnull

7.13. Property num_thread

Title: Num Thread

Typeinteger
RequiredNo
Defaultnull

7.14. Property num_keep

Title: Num Keep

Typeinteger
RequiredNo
Defaultnull

7.15. Property seed

Title: Seed

Typeinteger
RequiredNo
Defaultnull

7.16. Property num_predict

Title: Num Predict

Typeinteger
RequiredNo
Defaultnull

7.17. Property top_k

Title: Top K

Typeinteger
RequiredNo
Defaultnull

7.18. Property top_p

Title: Top P

Typenumber
RequiredNo
Defaultnull

7.19. Property tfs_z

Title: Tfs Z

Typenumber
RequiredNo
Defaultnull

7.20. Property typical_p

Title: Typical P

Typenumber
RequiredNo
Defaultnull

7.21. Property repeat_last_n

Title: Repeat Last N

Typeinteger
RequiredNo
Defaultnull

7.22. Property temperature

Title: Temperature

Typenumber
RequiredNo
Defaultnull

7.23. Property repeat_penalty

Title: Repeat Penalty

Typenumber
RequiredNo
Defaultnull

7.24. Property presence_penalty

Title: Presence Penalty

Typenumber
RequiredNo
Defaultnull

7.25. Property frequency_penalty

Title: Frequency Penalty

Typenumber
RequiredNo
Defaultnull

7.26. Property mirostat

Title: Mirostat

Typeinteger
RequiredNo
Defaultnull

7.27. Property mirostat_tau

Title: Mirostat Tau

Typenumber
RequiredNo
Defaultnull

7.28. Property mirostat_eta

Title: Mirostat Eta

Typenumber
RequiredNo
Defaultnull

7.29. Property penalize_newline

Title: Penalize Newline

Typeboolean
RequiredNo
Defaultnull

7.30. Property stop

Title: Stop

Typearray of string
RequiredNo
Defaultnull
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
stop items-

7.30.1. stop items

Typestring
RequiredNo