langchain_community.chains.graph_qa.kuzu.remove_prefix

langchain_community.chains.graph_qa.kuzu.remove_prefix(text: str, prefix: str) str[source]

从文本中删除前缀。

参数:

text:要从中删除前缀的文本。 prefix:要从文本中删除的前缀。

返回:

删除前缀后的文本。

Parameters
  • text (str) –

  • prefix (str) –

Return type

str