Class SceneAgent

java.lang.Object
org.vrspace.server.connect.ollama.SceneAgent

@Component @ConditionalOnBean(OllamaConfig.class) @ConditionalOnProperty(name="org.vrspace.ollama.agents", havingValue="true") public class SceneAgent extends Object
Scene agent has access to the scene of the client. Uses ContextHelper to build the description of the visible part of the world, and uses it as the context to answer the user query.
Author:
joe
  • Constructor Details

    • SceneAgent

      public SceneAgent()
  • Method Details

    • query

      public String query(Client client, String query, org.springframework.ai.chat.memory.ChatMemory memory, String conversationId)