{"id":26988,"library":"fhlmi","title":"FHLMI Client","description":"A Python client library for providing LLM responses to FutureHouse applications. Currently at version 0.46.0, targeting Python >=3.11. Under active development with frequent releases.","status":"active","version":"0.46.0","language":"python","source_language":"en","source_url":"https://github.com/futurehouse/fhlmi","tags":["llm","client","api","futurehouse"],"install":[{"cmd":"pip install fhlmi","lang":"bash","label":"latest"}],"dependencies":[{"reason":"HTTP client for async requests","package":"aiohttp","optional":false},{"reason":"Data validation and settings","package":"pydantic","optional":false}],"imports":[{"wrong":"from fhlmi import FHLMIClient","symbol":"LLMModel","correct":"from fhlmi.lmi import LLMModel"},{"wrong":"from fhlmi import FHLMIClient","symbol":"EmbeddingModel","correct":"from fhlmi.lmi import EmbeddingModel"},{"wrong":"from fhlmi import FHLMIClient","symbol":"LLMResult","correct":"from fhlmi.lmi import LLMResult"}],"quickstart":{"code":"from fhlmi import FHLMIClient\nimport os\n\nclient = FHLMIClient(api_key=os.environ.get('FHLMI_API_KEY', ''))\nresponse = client.chat([{\"role\": \"user\", \"content\": \"Hello\"}])\nprint(response)","lang":"python","description":"Initialize client with API key and send a chat message."},"warnings":[{"fix":"Use `response.content` instead of treating the response as a string.","message":"The `.chat()` method changed from returning plain text to returning a pydantic model in 0.40.0. Access `.content` for the response text.","severity":"breaking","affected_versions":"<0.40.0"},{"fix":"Replace `model=` with `model_name=`.","message":"The `model` parameter in `chat()` is deprecated as of 0.45.0. Use `model_name` instead.","severity":"deprecated","affected_versions":">=0.45.0"},{"fix":"Ensure your runtime uses Python >=3.11.","message":"The client requires Python 3.11 or later. Installing on older Python versions will fail silently or produce cryptic errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.46.0':17 '3.11':20 'activ':22 'api':29 'applic':13 'client':2,5,28 'current':14 'develop':23 'fhlmi':1 'frequent':25 'futurehous':12,30 'librari':6 'llm':9,27 'provid':8 'python':4,19 'releas':26 'respons':10 'target':18 'version':16","created_at":"2026-05-01T17:43:55.347519+00:00","updated_at":"2026-05-01T17:43:55.347519+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'fhlmi'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/Future-House/ldp","docs":null,"changelog":null,"pypi":"https://pypi.org/project/fhlmi/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}