Skip to content

Commit

Permalink
[Python] Added VLMPipeline::set_chat_template (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored Oct 29, 2024
1 parent 9daaf5a commit 86782e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/py_vlm_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ void init_vlm_pipeline(py::module_& m) {

.def("start_chat", &ov::genai::VLMPipeline::start_chat, py::arg("system_message") = "")
.def("finish_chat", &ov::genai::VLMPipeline::finish_chat)
.def("set_chat_template", &ov::genai::VLMPipeline::set_chat_template)
.def("get_tokenizer", &ov::genai::VLMPipeline::get_tokenizer)
.def("get_generation_config", &ov::genai::VLMPipeline::get_generation_config)
.def("set_generation_config", &ov::genai::VLMPipeline::set_generation_config)
Expand Down

0 comments on commit 86782e1

Please sign in to comment.