Skip to content

Conversation

@snpranav
Copy link

Added the open inference tutorial with a basic timezone agent.

@snpranav snpranav requested review from fryz and videetparekh August 25, 2025 14:06
# Arthur Configuration
ARTHUR_BASE_URL=https://app.arthur.ai # or your self-hosted instance
ARTHUR_API_KEY=your_arthur_api_key_here
ARTHUR_TASK_ID=your_task_id_here # ensure that your task is marked as agentic: `is_agentic=True`
Copy link
Contributor

@videetparekh videetparekh Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to include instructions for this? This was meant to be an internal tutorial so I didn't bother, but that may be vital for external users.

**Examples:**
- "What is 10pm EDT in California?"
- "Convert 2:30pm EST to Tokyo time"
- "What time is 9am in London when it's 3pm in New York?"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a really bad example lol. Might wanna change this to - "What time is it in London when it's 3pm in New York?"


**Common Abbreviations:** UTC, GMT, JST, IST, CET, BST, etc.

## File Structure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the README can be simplified to just the core information


### 2. Creating Tools

The tools are defined in `timezone_tools.py` using LangChain's `@tool` decorator:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be cool to emphasise that we can support most popular frameworks.


The agent injects Arthur task metadata into all traces, allowing you to view and analyze the interactions in your Arthur dashboard.

### 4. Injecting Arthur Task Metadata
Copy link
Contributor

@videetparekh videetparekh Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this step and emphasize setting the task ID in the tracing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants