get_code_templates

hana_ai.vectorstore.code_templates.get_code_templates(option=None, customized_dir=None)

Get code templates.

Parameters:
option: {'python', 'sql'}, optional

The option of language. Default to 'python'.

customized_dir: str, optional

Customized directory. Default to None.

Returns:
Dict

A dictionary containing the code templates with the following keys: 'id', 'description', 'example'.