internal/

directory
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: BSD-2-Clause

Directories

Path Synopsis
Package embeds answers whether one type is another or is built on it, the way a type that embeds another inherits from it: the Go counterpart of asking whether a value is an instance of a class or of one derived from it.
Package embeds answers whether one type is another or is built on it, the way a type that embeds another inherits from it: the Go counterpart of asking whether a value is an instance of a class or of one derived from it.
Package goid recognizes the calling goroutine, for the few places that must tell whether they are being called from a goroutine they started: something that waits for that goroutine to end would otherwise wait for itself.
Package goid recognizes the calling goroutine, for the few places that must tell whether they are being called from a goroutine they started: something that waits for that goroutine to end would otherwise wait for itself.
Package hfhub downloads a model's files from the Hugging Face Hub into a local cache, laid out as the Hub's own client lays it out, so files fetched by either one are found by the other: a model downloaded ahead with `huggingface-cli download`, such as while building an image, is used in place without going to the network.
Package hfhub downloads a model's files from the Hugging Face Hub into a local cache, laid out as the Hub's own client lays it out, so files fetched by either one are found by the other: a model downloaded ahead with `huggingface-cli download`, such as while building an image, is used in place without going to the network.
Package modelcache keeps models loaded once a process, so every owner using the same model and settings shares one.
Package modelcache keeps models loaded once a process, so every owner using the same model and settings shares one.
Package onnxrt centralizes jargo's use of the ONNX runtime.
Package onnxrt centralizes jargo's use of the ONNX runtime.
Package ordered writes JSON objects whose keys keep the order they were given in.
Package ordered writes JSON objects whose keys keep the order they were given in.
Package providertest holds shared assertions for provider packages whose behavior is fully determined by the base service they delegate to.
Package providertest holds shared assertions for provider packages whose behavior is fully determined by the base service they delegate to.
Package pytext holds the string and rounding rules the tone models' inputs were written by, which differ from Go's at the edges.
Package pytext holds the string and rounding rules the tone models' inputs were written by, which differ from Go's at the edges.
Package query provides jargo's shared URL-query helpers.
Package query provides jargo's shared URL-query helpers.
Package sentencex splits text into sentences, with rules for many languages.
Package sentencex splits text into sentences, with rules for many languages.
Package tagscan extracts control tags like <dtmf>1</dtmf> from a streamed text response, so a processor can act on the tags and speak the rest.
Package tagscan extracts control tags like <dtmf>1</dtmf> from a streamed text response, so a processor can act on the tags and speak the rest.
Package tokenizers encodes text into model input ids exactly as the Hugging Face tokenizers library (version 0.23.3, through its Python binding) does for the tokenizer.json files it supports: the same ids, type ids, masks, sequence ids and offsets, the offsets counted in Unicode code points of the sequence each token belongs to.
Package tokenizers encodes text into model input ids exactly as the Hugging Face tokenizers library (version 0.23.3, through its Python binding) does for the tokenizer.json files it supports: the same ids, type ids, masks, sequence ids and offsets, the offsets counted in Unicode code points of the sequence each token belongs to.
Package validate provides jargo's shared struct validator.
Package validate provides jargo's shared struct validator.

Jump to

Keyboard shortcuts

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