langchain.chains.graph_qa.kuzu.remove_prefix

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

Remove a prefix from a text.

Parameters
  • text (str) – Text to remove the prefix from.

  • prefix (str) – Prefix to remove from the text.

Returns

Text with the prefix removed.

Return type

str