AnyVar Client Configuration
AnyVLM employs an AnyVar for internal variant storage. AnyVLM defines an internal client abstraction to either connect to AnyVar via HTTP request (HttpAnyVarClient) or by instantiating the AnyVar within the AnyVLM process (PythonAnyVarClient). The client instance is constructed by the create_anyvar_client() factory function which references the ANYVAR_URI environmental variable to determine the kind of client.
If
ANYVAR_URIlooks like an HTTP URL (i.e. it starts with"http://"or"https://"), then anHTTP-based clientis constructedOtherwise, a
clientwill create and manage an AnyVar instance directly within the current process. This can be configured further by AnyVar’s own environment variable-based config system. See the AnyVar docs for more information.