sobelio / llm-chain

`llm-chain` is a powerful rust crate for building chains in large language models allowing you to summarise text and complete complex tasks
https://llm-chain.xyz
MIT License
1.3k stars 128 forks source link

Mock LLM driver #198

Closed shinglyu closed 1 year ago

shinglyu commented 1 year ago

Running a real LLM locally or use a paid API is costly. For quick testing and debugging, this mock driver simulates a real LLM but is much faster and cheaper to run.

This implements a LLM executor that only echos your prompt and options back.