Skip to content

Commit b677e77

Browse files
committed
fix lint error
Signed-off-by: Akihiko Kuroda <akihikokuroda2020@gmail.com>
1 parent 3b19bd6 commit b677e77

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/examples/telemetry/telemetry_example.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@
3939
@generative
4040
def classify_sentiment(text: str) -> str:
4141
"""Classify the sentiment of the given text as positive, negative, or neutral."""
42-
...
4342

4443

4544
@generative
4645
def extract_entities(text: str) -> list[str]:
4746
"""Extract named entities from the text."""
48-
...
4947

5048

5149
def main():
@@ -91,10 +89,10 @@ def main():
9189
# Example 4: Chat interaction
9290
print("\n4. Chat interaction...")
9391
response1 = m.chat("What is 2+2?")
94-
print(f"Response 1: {str(response1)}")
92+
print(f"Response 1: {response1!s}")
9593

9694
response2 = m.chat("Multiply that by 3")
97-
print(f"Response 2: {str(response2)}")
95+
print(f"Response 2: {response2!s}")
9896

9997
print("\n" + "=" * 60)
10098
print("Example complete!")

0 commit comments

Comments
 (0)