Docs: image and PDF use cases + misc touchups#343
Docs: image and PDF use cases + misc touchups#343anyacherniss wants to merge 19 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| Example: | ||
|
|
||
| ``` | ||
| Can you retry the last 5 completions of anotherai/agent/image-description-generator and compare the outputs with |
There was a problem hiding this comment.
@anyacherniss does this use-case works?
is Claude/Cursor able to fetch the image via their url to understand what the image is about?
There was a problem hiding this comment.
It appears so yes, I asked Claude to analyze an image from https://anotherai.dev/experiments/01999b76-0e5c-7086-4849-3ef9e28f0ff6, which reused inputs from https://anotherai.dev/experiments/01999b4a-5300-73c2-9ff7-a7e75094c124.
The description initially had some errors: initially it said 4 donuts, not three, and I made up asking about a "green thing" to see if it would actually note that it doesn't exist. After prompting it to recheck, it appears it can view and analyze the image.
This is Sonnet 4.5
|
@claude can you review and suggest any improvements that either:
|
|
Claude finished @anyacherniss's task —— View job PR Review: Documentation Improvements for Image and PDF Use CasesI've reviewed all the documentation changes in this PR. The overall structure and content are strong, but I've found several areas where readability can be improved for new/prospective users and a few technical inaccuracies that should be addressed. ✅ Strengths
🔍 Issues Found1. Missing Space in Prompt Examples (image-agents.mdx:41, pdf-processing-agents.mdx:41)Missing space between "image" and "where". Should be: 2. Inconsistent Capitalization (Both files)Line 58: "User identication" → "User identification" 3. Confusing Wording for Dataset Structure (image-agents.mdx:101-103, pdf-processing-agents.mdx:101-103)The current wording is unclear for new users:
Suggested rewrite:
4. Technical Inaccuracy in Callout (image-agents.mdx:144-156)The callout about file path references is partially incorrect based on the review comments. Anya noted that dragged and dropped PDFs in Claude Code do include file paths. Consider clarifying or removing this callout to avoid confusion. 5. Grammatical Error (Both files)Line 97: "There a couple ways to do this" → "There are a couple ways to do this" 6. Unclear JSON Structure (image-agents.mdx:124, 130, 135)The JSON examples have trailing commas that make them invalid: {
"image_url": "https://example.com/images/photo1.jpg",
}Should be: {
"image_url": "https://example.com/images/photo1.jpg"
}7. Duplicate Content IssueThe PDF processing document appears to be largely copied from the image agents document with minimal changes. While the structure is appropriate, consider:
8. Missing Context for New Users (user-feedback.mdx:33-45)The example jumps into asking the AI assistant to create a function without explaining:
Consider adding a brief introduction or linking to relevant documentation. 9. Inconsistent Image ReferencesSome image references use generic placeholder names (e.g., 💡 Suggestions for Improvement
✅ Todo List
The documentation additions are valuable and well-structured overall. Addressing these issues will make the guides more accessible to new users and technically accurate. |
|
|
||
| #### Uploading Individual PDFs | ||
|
|
||
| If you have a small number of PDFs to test that you can also upload them individually to your AI assistant. Since PDFs uploaded this way aren't stored in a persistent dataset, this approach is best suited for ad-hoc testing rather than systematic experimentation. While any completions created using these PDFs will be stored in AnotherAI and can be reused in future experiments, if you wanted to test any specific PDFs again at a later date, you would need to provide links to the specific completions that used those documents. |
There was a problem hiding this comment.
how does "upload a PDF to a AI assistant" works? is there a screenshot or video that we can show?
There was a problem hiding this comment.
I can record a video, yes. Adding as a todo for later in the process - want to get the text part polished first
There was a problem hiding this comment.
Added the video in 4a997d1. Due to edits I made to the content in this section, I chose to put the video a bit lower on the page. I feel strongly that placing it under this text is not the best place for it, given the additional content I've added since you reviewed.
Closes: #210
Closes: #322
Closes: #432