5 releases
0.2.2 | Feb 28, 2024 |
---|---|
0.2.1 | Feb 28, 2024 |
0.2.0 | Feb 19, 2024 |
0.1.1 | Dec 21, 2023 |
0.1.0 | Dec 16, 2023 |
#888 in Machine learning
Used in kalosm
535KB
12K
SLoC
Kalosm Language
This crate is a collection of language processing utilities for the Kalosm project.
There are two main traits in this crate: prelude::ModelExt
for large language model (that implement prelude::Model
) and prelude::Embedder
for text embedding model.
Those two traits interact with the context that this crate provides. Many different types in this crates can be converted to a prelude::Document
with the prelude::IntoDocument
or prelude::IntoDocuments
trait:
prelude::Page
: Handles scraping a webpage from a request of headless browserprelude::SearchQuery
: Handles searching with a search engine and scaping the resultprelude::CrawlingCallback
: Handles crawling a set of webpagesprelude::FsDocument
: Handles reading a document from the file systemprelude::DocumentFolder
: Handles reading an entire folder of documents from the file system
Dependencies
~71–110MB
~2M SLoC