Skip to content

Commit

Permalink
initial readme and API update
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Dec 16, 2024
1 parent 862d2ab commit 45cac79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# xemantic-ai-file-magic
Detecting file content type before submitting binary content to LLM

> [!NOTICE] documentation will follow
2 changes: 1 addition & 1 deletion api/xemantic-ai-file-magic.api
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ public final class com/xemantic/ai/file/magic/ContentType$Companion {
}

public final class com/xemantic/ai/file/magic/ContentTypeKt {
public static final fun detectContentType (Lkotlinx/io/files/Path;)Lcom/xemantic/ai/file/magic/ContentType;
public static final fun detectContentType ([B)Lcom/xemantic/ai/file/magic/ContentType;
public static final fun startsWith ([B[Ljava/lang/String;)Z
public static final fun startsWith-VU-fvBY ([B[B)Z
}

public final class com/xemantic/ai/file/magic/PathsKt {
public static final fun detectContentType (Lkotlinx/io/files/Path;)Lcom/xemantic/ai/file/magic/ContentType;
public static final fun readText (Lkotlinx/io/files/Path;)Ljava/lang/String;
public static final fun toBytes (Lkotlinx/io/files/Path;)[B
}
Expand Down

0 comments on commit 45cac79

Please sign in to comment.