LEM scoring pipeline, native MLX Metal bindings, Claude SDK wrapper, RAG with Qdrant/Ollama, unified AI facade, and MCP protocol server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
385 B
Go
19 lines
385 B
Go
package agentic
|
|
|
|
import (
|
|
"embed"
|
|
"strings"
|
|
)
|
|
|
|
//go:embed prompts/*.md
|
|
var promptsFS embed.FS
|
|
|
|
// Prompt returns the content of an embedded prompt file.
|
|
// Name should be without the .md extension (e.g., "commit").
|
|
func Prompt(name string) string {
|
|
data, err := promptsFS.ReadFile("prompts/" + name + ".md")
|
|
if err != nil {
|
|
return ""
|
|
}
|
|
return strings.TrimSpace(string(data))
|
|
}
|