All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.functions.openai.annotation.assistant.AssistantQuery Maven / Gradle / Ivy

/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */

package com.microsoft.azure.functions.openai.annotation.assistant;

import com.microsoft.azure.functions.annotation.CustomBinding;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 

* Assistant query input attribute which is used query the Assistant to get current state. *

* * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) @CustomBinding(direction = "in", name = "", type = "assistantQuery") public @interface AssistantQuery { /** * The variable name used in function.json. * * @return The variable name used in function.json. */ String name(); /** * The ID of the Assistant to query. * * @return The ID of the Assistant to query. */ String id(); /** * The timestamp of the earliest message in the chat history to fetch. * The timestamp should be in ISO 8601 format - for example, 2023-08-01T00:00:00Z. * * @return The timestamp of the earliest message in the chat history to fetch. */ String timestampUtc(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy