struct Memo::Namespaces::Config

Overview

Configuration for a single namespace

Defined in:

arcana/namespaces.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ns : String, db : String, service : String | Nil = nil, format : String | Nil = nil, api_key : String | Nil = nil, model : String | Nil = nil, index_dir : String | Nil = nil, chunking_max_tokens : Int32 = 2000, preload : Bool = false) #

[View source]

Instance Method Detail

def api_key : String | Nil #

[View source]
def chunking_max_tokens : Int32 #

[View source]
def db : String #

[View source]
def format : String | Nil #

[View source]
def index_dir : String | Nil #

[View source]
def model : String | Nil #

[View source]
def ns : String #

[View source]
def preload : Bool #

[View source]
def service : String | Nil #

[View source]