You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vaadin-ai-components-flow-parent/vaadin-ai-components-flow/src/main/java/com/vaadin/flow/component/ai/provider/LLMProviderHelpers.java
+6-40Lines changed: 6 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -27,44 +27,7 @@
27
27
* <p>
28
28
* Intended only for internal use and can be removed in the future.
29
29
*/
30
-
publicfinalclassLLMProviderHelpers {
31
-
32
-
/**
33
-
* Supported content type categories for attachments.
34
-
*/
35
-
publicenumAttachmentContentType {
36
-
/** Image content types (image/*). */
37
-
IMAGE,
38
-
/** Text content types (text/*). */
39
-
TEXT,
40
-
/** PDF content types (application/pdf, application/x-pdf). */
41
-
PDF,
42
-
/** Unsupported or unknown content types. */
43
-
UNSUPPORTED;
44
-
45
-
/**
46
-
* Detects the content type category from a MIME type string.
47
-
*
48
-
* @param contentType
49
-
* the MIME content type
50
-
* @return the corresponding category, or {@code UNSUPPORTED} if not
Copy file name to clipboardExpand all lines: vaadin-ai-components-flow-parent/vaadin-ai-components-flow/src/main/java/com/vaadin/flow/component/ai/provider/LangChain4JLLMProvider.java
+39-17Lines changed: 39 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,8 @@
13
13
* License for the specific language governing permissions and limitations under
0 commit comments