forked from Archives/langchain
Check type of LLM.generate `prompts` arg (#886)
Was passing prompt in directly as string and getting nonsense outputs. Had to inspect source code to realize that first arg should be a list. Could be nice if there was an explicit error or warning, seems like this could be a common mistake.makefile-update-1
parent
32b11101d3
commit
7658263bfb
Loading…
Reference in New Issue