We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebe5be commit b7e34a9Copy full SHA for b7e34a9
promptolution/utils/formatting.py
@@ -1,5 +1,6 @@
1
"""Utils for formatting prompts and outputs."""
2
-from typing import Union, List
+from typing import List, Union
3
+
4
5
def extract_from_tag(text: str, start_tag: str, end_tag: str) -> Union[List[str], str]:
6
"""Extracts content from a string between specified start and end tags."""
0 commit comments