-
Notifications
You must be signed in to change notification settings - Fork 304
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
fix: anthropic documents in prompt #184
base: main
Are you sure you want to change the base?
fix: anthropic documents in prompt #184
Conversation
531bd39
to
0466515
Compare
Rebased with main |
This form of document serialization sorta bypasses the general pattern that is used via the Specifically for anthropic, it seems like you can (now?) pass documents as a type of content in a user message. It might be more suitable to use this method (albeit, contradicting with it's own user guides?) for passing documents to anthropic? Curious if you saw this and had thoughts? |
It seems that the API only supports PDFs in this case - the API docs only show ![]() BTW I watched this video on prompting Claude yesterday. The guy mentions that Claude understand XML better (because apparently it has been trained on a lot of XML 🤷 ) and it doesn't necessarily matter what tags you use as long as they are meaningful and separate stuff in the prompt (so it's also a good idea to use sth like ). I'm writing all that just to say that the original you used isn't bad at all 😄 |
0466515
to
d87220d
Compare
It looks like the test failed because we're missing an API key. cc @0xMochan |
This PR needs to rebase / merge w/ main for the CI/CD to update. |
Resolves #183