Module llm_sdk_test

Module llm_sdk_test 

Source

Structs§

MockLanguageModel
A mock language model for testing that tracks inputs and yields predefined outputs.

Enums§

MockGenerateResult
Result for a mocked generate call. It can either be a full response or an error to return.
MockStreamResult
Result for a mocked stream call. It can either be a set of partial responses or an error to return.