Package 

Interface PromptResponseOrBuilder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLiteOrBuilder

    
    public interface PromptResponseOrBuilder
     implements MessageLiteOrBuilder
                        
    • Method Summary

      Modifier and Type Method Description
      abstract String getContent()
      Prompt Content
      
      string content = 1;
      abstract ByteString getContentBytes()
      Prompt Content
      
      string content = 1;
      abstract int getRequestTokens()
      Number of tokens used for the prompt request
      
      uint32 request_tokens = 2;
      abstract int getResponseTokens()
      Number of tokens used for the prompt response
      
      uint32 response_tokens = 3;
      abstract int getRequestDuration()
      Request duration
      
      uint32 request_duration = 4;
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getContentBytes

         abstract ByteString getContentBytes()
        Prompt Content
        
        string content = 1;
      • getRequestTokens

         abstract int getRequestTokens()
        Number of tokens used for the prompt request
        
        uint32 request_tokens = 2;
      • getResponseTokens

         abstract int getResponseTokens()
        Number of tokens used for the prompt response
        
        uint32 response_tokens = 3;
      • getRequestDuration

         abstract int getRequestDuration()
        Request duration
        
        uint32 request_duration = 4;