#nlp #machine-learning #performance #minimal

yanked speak

A minimal, fast, machine-learning based chatbot

0.1.12 Feb 20, 2023
0.1.11 May 26, 2022

#36 in #minimal

36 downloads per month

MPL-2.0 license

48KB
711 lines

This project is deprecated, use alternatives

Speak

logo

Speak is a Chatbot based in machine-learning, which can be used to interact with the user. The philosophy of the project is to make the user feel like they are talking to a real person, and the way Speak does that is by being very fast, that's it.

Installation

Just put this in your Cargo.toml

speak = "0.1.11"

Features

Speak is very simple to use by design, that's the reason it has only a few public objects and functions. The features you're going to use are:

  • DynMap (Struct)
  • learn(...)
  • run(...)

That's it, you can use Speak with just two functions! These two functions are just normal functions, and you can use them in any way you want. If you want to know more, check your favorite IDE documentation tool. (All docs are integrated in the crate.)

Configuration

One of the philosophies of Speak is that the UX is very customizable. That's why Speak has a lot of flexibility when using custom features, there isn't any limit to the number of custom features you can use, and you can enable or disable them at any time, without compromising any other configuration.

To see the features you can use and their configuration, check the Speak documentation, clicking this

See also: Features Documentation

Why is Speak so fast?

Firstly, Speak is written in Rust, with just a few hundred lines of code, with 0 dependencies and just two files (the main library and the utils library.), Secondly, it's written in the (realisticly) most efficient and strict way possible. Also have in mind that Speak is designed to be fast in every loop, in every function wrapping there's a lot of thought, because performance is very important for this project, we want to be able to even have a live chat with the bot.

Contributions

You can contribute to this project with almost anything, it can be code, documentation, bug reports, feature requests... etc. You can do it opening an issue or a pull request, or you can contact me on social media.

Currently there isn't any contributor guide yet, I'll make one soon.

Thanks for contributing!

Stargazers repo roster for @SpeakML/speak

⚖️ License & Credits

Speak uses the Mozilla Public License, Version 2.0

Creator: Alex G. C. aka Blyxyas

Dependencies

~0.8–12MB
~82K SLoC