Skip to content

Commit f3398e4

Browse files
committed
Spellcheck fixes
1 parent 4532e94 commit f3398e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

instrumentation-genai/opentelemetry-instrumentation-openai-agents/examples/openai_agents_multi_agent_travel/enhanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def _match(pattern: str) -> Optional[str]:
538538

539539
origin = _match(r"from\s+([A-Za-z\s]+?)(?:\s+to|\.|,|\n)")
540540
destination = _match(r"to\s+([A-Za-z\s]+?)(?:\.|,|\n)")
541-
dep = _match(r"depart(?:ure)?(?:\s+date)?[:\-]?\s*(\d{4}-\d{2}-\d{2}|[A-Za-z]+\s+\d{1,2})")
541+
dep = _match(r"depart?(?:\s+date)?[:\-]?\s*(\d{4}-\d{2}-\d{2}|[A-Za-z]+\s+\d{1,2})")
542542
ret = _match(r"return(?:\s+date)?[:\-]?\s*(\d{4}-\d{2}-\d{2}|[A-Za-z]+\s+\d{1,2})")
543543
travelers = _match(r"(\d+)\s+(?:traveler|people|persons|adults|guests)")
544544
trip_type = _match(r"(business|leisure|family|romantic|adventure|cultural)")

instrumentation-genai/opentelemetry-instrumentation-openai-agents/examples/weather_lookup_capture_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def main() -> None:
197197
with tracer.start_as_current_span(
198198
f"weather_lookup_request[{api_config.provider}]"
199199
) as span:
200-
user_query = "whats the weather in NYC?"
200+
user_query = "what is the weather in NYC?"
201201

202202
span.set_attribute("user.query", user_query)
203203
span.set_attribute("api.host", os.getenv("API_HOST", "github"))

0 commit comments

Comments
 (0)