-
Notifications
You must be signed in to change notification settings - Fork 3
[WIP] Ghost writer demo & EuroPython talk #8
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: main
Are you sure you want to change the base?
Conversation
- Fetch it in the python script - Add mcp instrumentation - Remove scrubbing to avoid demo issues
- Add a tool to extract code snippets from technical content
Refactor scripts to use new prompt structure.
return f"Error: {e}" | ||
|
||
|
||
async def extract_technical_content(url: str) -> str: |
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 this can be made as a tool, and as such wouldn't be called as part of the initial writer prompt in generate_blog_post()
? The LLM will be responsible for (not) calling this tool to fetch the technical content it needs.
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.
makes sense, go for it. also nice to have another tool to see in the instrumentation.
2025-07-16-europython/pydantic-ghost-writer/pydantic_ghost_writer.py
Outdated
Show resolved
Hide resolved
a8d652b
to
9ec9a0f
Compare
No description provided.