initial commit

This commit is contained in:
2026-03-11 22:51:42 +01:00
commit 95c2c9cafe
16 changed files with 1942 additions and 0 deletions

19
internal/domain/llm.go Normal file
View File

@@ -0,0 +1,19 @@
package domain
import "context"
// LLMRequest represents a request to the LLM
type LLMRequest struct {
Prompt string
Schema interface{} // JSON schema for structured output
}
// LLMResponse represents the response from the LLM
type LLMResponse struct {
Content string
}
// LLMProvider defines the interface for LLM providers
type LLMProvider interface {
Complete(ctx context.Context, request LLMRequest) (*LLMResponse, error)
}