Class AsyncRawCommentsClient
java.lang.Object
com.langfuse.client.resources.comments.AsyncRawCommentsClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateCommentRequest request) Create a comment.create(CreateCommentRequest request, RequestOptions requestOptions) Create a comment.get()Get all commentsget(RequestOptions requestOptions) Get all commentsget(GetCommentsRequest request) Get all commentsget(GetCommentsRequest request, RequestOptions requestOptions) Get all commentsGet a comment by idgetById(String commentId, RequestOptions requestOptions) Get a comment by id
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncRawCommentsClient
-
-
Method Details
-
create
public CompletableFuture<LangfuseClientHttpResponse<CreateCommentResponse>> create(CreateCommentRequest request) Create a comment. Comments may be attached to different object types (trace, observation, session, prompt). -
create
public CompletableFuture<LangfuseClientHttpResponse<CreateCommentResponse>> create(CreateCommentRequest request, RequestOptions requestOptions) Create a comment. Comments may be attached to different object types (trace, observation, session, prompt). -
get
Get all comments -
get
public CompletableFuture<LangfuseClientHttpResponse<GetCommentsResponse>> get(RequestOptions requestOptions) Get all comments -
get
public CompletableFuture<LangfuseClientHttpResponse<GetCommentsResponse>> get(GetCommentsRequest request) Get all comments -
get
public CompletableFuture<LangfuseClientHttpResponse<GetCommentsResponse>> get(GetCommentsRequest request, RequestOptions requestOptions) Get all comments -
getById
Get a comment by id -
getById
public CompletableFuture<LangfuseClientHttpResponse<Comment>> getById(String commentId, RequestOptions requestOptions) Get a comment by id
-