struct

Crig::Embeddings::ToolSchema

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(name : String, context : JSON::Any, embedding_docs : Array(String))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
try_from(tool : Crig::ToolEmbeddingDyn) : self
Source

Instance methods

context
Source
embed(embedder : Crig::Embeddings::TextEmbedder) : Nil
Source
embedding_docs
Source
name
Source