Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent provides an abstraction layer for managing communication with OpenCode in agent mode, with a focus on MCP (Model Context Protocol) server configuration.
|
Package agent provides an abstraction layer for managing communication with OpenCode in agent mode, with a focus on MCP (Model Context Protocol) server configuration. |
|
examples/basic
command
Example demonstrates basic usage of the agent package with MCP servers
|
Example demonstrates basic usage of the agent package with MCP servers |
|
examples/feedback-loop
command
|
|
|
examples/mcp-feedback
command
|
|
|
Package chains provides composable chains for LLM workflows.
|
Package chains provides composable chains for LLM workflows. |
|
Package contextpacker provides utilities for packing and optimizing context for LLM workflows.
|
Package contextpacker provides utilities for packing and optimizing context for LLM workflows. |
|
fake
Package fake provides mock tokenizers for testing context packing.
|
Package fake provides mock tokenizers for testing context packing. |
|
Package documentloaders provides utilities for loading documents from various sources.
|
Package documentloaders provides utilities for loading documents from various sources. |
|
Package embeddings provides interfaces and utilities for text embedding.
|
Package embeddings provides interfaces and utilities for text embedding. |
|
fastapi
Package fastapi provides an embedder client for remote FastAPI embedding servers.
|
Package fastapi provides an embedder client for remote FastAPI embedding servers. |
|
sparse
Package sparse provides utilities for generating sparse vectors for hybrid search.
|
Package sparse provides utilities for generating sparse vectors for hybrid search. |
|
sparse/code
Package code provides code-aware sparse vector generation for source code.
|
Package code provides code-aware sparse vector generation for source code. |
|
examples
|
|
|
gemini-chat-example
command
|
|
|
html-parser-demo
command
|
|
|
hybrid-search
command
|
|
|
kokoro-captioned-dialogue
command
Package main demonstrates captioned dialogue synthesis with timestamp-based timing.
|
Package main demonstrates captioned dialogue synthesis with timestamp-based timing. |
|
kokoro-dialogue
command
|
|
|
kokoro-streaming
command
|
|
|
kokoro-tts
command
|
|
|
ollama-chat-example
command
|
|
|
ollama-git-terraform-qa
command
|
|
|
ollama-retrieval-qa
command
|
|
|
openai-dialogue
command
|
|
|
openai-tts
command
Package main demonstrates OpenAI Text-to-Speech API usage.
|
Package main demonstrates OpenAI Text-to-Speech API usage. |
|
qdrant-rerank
command
|
|
|
qdrant-ultimate-rag
command
|
|
|
rag-evaluation-msmarco-csv
command
|
|
|
rag-with-validation
command
|
|
|
rss-ingestion
command
|
|
|
rss-with-html-parser
command
|
|
|
Package gitutil provides utilities for working with Git repositories.
|
Package gitutil provides utilities for working with Git repositories. |
|
Package httpclient provides a shared HTTP client with sensible defaults for connection pooling, timeouts, and retry logic.
|
Package httpclient provides a shared HTTP client with sensible defaults for connection pooling, timeouts, and retry logic. |
|
Package llms provides interfaces and utilities for LLM providers.
|
Package llms provides interfaces and utilities for LLM providers. |
|
fake
Package fake provides mock LLM implementations for testing.
|
Package fake provides mock LLM implementations for testing. |
|
gemini
Package gemini provides LLM and embedding support for Google's Gemini models.
|
Package gemini provides LLM and embedding support for Google's Gemini models. |
|
ollama
Package ollama provides a client for interacting with Ollama's local LLM server.
|
Package ollama provides a client for interacting with Ollama's local LLM server. |
|
Package output provides parsers for structured LLM output.
|
Package output provides parsers for structured LLM output. |
|
Package parsers provides a registry for language-specific parser plugins.
|
Package parsers provides a registry for language-specific parser plugins. |
|
csv
Package csv parses CSV files with header support.
|
Package csv parses CSV files with header support. |
|
golang
Package golang parses Go source files for code analysis and documentation extraction.
|
Package golang parses Go source files for code analysis and documentation extraction. |
|
html
Package html provides an HTML parser plugin for transforming HTML content into clean Markdown suitable for LLM consumption and RAG applications.
|
Package html provides an HTML parser plugin for transforming HTML content into clean Markdown suitable for LLM consumption and RAG applications. |
|
json
Package json parses JSON files for structure extraction.
|
Package json parses JSON files for structure extraction. |
|
markdown
Package markdown parses Markdown files for structured content extraction.
|
Package markdown parses Markdown files for structured content extraction. |
|
pdf
Package pdf parses PDF documents for text extraction.
|
Package pdf parses PDF documents for text extraction. |
|
protobuf
Package protobuf parses Protocol Buffer definition files.
|
Package protobuf parses Protocol Buffer definition files. |
|
terraform
Package terraform parses Terraform configuration files.
|
Package terraform parses Terraform configuration files. |
|
testing
Package testing provides test utilities for parser development.
|
Package testing provides test utilities for parser development. |
|
text
Package text parses plain text files for content extraction.
|
Package text parses plain text files for content extraction. |
|
typescript
Package typescript parses TypeScript source files for code analysis.
|
Package typescript parses TypeScript source files for code analysis. |
|
yaml
Package yaml parses YAML configuration files.
|
Package yaml parses YAML configuration files. |
|
Package prompts provides prompt templates for LLM interactions.
|
Package prompts provides prompt templates for LLM interactions. |
|
Package schema defines core data structures and interfaces used throughout the goframe library.
|
Package schema defines core data structures and interfaces used throughout the goframe library. |
|
fake
Package fake provides mock implementations for schema interfaces in tests.
|
Package fake provides mock implementations for schema interfaces in tests. |
|
Package textsplitter provides text splitting utilities for chunking documents.
|
Package textsplitter provides text splitting utilities for chunking documents. |
|
Package vectorstores provides interfaces and implementations for vector databases.
|
Package vectorstores provides interfaces and implementations for vector databases. |
|
fake
Package fake provides an in-memory vector store for testing.
|
Package fake provides an in-memory vector store for testing. |
|
qdrant
Package qdrant provides a Qdrant vector database integration for GoFrame.
|
Package qdrant provides a Qdrant vector database integration for GoFrame. |
|
Package voice provides interfaces and types for Text-to-Speech synthesis.
|
Package voice provides interfaces and types for Text-to-Speech synthesis. |
|
elevenlabs
Package elevenlabs provides text-to-speech synthesis using the ElevenLabs API.
|
Package elevenlabs provides text-to-speech synthesis using the ElevenLabs API. |
|
openai
Package openai provides an OpenAI-compatible Text-to-Speech implementation.
|
Package openai provides an OpenAI-compatible Text-to-Speech implementation. |
Click to show internal directories.
Click to hide internal directories.