mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-21 16:55:25 -04:00
8dcad0f272
Previously, the client expected a strict 'prompt' or 'messages' format and wouldn't permit running a chat model or llm on prompts or messages (respectively). Since many datasets may want to specify custom key: string , relax this requirement. Also, add support for running a chat model on raw prompts and LLM on chat messages through their respective fallbacks.