LangChain - Production Deployment
How can you modify this LangServe class to handle both string and list inputs by returning their length?
class LengthAPI:
def __call__(self, input):
return len(input)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions