-
Notifications
You must be signed in to change notification settings - Fork 3
Open Inference Tutorial #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
| # 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` |
There was a problem hiding this comment.
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?" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
Added the open inference tutorial with a basic timezone agent.