llm

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client handles LLM API interactions

func NewClient

func NewClient(cfg *config.LLMConfig) *Client

NewClient creates a new LLM client

func (*Client) Enrich

func (c *Client) Enrich(repo *index.Repo) (*EnrichmentResult, error)

Enrich generates description and tags for a repository

type EnrichmentResult

type EnrichmentResult struct {
	Description string   `json:"description"`
	Tags        []string `json:"tags"`
}

EnrichmentResult represents the result of LLM enrichment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL