Skip to content

Commit

Permalink
PDF Beta support (#10)
Browse files Browse the repository at this point in the history
* Pdf support

* Remove formatting
  • Loading branch information
DavidSnoble authored Nov 20, 2024
1 parent 7a5ddec commit c416224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/anthropix.ex
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ defmodule Anthropix do

schema :chat_message_content, [
type: [
type: {:in, ["text", "image", "tool_use", "tool_result"]},
type: {:in, ["text", "image", "tool_use", "tool_result", "document"]},
required: true,
],
# text type
Expand Down Expand Up @@ -300,6 +300,7 @@ defmodule Anthropix do
@default_beta_tokens [
"prompt-caching-2024-07-31",
"message-batches-2024-09-24",
"pdfs-2024-09-25",
]

@doc """
Expand Down

0 comments on commit c416224

Please sign in to comment.