#llm #ollama #gemini #language-model #dialog #refer #api

samvadsetu

Simple LLM API for commonly used LLM services including Gemini, ChatGPT, and Ollama. The name implies a bridge for dialogue since the library facilitates communication and interaction between a programs logic and the large language models capabilities. The sanskrit word saṃvāda (संवाद) refers to dialogue, and setu (सेतु) means bridge.

3 releases

0.1.2 Jan 18, 2025
0.1.1 Jan 17, 2025
0.1.0 Jan 17, 2025

#383 in Text processing

Download history 299/week @ 2025-01-14 28/week @ 2025-01-21 7/week @ 2025-02-04

334 downloads per month

MIT/Apache

63KB
1K SLoC

samvadsetu | संवाद-सेतु

Simple LLM API for commonly used LLM services including Gemini, ChatGPT, and Ollama. The name implies a bridge for dialogue since the library facilitates communication and interaction between a programs logic and the large language models capabilities. The sanskrit word saṃvāda (संवाद) refers to dialogue, and setu (सेतु) means bridge.

Crates.io Docs.rs CI

Installation

Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • run cargo install samvadsetu

License

Licensed under Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~7–19MB
~268K SLoC