Skip to content

Commit

Permalink
chore: update public.api
Browse files Browse the repository at this point in the history
  • Loading branch information
thatfiredev committed Dec 13, 2023
1 parent 2b8eced commit be81e5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generativeai/public.api
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public final class com/google/ai/client/generativeai/GenerativeModel {
public abstract class com/google/ai/client/generativeai/java/ChatFutures {
public static final field Companion Lcom/google/ai/client/generativeai/java/ChatFutures$Companion;
public static final fun from (Lcom/google/ai/client/generativeai/Chat;)Lcom/google/ai/client/generativeai/java/ChatFutures;
public abstract fun getHistory ()Ljava/util/ArrayList;
public abstract fun getChat ()Lcom/google/ai/client/generativeai/Chat;
public abstract fun sendMessage (Lcom/google/ai/client/generativeai/type/Content;)Lcom/google/common/util/concurrent/ListenableFuture;
public abstract fun sendMessageStream (Lcom/google/ai/client/generativeai/type/Content;)Lorg/reactivestreams/Publisher;
}
Expand All @@ -50,6 +50,7 @@ public abstract class com/google/ai/client/generativeai/java/GenerativeModelFutu
public static final fun from (Lcom/google/ai/client/generativeai/GenerativeModel;)Lcom/google/ai/client/generativeai/java/GenerativeModelFutures;
public abstract fun generateContent ([Lcom/google/ai/client/generativeai/type/Content;)Lcom/google/common/util/concurrent/ListenableFuture;
public abstract fun generateContentStream ([Lcom/google/ai/client/generativeai/type/Content;)Lorg/reactivestreams/Publisher;
public abstract fun getGenerativeModel ()Lcom/google/ai/client/generativeai/GenerativeModel;
public abstract fun startChat ()Lcom/google/ai/client/generativeai/java/ChatFutures;
public abstract fun startChat (Ljava/util/List;)Lcom/google/ai/client/generativeai/java/ChatFutures;
}
Expand Down

0 comments on commit be81e5f

Please sign in to comment.