jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Add test handlers, option to choose mock language model for testing

Open andrii-i opened this issue 2 years ago • 1 comments
trafficstars

Problem

Currently to test something involving interaction with language model or to test chat UI, real API key or locally hosted language model is required. This is not optimal for testing.

Proposed Solution

Add test handlers, option to choose mock language model for testing.

andrii-i avatar Aug 28 '23 17:08 andrii-i

A testing language model, aka a mock testing model, would need to return predictable output for any prompt.

JasonWeill avatar Aug 28 '23 18:08 JasonWeill