Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,10 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 37 |
|
| 38 |
@tool
|
| 39 |
def text_splitter(text: str) -> List[str]:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
c_splitter = CharacterTextSplitter(
|
| 41 |
chunk_size=450,
|
| 42 |
chunk_overlap=10
|
|
|
|
| 37 |
|
| 38 |
@tool
|
| 39 |
def text_splitter(text: str) -> List[str]:
|
| 40 |
+
"""A tool that splits text by character.
|
| 41 |
+
Args:
|
| 42 |
+
text: A string of text to be split.
|
| 43 |
+
"""
|
| 44 |
c_splitter = CharacterTextSplitter(
|
| 45 |
chunk_size=450,
|
| 46 |
chunk_overlap=10
|