Class UnitySpaceStationLLMServiceProvider
java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.llm.LLMServiceProvider
edu.tufts.hrilab.llm.serviceproviders.UnitySpaceStationLLMServiceProvider
-
Field Summary
Fields inherited from class edu.tufts.hrilab.llm.LLMServiceProvider
agentHierarchy, conversationMappings, counter, currentConversations, language, learnedActions, trackDialogueHistory, trackLearnedActionsFields inherited from class edu.tufts.hrilab.diarc.DiarcComponent
executionLoopCycleTime, shouldRunExecutionLoop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcapitalize(String str) convertSemanticsToTextLLMService(Utterance utterance) convertSemanticsToTextLLMService(Utterance utterance, boolean streamingGeneration) fromFullTube(Symbol fullTube) static SymbolgetTubeNumber(Symbol tubeCombined) static SymbolgetTubeSide(Symbol tubeCombined) booleaninExtendedParseLoop(Symbol user, Symbol agentTeam) protected voidinit()Perform any component initialization.parseUtteranceLLMService(Utterance utterance) parseUtteranceLLMService(Utterance utterance, boolean streamingGeneration) resolveReferenceLLM(Symbol location) voidstylizeUnitySpeak(Symbol original) static SymboltoFullTube(Symbol area, Symbol side, Symbol number) static Stringstatic SymboltoTubeNumber(Symbol side, Symbol number) Methods inherited from class edu.tufts.hrilab.llm.LLMServiceProvider
callChatEndpoint, clearConversationHistory, endLLMConversation, endLLMConversation, endLLMConversation, endLLMConversation, executionLoop, getConversationHistory, getConversationHistory, getDescendants, getLLMConversationLength, getUntypedSymbol, handleDatabaseAddition, handleDatabaseRemoval, initLearnedActions, registerForNotifications, setLanguage, shutdownComponent, startLLMConversation, startLLMConversation, startLLMConversation, updateLLMConversationHistoryMethods inherited from class edu.tufts.hrilab.diarc.DiarcComponent
additionalUsageInfo, attachShutdownHook, createInstance, createInstance, createInstance, getMyGroupConstraints, getMyGroups, getMyService, getMyServices, main, parseArgs, postRegistrationInit, shutdown
-
Constructor Details
-
UnitySpaceStationLLMServiceProvider
public UnitySpaceStationLLMServiceProvider()
-
-
Method Details
-
init
protected void init()Description copied from class:DiarcComponentPerform any component initialization. This should not be used for setting local fields to default values as was the case in DIARC. This method is called after the constructor, and after parseArgs. Setting default values should be done in field declaration or in the constructor.- Overrides:
initin classLLMServiceProvider
-
convertSemanticsToTextLLMService
- Specified by:
convertSemanticsToTextLLMServicein classLLMServiceProvider
-
convertSemanticsToTextLLMService
- Specified by:
convertSemanticsToTextLLMServicein classLLMServiceProvider
-
inExtendedParseLoop
- Specified by:
inExtendedParseLoopin classLLMServiceProvider
-
parseUtteranceLLMService
- Specified by:
parseUtteranceLLMServicein classLLMServiceProvider
-
parseUtteranceLLMService
- Specified by:
parseUtteranceLLMServicein classLLMServiceProvider
-
toSpoken
-
capitalize
-
toFullTube
-
toTubeNumber
-
getTubeSide
-
getTubeNumber
-
fromFullTube
-
stylizeUnitySpeak
-
resolveReferenceLLM
-