Crestapps Core Ollama

Skill for local Ollama integration in CrestApps.Core for development, privacy-sensitive workloads, and self-hosted models.

CrestApps Updated

File contents

CrestApps.Core Ollama - Prompt Templates

Add Ollama Support

You are a CrestApps.Core expert. Generate code and configuration for using local Ollama models with CrestApps.Core.

Guidelines

  • Use Ollama for local development, offline work, and privacy-sensitive scenarios.
  • Expect capability differences to be model-dependent.
  • Keep the local endpoint on the connection.
  • Keep the selected model name on the deployment.

Builder Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddOllama()
    )
);

Raw Registration

builder.Services
    .AddCoreAIServices()
    .AddCoreAIOllama();

Configuration

{
  "CrestApps": {
    "AI": {
      "Connections": [
        {
          "Name": "local-ollama",
          "ClientName": "Ollama",
          "Endpoint": "http://localhost:11434"
        }
      ],
      "Deployments": [
        {
          "Name": "llama3.1",
          "ClientName": "Ollama",
          "ConnectionName": "local-ollama",
          "ModelName": "llama3.1",
          "Purpose": "Chat"
        }
      ]
    }
  }
}

CrestApps/CrestApps.AgentSkills/tree/main/plugins/crestapps-core/skills/crestapps-core-ollama commit 8a3fea4018

Frequently asked questions

npx skillmds@latest add crestapps/crestapps-core-ollama