The combination between Chat Model in PaLM API and Code Generation Model in PaLM API model.

Example use case:

code_chat_model = CodeChatModel.from_pretrained("codechat-bison")
 
code_chat = code_chat_model.start_chat()
 
print(
    code_chat.send_message(
        "Please help write a function to calculate the min of two numbers",
    )
)

References