langchain icon indicating copy to clipboard operation
langchain copied to clipboard

[test] add a new test for LLM class

Open skcoirz opened this issue 1 year ago • 2 comments

  • added unit test cases for LLM base class.
  • covering both realtime and async entry points.

skcoirz avatar May 09 '23 23:05 skcoirz

what the use case? don't we already have fake llms

dev2049 avatar May 17 '23 02:05 dev2049

what the use case? don't we already have fake llms

this is just a simple one time class, being used in this test case only. The difference is the call function. This class here simply returns the prompt. Fake LLM class requires several more steps for a similar result. There is no major difference. Using this simple class here makes the test logics much simpler.

This test case is added for LLM Class generation and ageneration functions.

cc @dev2049

skcoirz avatar May 17 '23 02:05 skcoirz

stale

baskaryan avatar Aug 01 '23 00:08 baskaryan