{"id":18395854,"url":"https://github.com/deepset-ai/haystack-client-py","last_synced_at":"2025-08-02T01:39:21.703Z","repository":{"id":46223978,"uuid":"362395573","full_name":"deepset-ai/haystack-client-py","owner":"deepset-ai","description":"Simple Python client to interact with Haystack and Haystack Hub instances to embed search functionality in other applications. ","archived":false,"fork":false,"pushed_at":"2021-11-05T17:02:10.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-12T15:14:26.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepset-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-28T08:33:28.000Z","updated_at":"2021-11-05T17:02:13.000Z","dependencies_parsed_at":"2022-09-11T02:00:53.931Z","dependency_job_id":null,"html_url":"https://github.com/deepset-ai/haystack-client-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepset-ai/haystack-client-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fhaystack-client-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fhaystack-client-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fhaystack-client-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fhaystack-client-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepset-ai","download_url":"https://codeload.github.com/deepset-ai/haystack-client-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fhaystack-client-py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326398,"owners_count":24232473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T02:12:10.129Z","updated_at":"2025-08-02T01:39:21.640Z","avatar_url":"https://github.com/deepset-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# haystack-client-py\nSimple Python client to interact with Haystack and Haystack Hub instances to embed search functionality in other applications. \n\n\u003e :warning: This project is in active development and is not yet ready for use.\n\n### Example\n\n```\n\nfrom haystack_client import HaystackClient, HaystackHubClient\n\n# Choose between open-source and SaaS deployments\nclient = HaystackClient(host=\"http://localhost:8000\")\n# client = HaystackHubClient(user=\"some_user\", password=\"some_pass\")\n\n# Get docs\ndocs = client.get_documents()\n# print results\nfor d in docs[:2]:\n    print(d.content)\n\n# Run a search query\nanswers = client.search(query=\"Who is the father of Arya Stark?\", params={})\nprint(answers)\n\n# Returns:\n# {'answers': [{'answer': 'Ned',\n#               'context': '\\n'\n#                          '====Season 1====\\n'\n#                          'Arya accompanies her father Ned and her sister Sansa '\n#                          \"to King's Landing. Before their departure, Arya's \"\n#                          'half-brother Jon Snow gifts A',\n#               'document_id': '180c2a6b36369712b361a80842e79356',\n#               'meta': {'name': '43_Arya_Stark.txt'},\n#               'offsets_in_context': [{'end': 49, 'start': 46}],\n#               'offsets_in_document': [{'end': 49, 'start': 46}],\n#               'score': 0.9767240881919861,\n#               'type': 'extractive'},\n# ...\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepset-ai%2Fhaystack-client-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepset-ai%2Fhaystack-client-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepset-ai%2Fhaystack-client-py/lists"}