Automatic rare disease extraction based on large language models