Is it compatible with langchain tools?
#2
by
xDAN2099
- opened
nice work you did!
I will investigate this model with langchain.
But based on how my work on textgen-webui, if you provide few shot prompt template, it would work! I added idenctifier patterns like and to fine-tuned dataset as well as few shot prompts just to make sure models have better chance to follow our instruction.
We cann't expect all models to follow function calling instruction like GPTs, so we have to be smarter with prompting.
You could take a look on the prompt work behind the scene with textgen-webui : https://github.com/yhyu13/text-generation-webui/blob/f9b58c7344b80d91dadec20edab6006c41bf63f3/extensions/openai/function_call.py#L106