Create And Push Ollama Model • AI Agents Framework

create_and_push_ollama_model: API reference for TrainModel.create_and_push_ollama_model

create_and_push_ollama_model

Method

</div>

This is a method of the TrainModel class in the train module.

Signature

python
def create_and_push_ollama_model() -> Any

Returns

ResponseField Any

The result of the operation.

Uses

  • prepare_modelfile_content
  • file.write
  • subprocess.run

Used By

Source

View on GitHub

praisonai/train.py at line 524